Hi
I have some problems with memory allocation. On ve104 I have java+apache+tomcat, when I tested 100 simultanios users: fork: Could not allocate memory.
HostMachine: Intel Core2 CPU 6400 @ 2.13GHz / 4Gb / SCSI 320Gbx2 / RAID / Debian 4.1.1-21;
There are 5 VE's.
Linux version 2.6.18-ovz-028stab053.5-smp
Debian 4.1.1-21
# vzctl exec 104 cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
104: kmemsize 5422544 15397142 165351424 181886566 3061
lockedpages 0 0 8073 8073 0
privvmpages 222579 426238 605535 666088 21
shmpages 20 3380 60553 60553 0
dummy 0 0 0 0 0
numproc 103 228 4036 4036 0
physpages 45463 89047 0 9223372036854775807 0
vmguarpages 0 0 605535 9223372036854775807 0
oomguarpages 45463 89047 605535 9223372036854775807 0
numtcpsock 21 316 4036 4036 0
numflock 5 10 1000 1100 0
numpty 0 5 403 403 0
numsiginfo 0 158 1024 1024 0
tcpsndbuf 364896 1073840 38585685 55117141 0
tcprcvbuf 344064 1665552 38585685 55117141 0
othersockbuf 130872 170432 19292842 35824298 0
dgramrcvbuf 0 16880 19292842 19292842 0
numothersock 87 120 4036 4036 0
dcachesize 0 0 36112403 37195776 0
numfile 2459 3315 64576 64576 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 200 200 0
[Updated on: Wed, 25 March 2009 08:22]
Report message to a moderator