[Linux-cluster] Error when starting ccsd and proposed patch

Mathieu Avila mathieu.avila at seanodes.com
Fri Jun 15 08:52:08 UTC 2007


Hello all,

I'm sometimes having trouble when starting ccsd and then gulm under
heavy CPU load. Ccsd's init script tells it is running but it's not
fully initialized.
The problem comes from the fact that ccsd's main process returns before
the daemonized process of ccsd has finished initializing its sockets.
The "cluster_communicator" thread sends a SIGTERM message to the parent
process before the main thread has finished its initialization work.

With the patch proposed in attachement, the cluster_communicator is
started after the main thread has finished initializing. It works
well under any load. Any daemon that needs to connect ccsd will
then succceed. 
It was tested with cluster-1.03, but it should work with older
versions, the ccsd files didn't seem to have changed much.

--
Mathieu Avila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccsd-init.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20070615/9930bf9f/attachment.bin>


More information about the Linux-cluster mailing list