OpenVZ Forum


Home » General » Support » can't allocate memory
can't allocate memory [message #12265] Mon, 23 April 2007 16:15 Go to previous message
sander19 is currently offline  sander19
Messages: 2
Registered: April 2007
Junior Member
I think I have something wrong, I'm constantly getting memory exhausted errors and stuff, can't allocated memory blabla.

I just try to do some silly commmands but all have too little memory.

I understood that the privvmpages were the amount that a process can take. I've put this high enough but still it's hitting the limits. What am I doing wrong ?

Below you can find my specs:

client w:
root@*****:/# w
Inconsistency detected by ld.so: dl-minimal.c: 84: __libc_memalign: Assertion `page != ((void *) -1)' failed!


server vzctl:

*******:/home/sander# vzctl enter 101
entered into VE 101
Inconsistency detected by ld.so: dl-minimal.c: 84: __libc_memalign: Assertion `page != ((void *) -1)' failed!


client top:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
26225 clamav    16   0 51016  38m  928 S  0.0  3.8   0:02.04 clamd
26223 amavis    16   0 36032  30m 2188 S  0.0  3.1   0:00.41 amavisd-new
26224 amavis    16   0 35876  30m 2188 S  0.0  3.0   0:00.23 amavisd-new
26207 amavis    16   0 35112  29m 2156 S  0.0  3.0   0:00.27 amavisd-new
26347 mysql     16   0  117m  24m 4812 S  0.0  2.4   0:18.13 mysqld
32526 www-data  16   0 24148  13m 2948 S  0.0  1.3   0:08.88 apache2
32177 www-data  16   0 23472  12m 3056 S  0.0  1.3   0:12.82 apache2
28585 www-data  15   0 23204  12m 3180 S  0.0  1.3   0:06.16 apache2
30533 www-data  16   0 23156  12m 3200 S  0.0  1.3   0:03.45 apache2
32525 www-data  16   0 23172  12m 2956 S  0.0  1.2   0:00.45 apache2
32529 www-data  15   0 23052  12m 2832 S  0.0  1.2   0:00.19 apache2
32528 www-data  16   0 18440 8172 2996 S  0.0  0.8   0:00.34 apache2


server beancounters:

Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
       101: kmemsize        4252389    5210322    7752512    8936012          0
            lockedpages           0          5         32         32          0
            privvmpages       96595     105237      98304     131000       2672
            shmpages            702       1998       8192       8192          0
            dummy                 0          0          0          0          0
            numproc              58         73        128        128          6
            physpages         48643      54437          0 2147483647          0
            vmguarpages           0          0      98304 2147483647          0
            oomguarpages      48643      54437     100196 2147483647          0
            numtcpsock           16         59         80         80          0
            numflock             10         21        100        110          0
            numpty                1          3         16         16          0
            numsiginfo            0         26        256        256          0
            tcpsndbuf          6708     297388     319488     524288          0
            tcprcvbuf          4472     175312     319488     524288          0
            othersockbuf     172172     425560    1585883    2937563        137
            dgramrcvbuf           0      20124     132096     132096          0
            numothersock        122        144        520        520        307
            dcachesize            0          0    1048576    1097728          0
            numfile            1423       1731       2048       2048          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            30         90        128        128          0


Free command server:

             total       used       free     shared    buffers     cached
Mem:       1029844    1017256      12588          0     115040     176528
-/+ buffers/cache:     725688     304156
Swap:      4000168       2072    3998096

[Updated on: Mon, 23 April 2007 16:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: list of packages needed for compling
Next Topic: *SOLVED* control-C ignored in VE ??
Goto Forum:
  


Current Time: Wed Nov 06 11:08:42 GMT 2024

Total time taken to generate the page: 0.03399 seconds