I am having a problem with the clearsyncd deamon. It consumes a 100% of CPU and that makes the login process very slow.
Do you know how can I fix it?
Do you know how can I fix it?
[root@gateway ~]# top
top - 10:16:44 up 18:16, 2 users, load average: 0,97, 0,97, 0,95
Tasks: 172 total, 1 running, 171 sleeping, 0 stopped, 0 zombie
%Cpu(s): 10,2 us, 2,9 sy, 0,0 ni, 86,8 id, 0,0 wa, 0,0 hi, 0,2 si, 0,0 st
KiB Mem : 8173500 total, 5623748 free, 1302460 used, 1247292 buff/cache
KiB Swap: 6713340 total, 6713340 free, 0 used. 6523660 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29316 clearsy+ 20 0 469020 15488 2768 S 100,0 0,2 39:21.28 clearsyncd
9 root 20 0 0 0 0 S 0,3 0,0 0:39.98 rcu_sched
2607 root 20 0 0 0 0 S 0,3 0,0 0:29.26 xfsaild/dm-0
2678 root 20 0 56620 18860 18496 S 0,3 0,2 0:08.04 systemd-journal
6152 clearco+ 20 0 272976 2852 2016 S 0,3 0,0 1:52.51 tconsole
31360 root 20 0 160100 2256 1552 R 0,3 0,0 0:00.10 top
1 root 20 0 43924 4292 2568 S 0,0 0,1 0:23.26 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.12 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:02.74 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root rt 0 0 0 0 S 0,0 0,0 0:00.24 migration/0
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
11 root rt 0 0 0 0 S 0,0 0,0 0:00.35 watchdog/0
12 root rt 0 0 0 0 S 0,0 0,0 0:00.39 watchdog/1
13 root rt 0 0 0 0 S 0,0 0,0 0:00.19 migration/1
14 root 20 0 0 0 0 S 0,0 0,0 0:04.03 ksoftirqd/1
16 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:0H
17 root rt 0 0 0 0 S 0,0 0,0 0:00.35 watchdog/2
18 root rt 0 0 0 0 S 0,0 0,0 0:00.40 migration/2
19 root 20 0 0 0 0 S 0,0 0,0 0:06.27 ksoftirqd/2
In Services
Share this post:
Accepted Answer
What is your version of csplugin-events? You should get:
If it is up to date, please clear your events database with:
rpm -q csplugin-events
csplugin-events-1.2-3.v7.x86_64
If you don't, please bring your system up to date with a:yum update
If it is up to date, please clear your events database with:
systemctl stop clearsync.service
rm -f /var/lib/csplugin-events/events.db
systemctl start clearsync.service
Responses (3)
-
Accepted Answer
So what events are you logging? If you have problems getting to your webconfig to see the events, try stopping clearsyncd again, but it will try to restart every 5 mins so you could (temporarily) comment out the line in /etc/cron.d/app-base.
Do you have any rpmnew files in /etc/clearos/events.d? If so, you really want to make them active by removing/renaming the original .conf file then renaming the .conf.rpmnew to .conf. -
Accepted Answer
Nick Howitt wrote:
What is your version of csplugin-events? You should get:
If you don't, please bring your system up to date with a:rpm -q csplugin-events
csplugin-events-1.2-3.v7.x86_64
yum update
If it is up to date, please clear your events database with:
systemctl stop clearsync.service
rm -f /var/lib/csplugin-events/events.db
systemctl start clearsync.service
Hello Nick,
Running ClearOS release 7.7.1 (Final) I had the same issue.
I followed your instructions (I had already the right version for csplugin-events) and for a few minutes the server was responsive again, then:
Any other idea ?
Bernard -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »