HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Running "top" on a System with Multiple Virtual Machines (http://www.howtoforge.com/forums/showthread.php?t=60366)

darinpeterson 29th January 2013 15:36

Running "top" on a System with Multiple Virtual Machines
 
Is it normal when running "top" from the command line to see the processes on ALL virtual servers?

The reason I ask is that I have multiple services of mysqld as well as other services that appear when running top.

falko 30th January 2013 13:01

If you are referring to the host system and are using OpenVZ/Virtuozzo or any other container virtualization technique (like LXC), then yes.

darinpeterson 30th January 2013 15:39

Thanks Falko...

On my base system I have installed 5 virtual containers on Squeeze using OpenVZ. One my web container I have nearly completed the installation of the web container.

For some reason there are 5 apache2 processes running under top. When killing them, they respawn. Do you believe there is a problem with this virtual container? Should there be 5 apache2 processes running?

I used the howto document here to install the web container: http://www.howtoforge.com/multiserve...th-ispconfig-3

Thank you for your time!
Darin

falko 31st January 2013 16:19

Quote:

Originally Posted by darinpeterson (Post 291336)
For some reason there are 5 apache2 processes running under top. When killing them, they respawn. Do you believe there is a problem with this virtual container? Should there be 5 apache2 processes running?

Please check the apache configuration (/etc/apache2/apache2.conf) - especially the StartServers, MinSpareServers, and MaxSpareServers settings.

darinpeterson 1st February 2013 03:06

Quote:

Originally Posted by falko (Post 291374)
Please check the apache configuration (/etc/apache2/apache2.conf) - especially the StartServers, MinSpareServers, and MaxSpareServers settings.

Hi Falko, Here are the lines from my web server that runs under OpenVZ:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

I believe there is going to be a similar problem with mysqld when I'm finished configuring the server...

Darin


All times are GMT +2. The time now is 21:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.