[Users] Hornet Queue (jboss) vs sever resource shortage

Dariush Pietrzak ml-openvz-eyck at kuszelas.eu
Thu Mar 22 12:12:15 EDT 2012


> xmalloc: ../bash/make_cmd.c:100: cannot allocate 519 bytes (2076672 bytes allocated)

And here's excerpt from top ( running on HN ):

Mem:  32942724k total,  5930724k used, 27012000k free,      528k buffers
Swap:  8388600k total,        0k used,  8388600k free,  1864140k cached

    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  76750 nn12      20   0 4621m 1.2g  10m S    1  3.7   2:40.11 java -Ddata.dir=/var/spool/ss/queue/hot/server0-data -Djnp.port=1099 -Djnp.rmiPort=1098 -Djnp.host=myhost.cc -Dhornetq.remoting.netty.host=myhost.cc -Dhornetq.remoting.netty.port=5445 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticat
  76876 nn12      20   0 4632m 1.0g  10m S    1  3.3   2:15.22 java -Ddata.dir=/var/spool/ss/queue/hot/server1-data -Djnp.port=1199 -Djnp.rmiPort=1198 -Djnp.host=myhost.cc -Dhornetq.remoting.netty.hos

to verify that all that memory really is available, i ran:
dd if=/dev/zero of=/dev/null bs=1G 
( and then 2G, 4G )
and as can be seen here, it works:

Mem:  32942724k total,  8034640k used, 24908084k free,      528k buffers
Swap:  8388600k total,        0k used,  8388600k free,  1864276k cached

    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 118477 root      20   0 4107m 2.0g  504 R  100  6.4   0:10.60 dd if=/dev/zero of=/dev/null bs=4G 
  76750 nn12      20   0 4621m 1.2g  10m S    1  3.7   2:41.35 java -Ddata.dir=/var/spool

 but the HN can't allocate anything. I'm baffled. What kind of memory shortage can cause
such symptoms?

regards, Eyck
-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure


More information about the Users mailing list