This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Is there a way to tell, which of my vm virtual servers is consuming the most resources?
apache is frequently using over 50% CPU I would like to know where to find the website, that causes this.
If you're using CGI or FCGID, which runs scripts as the domain owners, you could always run "top" to see which users frequently have PHP apps in the process list.
You could also go into MySQL, and run the command "show full processlist" to see if any queries are causing issues -- you can see what databases a given query is accessing with that, which would help you track down the culprit.
no cgi's running w. UID.
MySQL is fine too and "top" is who just told me Apache has several processes w. 30%, 56%, 40% etc. :)
I thought there was a way within vm to show which instance is "guilty" - bw.pl gives an indication of who generates most traffic but that is not necessarily the one who generates the most load on the CPU.
Na, if there is no vm-solution, we are probably "off-topic" here and I will have to keep looking.
Howdy,
Yeah, it's not always simple to determine that.
If you're using CGI or FCGID, which runs scripts as the domain owners, you could always run "top" to see which users frequently have PHP apps in the process list.
You could also go into MySQL, and run the command "show full processlist" to see if any queries are causing issues -- you can see what databases a given query is accessing with that, which would help you track down the culprit.
-Eric
no cgi's running w. UID. MySQL is fine too and "top" is who just told me Apache has several processes w. 30%, 56%, 40% etc. :)
I thought there was a way within vm to show which instance is "guilty" - bw.pl gives an indication of who generates most traffic but that is not necessarily the one who generates the most load on the CPU.
Na, if there is no vm-solution, we are probably "off-topic" here and I will have to keep looking.
Thanks anyway :)