[rudder-users] CPU load on the server
Nicolas Charles
nicolas.charles at normation.com
Wed Apr 17 14:00:47 CEST 2013
On 17/04/2013 12:33, Olivier Desport wrote:
>
> Le 17/04/2013 12:28, Matthieu CERDA a écrit :
>> Le 17/04/2013 12:22, Olivier Desport a écrit :
>>> Hello,
>>>
>>> Since I've migrated to the 2.5.1release-squeeze0 version the cpu
>>> load of cf-agent on the Rudder server is very high :
>>>
>>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>>> 8128 root 20 0 35720 4780 2864 R 50 0.0 8:12.29 cf-agent
>>> 9912 root 20 0 35724 4780 2864 R 50 0.0 2:19.35 cf-agent
>>> 7143 root 20 0 49572 12m 2924 R 25 0.1 13:18.39 cf-agent
>>> 7304 root 20 0 35720 4776 2864 R 25 0.0 7:29.65 cf-agent
>>> 10749 root 20 0 35720 4776 2864 R 25 0.0 0:03.61 cf-agent
>>> 9015 root 20 0 35720 4776 2864 R 25 0.0 4:23.80 cf-agent
>>>
>>> Therefore, the server is very slow. Can you help me please ?
>>>
>>>
>>> --
>>>
>>>
>>> *Olivier DESPORT
>>> *Infrastructures Tice
>>> DSI
>>>
>>> Tél : 01 30 83 52 92
>>> Tcp. 01 30 83 48 46
>>> Rectorat de Versailles . 3 boulevard de Lesseps . 78017 Versailles
>>> cedex .
>>> http://www.ac-versailles.fr
>>> <cid:part2.00090308.02000409 at ac-versailles.fr>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> rudder-users mailing list
>>> rudder-users at lists.rudder-project.org
>>> http://www.rudder-project.org/mailman/listinfo/rudder-users
>>
>> Hello Olivier,
>>
>> Can you please try a "ps -faux" to have a complete process tree of
>> every cf-agent ? It will help us to debug this problem.
>>
>> Thanks in advance,
>> Regards,
>> --
>> ------------------------------------------------------------------------
>> *Matthieu CERDA*
>> /Administrateur - Systèmes et Réseaux/
>> Normation <http://www.normation.com>
>> ------------------------------------------------------------------------
>> *87 rue de Turbigo, 75003 Paris, France*
>> Telephone: +33 (0)1 84 16 06 01
>> ------------------------------------------------------------------------
>>
> Here is `ps -faux` output :
>
> root 25908 0.4 0.0 190276 6644 ? Ssl Apr15 12:25
> /var/rudder/cfengine-community/bin/cf-serverd
> root 25939 0.0 0.0 147280 4292 ? Ssl Apr15 0:07
> /var/rudder/cfengine-community/bin/cf-execd
> root 12641 0.0 0.0 3956 584 ? S 12:26 0:00 \_
> sh -c "/var/rudder/cfengine-community/bin/cf-agent" -f failsafe.cf &&
> "/var/rudder/cfengine-community/bin/cf-agent" -Dfrom_cfexecd
> root 12890 96.5 0.0 49576 12600 ? Rs 12:27 4:31 |
> \_ /var/rudder/cfengine-community/bin/cf-agent -Dfrom_cfexecd
> root 13726 0.0 0.0 3956 580 ? S 12:30 0:00 \_
> sh -c "/var/rudder/cfengine-community/bin/cf-agent" -f failsafe.cf &&
> "/var/rudder/cfengine-community/bin/cf-agent" -Dfrom_cfexecd
> root 13727 95.6 0.0 35724 4780 ? Rs 12:30 1:02
> \_ /var/rudder/cfengine-community/bin/cf-agent -f failsafe.cf
>
Hi Olivier,
That's unfortunate, as it does't give much details on what could go slow.
Could you send us the output of the
/var/rudder/cfengine-community/bin/cf-agent -v ? (you may want to edit
this output, as it may contain sensitive information like hostname, ip,
text contents, etc)
Thanks !
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130417/8653ee2a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2372 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130417/8653ee2a/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3503 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130417/8653ee2a/attachment.png>
More information about the rudder-users
mailing list