OpenVZ hungry for resources? [message #11250] |
Fri, 16 March 2007 08:09 |
slybob
Messages: 20 Registered: March 2007
|
Junior Member |
|
|
Hi,
Ive been running openVZ under Debian on my old 1.8Ghz Celeron with 512 mb of ram for about a month. all VE's are ubuntu-6.06-i386-minimal. Daisy and buttercup are both www servers.
debian:~# vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
101 5 running 192.168.0.101 ns.moonet.co.uk
102 - stopped 192.168.0.102 daisy.moonet.co.uk
110 - stopped 192.168.0.110 ssl.moonet.co.uk
111 24 running 192.168.0.111 buttercup.moonet.co.uk
I'm getting some wierdness from apache on VEID 111 when I have all four VE's running. It seems to ignore the virtual hosts I have set up, reverting to factory mode. i.e http://192.168.0.111 will bring up /var/www/. getting it to serve to the several domains I have pointing at it. fails. Mysql is grumping too. When I shutdown 102 and 110 and restart apache on 111 everything seems tickety boo.
Apologies for my incoherent ramblings, I think this might be a problem with resources. Anyone with any bright ideas?
Thanks
Andy
How I learned to stop worrying and love SMTP
http://www.moonet.co.uk/
[Updated on: Fri, 16 March 2007 08:13] Report message to a moderator
|
|
|
|
|
|
Re: OpenVZ hungry for resources? [message #11259 is a reply to message #11252] |
Fri, 16 March 2007 10:24 |
slybob
Messages: 20 Registered: March 2007
|
Junior Member |
|
|
tcprcvbuf 0 4100 319488 524288 0
othersockbuf 130552 133376 132096 336896 180
dgramrcvbuf 0 0 132096 132096 0
I think we have a suspect. Is this anything to do with the
vzctl set 101 --numothersock 120 --save
??
Thanks, Andy
How I learned to stop worrying and love SMTP
http://www.moonet.co.uk/
|
|
|
Re: OpenVZ hungry for resources? [message #11264 is a reply to message #11251] |
Fri, 16 March 2007 11:38 |
slybob
Messages: 20 Registered: March 2007
|
Junior Member |
|
|
Ive been digging a little more, i would seem that the problem is with mysql apache's working for html pages but is falling over when asked to look at a database, as is webmin.
Cant find any errors in the logs for mysql tho
How I learned to stop worrying and love SMTP
http://www.moonet.co.uk/
|
|
|
Re: OpenVZ hungry for resources? [message #11355 is a reply to message #11250] |
Tue, 20 March 2007 21:55 |
sPENKMAN
Messages: 7 Registered: March 2007 Location: Arnhem, Netherlands
|
Junior Member |
|
|
Apache is not able to start any childs which should process your requests. I had the same and solved it by increasing the privvmpages parameter.
What is your output of "cat /proc/user_beancounters" (execute within the VE)?
When you think you have fixed it, something else will fail soon enough
|
|
|
|
|
Re: OpenVZ hungry for resources? [message #11360 is a reply to message #11359] |
Tue, 20 March 2007 23:14 |
slybob
Messages: 20 Registered: March 2007
|
Junior Member |
|
|
phew,too right. Been banging me head against a wall all day with Open-Xchange - till I looked at the numbers. Is there any kind of tool that keeps an eye on the beancounter? some kind of gui to show you how the resources are being allocated?
Andy
How I learned to stop worrying and love SMTP
http://www.moonet.co.uk/
|
|
|
|
|