fork: Cannot allocate memory
sometimes i have..
-bash: fork: Cannot allocate memory
04:32:17 up 2 days, 17:05, 2 users, load average: 2.37, 4.27, 5.61
162 processes: 159 sleeping, 1 running, 2 zombie, 0 stopped
CPU states: 25.6% user 9.3% system 0.0% nice 0.0% iowait 65.0% idle
Mem: 1548124k av, 1493692k used, 54432k free, 0k shrd, 498812k buff
570788k active, 638212k inactive
Swap: 2096472k av, 855028k used, 1241444k free 244900k cached
162 processes: 159 sleeping, 1 running, 2 zombie, 0 stopped
CPU states: 25.6% user 9.3% system 0.0% nice 0.0% iowait 65.0% idle
Mem: 1548124k av, 1493692k used, 54432k free, 0k shrd, 498812k buff
570788k active, 638212k inactive
Swap: 2096472k av, 855028k used, 1241444k free 244900k cached
sometimes load avg. i have 20.0, 15.0... and then i have fork error ...
most active serive is APACHE (version2.0.40)..
so how to optimize apache2 ?
maybe update apache2 to 2.0.50 ? (with php+mysql), anybody have links to howto update ? step by step for noob
