<[email protected]> writes: > :v="urn:schemas-microsoft-com:vml" > xmlns:o="urn:schemas-microsoft-com:office:office" > xmlns:w="urn:schemas-microsoft-com:office:word" > xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" > > xmlns="http://www.w3.org/TR/REC-html40"> > > I'm having some issues with my init.d scripts for slony. I have three > different clusters and init scripts for each of > them. When running I see each daemon has two > processes, such as::p> > > :p> > > postgres 13894 1 0 10:06 ? 00:00:00 > /usr/bin/slony1-cluster1 -f /etc/slony1-cluster1.conf:p> > > postgres 16149 13894 0 10:13 ? 00:00:00 /usr/bin/slony1- > cluster1 -f /etc/slony1-cluster1.conf:p> > > postgres 13774 1 0 10:06 ? 00:00:00 /usr/bin/slony1- > cluster2 -f /etc/slony1-cluster2.conf:p> > > postgres 13776 13774 0 10:06 ? 00:00:00 /usr/bin/slony1- > cluster2 -f /etc/slony1-cluster2.conf:p> > > :p> > > :p> > > /usr/bin/slony1-cluster1 and /usr/bin/slony1-cluster2 are > symlinks to /usr/bin/slony1:p> > > :p> > > In the init scripts, if I run `killproc /usr/bin/slony1' for the stop > function then both daemons are getting shut down. If > I try `killproc --p /path/to/slony1-cluster1.pid then one of the > slony1-cluster1 processes gets terminated, but the other > hangs around and seems to respawn the first. Looking for suggestions. > Here's my current stop and start code::p>
I presume this is on Linux? Linux reports each thread as a separate entry in the process table, which is why you'd see more processes than you have slons. Notice that 16149 is a child of 13894, which is quite consistent with this. The PID file gets generated by the main thread, and so killing that should also kill off any child threads. You might want to check the contents of the PID file to verify that. -- (reverse (concatenate 'string "ofni.sailifa.ac" "@" "enworbbc")) Christopher Browne "Bother," said Pooh, "Eeyore, ready two photon torpedoes and lock phasers on the Heffalump, Piglet, meet me in transporter room three" _______________________________________________ Slony1-general mailing list [email protected] http://lists.slony.info/mailman/listinfo/slony1-general
