02-29-2012, 05:38 PM | #1 |
Junior Member
|
AWStats - generation of stats makes huge load avg
Hi,
we use ISPmanager in VPS (OpenVZ) with approx. 80 web domains. AWStats are generated automatically for each domain. Problem is generation of AWStats output every day or hour (according to settings in web management of ISPmanager). It runs huge number of awstats.pl process in parallel and load average of server goes up to 30 so server is unable serve content to visitors of web pages or e-mail accounts reliably. Is it possible to configure ISPmanager or server to spread stats generation to whole hour or whole day so the load average would be reasonable lower? Maybe it is possible to serialise running of awstats.pl? Thanks in advance for any advice or solution. Pavel |
12-12-2012, 10:10 PM | #4 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
You can reduce pbackup system load in ispmgr.conf configutation file
BackupPrior - priority for pbackup and all associated processes. You may use values 0 to 19. The larger the number, the less priority a process has. The default value is 0. BackupIOClass - pbackup I/O priority classes. You may use values 1 to 3, where 1 is a real-time priority level (realtime), 2 is an average level (best effort is set by default), 3 - a minimum level (idle). Used only for Linux-based operating systems. BackupIOClassData - pbackup I/O priority classes. You may use values 0 to 7. The smaller the figure, the higher the priority. The priority is set only if the priority class is set to 1 or 2. The default value is 7. Used only for Linux-based operating systems. |
Tags |
awstats load |
|
|