[Csync2] cpu usage csync2 high
B T
briant97 at yahoo.com
Tue Nov 9 19:43:22 CET 2010
with just csync installed it is using quite a bit of cpu resources. When it runs shoots to 60 or 70 percent. The server is not loaded yet but im afraid to put load on it with this kind if cpu usage. Is there anything I need to do? It is always spawning new process with new ids. I grep and try to kill as seen below. You can also see top command below just idle running at 38 percent cpu. I also have xinetd install and it setup as a service if you need to know that.
etc# ps -ef | grep csync2
root 9288 556 54 13:35 ? 00:00:01 /usr/sbin/csync2 -x
root 9290 7479 0 13:35 pts/0 00:00:00 grep --color=auto csync2
root at tesweb01:/etc# kill 9288
-bash: kill: (9288) - No such process
root at tesweb01:/etc# ps -ef | grep csync2
root 9295 556 57 13:35 ? 00:00:01 /usr/sbin/csync2 -x
root 9297 7479 0 13:35 pts/0 00:00:00 grep --color=auto csync2
root at tes:/etc# kill 9295
top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9217 root 20 0 31328 2356 1376 S 38 0.1 0:01.14 csync2
/etc/csync2.cfg
# please see the REAMDE file how to configure csync2
nossl * *;
group tglwebgroup
{
host tesweb01;
host tesweb02;
key /etc/csync2_ssl_cert.key;
include /etc/csync2.cfg;
include /etc/apache2/;
include /var/www/;
include /var/log/apache2;
exclude *.log;
action
{
pattern /etc/apache2/apache2.conf;
pattern /etc/apache2/httpd.conf;
pattern /etc/apache2/sites-available/*;
exec "/usr/sbin/apache2ctl graceful";
logfile "/var/log/csync2_action.log";
do-local;
}
backup-directory /var/backups/csync2;
backup-generations 3;
auto none; #no automatic sync
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20101109/4050c6cc/attachment.htm>
More information about the Csync2
mailing list