[BlueOnyx:14552] CCED hanging - Troubleshooting info

Greg Kuhnert gkuhnert at compassnetworks.com.au
Sun Feb 9 16:12:29 -05 2014


Hi all.

Earlier today, I saw something that someone else had posted about recently, and thought I would post some information to help understand why this happens. I was in the gui of my server, and it was unresponsive and told me that CCED was not running. OK. Onto the command line to troubleshoot.

[root at hostname /]# ps -ef | grep cced
root     22324 22496  0 21:03 ?        00:00:00 /usr/sausalito/sbin/cced
root     22380 22379  0 21:03 ?        00:00:00 /bin/sh /etc/init.d/cced.init restart
root     22383 22380  0 21:03 ?        00:00:00 /bin/sh /etc/init.d/cced.init stop
root     22496     1  0 06:01 ?        00:00:00 /usr/sausalito/sbin/cced
root     31922 13312  0 21:05 pts/0    00:00:00 grep cced


Hmm. Looks the same as the info posted here recently. Lets see.... what is the process doing. We'll snoop on the first cced process... Note its PID is 22324 in the list above.

[root at hostname /]# strace -p 22324
Process 22324 attached - interrupt to quit
waitpid(22335, 0xbfc27334, 0)           = ? ERESTARTSYS (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
gettimeofday({1391980053, 351900}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
time(NULL)                              = 1391980053
send(9, "<30>Feb  9 21:07:33 cced(smd)[22"..., 53, MSG_NOSIGNAL) = 53
sigreturn()                             = ? (mask now [CHLD])
waitpid(22335, 0xbfc27334, 0)           = ? ERESTARTSYS (To be restarted)
Process 22324 detached

Note: You will have to press control C to get out of this command... 

So what is interesting here is this waitpid 22325... Lets see what that is all about

[root at hostname /]# ps -ef | grep 22335
root     22335 22324  0 21:03 ?        00:00:00 /usr/bin/perl -w -I/usr/sausalito/perl yum-update.pl
root     22336 22335  0 21:03 ?        00:00:00 [sh] <defunct>
root     26569 13312  0 21:04 pts/0    00:00:00 grep 22335

OK. So that tells me at the same time that I was in the gui, there was a yum update happening, and also at the same time something wanted to restart cced. 

In this case, I waited a bit, and it self repaired... once the yum commands had completed. I just wanted to share this with everyone here in case it is useful to anyone in future.

Greg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20140210/1022de51/attachment.html>


More information about the Blueonyx mailing list