View Single Post

   
  #1 (permalink)  
Old 01-16-2008, 07:56 AM
Piotr Klaban
 
Posts: n/a
Default how much RAM do I need for ...

Hi,

I have a Sun E450 box with 1 GB of RAM.
Do you think that this is enough for properly working
services:

listserv 125M resident RAM
squid 110M (I lowered it from 200 MB because of memory problems)
httpd 15x10M
innd 100M (innd) + 20x3M res (nnrpd)
mail postfix + antivir (30M) + spamassassin (10M res)
+ mysql, bind, and other system services (syslog, cron etc.).

With 'set priority_paging=1' in /etc/system the kernel sometimes
killed processes because of RAM overload. Is it normal? Should
I live with default value of priority_paging, or try to enhance RAM?

Here is some output from RMCmem package:

# prtmem

Total memory: 976 Megabytes
Kernel Memory: 175 Megabytes (this growing up >200M)
Application: 481 Megabytes
Executable & libs: 26 Megabytes
File Cache: 127 Megabytes
Free, file cache: 146 Megabytes
Free, free: 21 Megabytes

# prtswap

Virtual Swap:
---------------------------------------------------------------
Total Virtual Swap Configured: 1946MB
Total Virtual Swap Reserved: 712MB
Total Virtual Swap Free: (programs will fail if 0) 1234MB


Physical Swap Utilization: (pages swapped out)
---------------------------------------------------------------
Physical Swap Configured: 1274MB
Physical Swap Free (programs will be locked in if 0): 1274MB

Best regards,

--
Piotr Klaban
Reply With Quote