OpenVZ Forum


Home » General » Support » Memory problem, please help
Memory problem, please help [message #9981] Thu, 01 February 2007 20:02 Go to previous message
pennywize is currently offline  pennywize
Messages: 7
Registered: November 2006
Junior Member
Hello,

I am running openVZ at a 256MB dedicated server.
I want install an apache2 VE with 128MB RAM and an SQL Server at 2nd VE with 64MB RAM memory.
OK, back to point. VE #101 contains apache2 installment (Debian Sarge). Always appears in logs a message like this
(12)Cannot allocate memory: apr_thread_create: unable to create worker thread


My setup for that VE is this:

vzctl set 101 --privvmpages 32768:34000 --save


user_beancounters looks like this:

cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      101:  kmemsize         390061     999538    2752512    2936012          0
            lockedpages           0          0         32         32          0
            privvmpages        1062      32917      32768      34000         13
            shmpages              0         52       8192       8192          0
            dummy                 0          0          0          0          0
            numproc               7         29         65         65          0
            physpages           692       1492          0 2147483647          0
            vmguarpages           0          0       6144 2147483647          0
            oomguarpages        692       1492       6144 2147483647          0
            numtcpsock            1          2         80         80          0
            numflock              1          2        100        110          0
            numpty                1          1         16         16          0
            numsiginfo            0          2        256        256          0
            tcpsndbuf             0          0     319488     524288          0
            tcprcvbuf             0          0     319488     524288          0
            othersockbuf       2232       2928     132096     336896          0
            dgramrcvbuf           0          0     132096     132096          0
            numothersock          1          4        120        120          0
            dcachesize            0          0    1048576    1097728          0
            numfile             133        592       2048       2048          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10        128        128          


Its environment is a Debian Etch with Kernel 2.6.18-1-openvz
Memory: 256. I know it isnĀ“t very much but it is there for testing purposes only. My boss want see openVZ in action and may to find an alternative to chroot areas and/or Xen.
Xen is running fine without probs with these memory settings.
The SQL VE should have 64MB RAM. Any hints about how to set up proper entries for RAM to each VE?

Many thanks for your help

Jasmin

[Updated on: Thu, 01 February 2007 20:03]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with install
Next Topic: bridge-eth0
Goto Forum:
  


Current Time: Fri Nov 15 23:05:41 GMT 2024

Total time taken to generate the page: 0.03204 seconds