[ATrpms-users] dl.atrpms.net down?
John Robinson
john.robinson at anonymous.org.uk
Fri May 2 00:26:54 CEST 2008
On 01/05/2008 22:57, Axel Thimm wrote:
> On Thu, May 01, 2008 at 10:46:34PM +0100, John Robinson wrote:
>> Apache isn't really all that much of a memory hog.
[...]
> top says ~500m VIRT
Eh? 500m each? WT* are you doing with your Apache config?
> and ~60m RES, I take it that each process eats
> about 60m.
Nope. Have a look at SHR, you can subtract all that too. Even then it's
probably over; try some experiments with ps and adding up what it says:
[john at hole ~]$ ps -e --no-headers -o vsz|(j=0; while read i ; do j=`expr
$i + $j` ; done ; echo $j)
882096
[john at hole ~]$ ps -e --no-headers -o rsz|(j=0; while read i ; do j=`expr
$i + $j` ; done ; echo $j)
414288
[john at hole ~]$ free
total used free shared buffers cached
Mem: 524432 518904 5528 0 14684 215960
-/+ buffers/cache: 288260 236172
Swap: 524280 560 523720
or on another box:
[john at out ~]$ ps -e --no-headers -o vsz|(j=0; while read i ; do j=`expr
$i + $j` ; done ; echo $j)
4060412
[john at out ~]$ ps -e --no-headers -o rsz|(j=0; while read i ; do j=`expr
$i + $j` ; done ; echo $j)
1001584
[john at out ~]$ free
total used free shared buffers cached
Mem: 970360 959028 11332 0 5020 349696
-/+ buffers/cache: 604312 366048
Swap: 983032 472 982560
Doesn't make sense to me...
Cheers,
John.
More information about the atrpms-users
mailing list