<div>How long are you waiting after you kill the main Hobbit process for all the other processes to die off?  Sometimes it can take several minutes for all the iostats and vmstats and such to complete -- they must be independent of their parent.  Add-ons, especially from deadcat (written for BB, not Hobbit/Xymon) must be considered separately...</div>

<div> </div>
<div>GLH<br><br> </div>
<div><span class="gmail_quote">On 8/18/09, <b class="gmail_sendername"><a href="mailto:j.sansford@ntlworld.com">j.sansford@ntlworld.com</a></b> <<a href="mailto:j.sansford@ntlworld.com">j.sansford@ntlworld.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi there Jef,<br><br>I assume that question was aimed at me? The stop script stops "hobbitlaunch" and not a client - however the client is owned by hobbitlaunch as it is configured within hobbitlaunch.cfg - we don't run a separately owned client on the system.<br>
<br><br>---- <a href="mailto:jef.jagers@thomsonreuters.com">jef.jagers@thomsonreuters.com</a> wrote:<br>> Hi Buchan,<br>><br>> Just a stuppid question.<br>> But have you stopped and the hobbit server and the hobbit client on that machine or only the server?<br>
><br>><br>> Regards,<br>> Jef Jagers<br>> Systems Engineer<br>> Thomson CompuMark<br>><br>> Thomson Reuters<br>><br>> T +32 3 220 76 02<br>><br>><br>><br>> -----Original Message-----<br>
> From: <a href="mailto:j.sansford@ntlworld.com">j.sansford@ntlworld.com</a> [mailto:<a href="mailto:j.sansford@ntlworld.com">j.sansford@ntlworld.com</a>]<br>> Sent: dinsdag, augustus 18, 2009 13:25<br>> To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>
> Subject: Re: [hobbit] hobbit.sh not stopping server correctly<br>><br>> Hi Buchan,<br>><br>> Apologies, I'll explain it in more detail. We are running on Solaris 10 and trying to configure Xymon as an SMF service (which essentially uses stop/start scripts). The stop script is basically:<br>
><br>> kill -TERM `cat /export/home/hobbit/logs/hobbitlaunch.pid`<br>><br>> Where hobbitlaunch.pid is the PID of the hobbitlaunch process. When running this command we are left with many stray processes, not just a vmstat. For example:<br>
><br>> /usr/local/bin/ssh -l root 10.6.6.6 sysstat -m -c1 290<br>> sh -c (/usr/local/bin/ssh -l root 10.6.6.5 sysstat -x -c1 290 >/export/home/hob<br>><br>> Doing a bit more digging it seems these are related to an ext/netapp monitor perl script. Taking this out leaves less processes (although I don't want to leave it out forever so I'll have to do a bit of digging around to find out how to kill these gracefully) however because the iostats do not finish the SMF reports a failure rather than a disable when I try to stop the monitor. This means the SMF can't restart the bbserver if it ever crashes.<br>
><br>><br>> ----- Original Message -----<br>> From: "Buchan Milne" <<a href="mailto:bgmilne@staff.telkomsa.net">bgmilne@staff.telkomsa.net</a>><br>> To: <<a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a>><br>
> Cc: <<a href="mailto:j.sansford@ntlworld.com">j.sansford@ntlworld.com</a>><br>> Sent: Monday, August 17, 2009 3:52 PM<br>> Subject: Re: [hobbit] hobbit.sh not stopping server correctly<br>><br>> > On Monday, 17 August 2009 11:04:36 <a href="mailto:j.sansford@ntlworld.com">j.sansford@ntlworld.com</a> wrote:<br>
> >> Hi,<br>> >><br>> >> I think I have an issue with 4.2.3 where the hobbit.sh is not stopping the<br>> >> server correctly. Running "./hobbit.sh stop" doesn't stop all the hobbit<br>
> >> processes<br>> ><br>> > Which processes remain? A vmstat running as the hobbit / xymon user?<br>> ><br>> >> and so I can't install this as a service currently. Could anyone<br>
> >> help me to debug why this is happening? I'm not really sure where to go<br>> >> from here.<br>> ><br>> > It's a bit difficult with no information. A stray vmstat process after stopping<br>
> > xymon is expected, and using the example init scripts provided in the debian<br>> > or rpm directories works on many distros ...<br>> ><br>> > Regards,<br>> > Buchan<br>> ><br>> > To unsubscribe from the hobbit list, send an e-mail to<br>
> > <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>> ><br>> ><br>><br>> To unsubscribe from the hobbit list, send an e-mail to<br>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
><br>><br>><br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>