Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th January 2013, 15:36
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 30th January 2013, 13:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

If you are referring to the host system and are using OpenVZ/Virtuozzo or any other container virtualization technique (like LXC), then yes.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
darinpeterson (30th January 2013)
  #3  
Old 30th January 2013, 15:39
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default

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
Reply With Quote
  #4  
Old 31st January 2013, 16:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Quote:
Originally Posted by darinpeterson View Post
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 1st February 2013, 03:06
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
 
Default

Quote:
Originally Posted by falko View Post
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
Reply With Quote
Reply

Bookmarks

Tags
bash top

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mod GEO_IP on virtual machines running ISPConfig 3 scottrill2 Installation/Configuration 1 24th September 2012 12:55
Fedora 4 TPS mail problem Hagforce HOWTO-Related Questions 13 10th February 2010 18:23
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58
DNS in virtual machines todvard Installation/Configuration 2 15th August 2005 19:43


All times are GMT +2. The time now is 05:50.


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