Hi,
Whhooaaahhh!!! OK, it is going to take me some time to understand that forum link, but in the meantime these are the numbers I get when I run that command.
root@tiger [~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
123: kmemsize 9522522 22491483 41943040 44711280 0
lockedpages 0 0 128 128 0
privvmpages 145351 274549 262144 393216 9136825
shmpages 1371 3115 8192 8192 0
dummy 0 0 0 0 0
numproc 83 222 500 500 0
physpages 88649 183981 0 2147483647 0
vmguarpages 0 0 262144 2147483647 0
oomguarpages 89805 212711 65536 2147483647 0
numtcpsock 28 79 800 800 0
numflock 9 37 100 110 0
numpty 2 2 16 16 0
numsiginfo 0 77 256 256 0
tcpsndbuf 254904 630552 3194880 5242880 0
tcprcvbuf 396152 761768 3194880 5242880 0
othersockbuf 40248 676272 1320960 3368960 0
dgramrcvbuf 0 130556 1320960 1320960 0
numothersock 34 74 800 800 0
dcachesize 0 0 5242880 5488640 0
numfile 2716 5614 12800 12800 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 276 280 500 500 0
Now all I can really see from this is that I have a really high failcount on privvmpages. But I can't see what is causing it? Now according to the top command the node has 2Gb of memory, but how many
VPS Hostings is this shared between? How does the guaranteed memory allocation work (e.g.you could only 'fit' 8
VPS Hosting-01s on a 2Gb server if they all had 256Mb guaranteed, and that doesn't leave any space for 'bursting' unless you are bursting into the other users guaranteed space).
You have already increased my memory for me from 256 to 384, but it doesn't seem to have made any difference. Is there a way of resetting the counters for this file so we can se if there are any new failcounts in case it is just showing us old ones?
What is actually happening when a failcount occurs? Can processes get hung if this happens, there by not releasing their memory back to the
VPS Hosting? In my earlier list of everything in the 'top' command there were 75 processes of which 74 were sleeping, but the server was still showing a memory usage fo just under 80%?
We are getting there, but I still can't really see how I can diagnose what is using all the memory when I go above 80%.
Regards
Paul