[BlueOnyx:03605] Re: servicequota_usage.pl High CPU Usage slow disk I/O

Ken Marcus - Precision Web Hosting, Inc kenlists at precisionweb.net
Tue Feb 16 17:27:19 -05 2010


----- Original Message ----- 
From: "Rodrigo Ordonez Licona" <rodrigo at xnet.mx>
To: <blueonyx at blueonyx.it>
Sent: Tuesday, February 16, 2010 11:29 AM
Subject: [BlueOnyx:03604] servicequota_usage.pl High CPU Usage slow disk I/O


> Hi,
>
> Has anyone seen this.
>
> At a regular interval
>
> /usr/sausalito/handlers/base/disk/servicequota_usage.pl is executed on a
> server with over 800 users, at that time, server climbs quickly and 
> services
> start to behave erratically, SMTP Authentication takes ages, pop access is
> slow.
>
> Several of those user (6-8%) are over quota. The server was happy a few
> weeks ago, it is a twin quadcore xeon with 6gb of ram, and 7200rpm sata
> disks.
>
> This happens once daily
>
> Is this an indication of lack of resources?
>
> 10 minutes afterwards cpu load is under 1 , (.6 to .8) And all services go
> fine.
>
> SAR Report confirms it repeats at the same time, And I/O Wait is high at
> this moment.(so we relate it to cron & swatch)
>
>
> Any pointers would be greatly appreciated.
>
> Regards
>
> Rodrigo O
> Xnet
>
>
Rodrigo

Possibly you could edit the script and change

foreach my $oid ($cce->find('ServiceQuota'))
{

to
foreach my $oid ($cce->find('ServiceQuota'))
{
    sleep (4);


I think that would spread the load out.

----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net







More information about the Blueonyx mailing list