[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbit.sh not stopping server correctly
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbit.sh not stopping server correctly
- From: Greg Hubbard <glh.forums (at) gmail.com>
- Date: Tue, 18 Aug 2009 08:56:14 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=dHc1lbEZmzMpCv4zZ8OjBKFN1j/zXaIBQklgEMBDtdI=; b=hBWsvxtNLPWPAALGBzWaXw8KJZRtxWtJoMS4ic+AzZevx3hBldvX1wkJLrpiqsVMtz A8M8HNm2oDR5qZqoNcWuXViuNOoof1pPI/BwI83AVuiWp/KUkARcXCWMiWdugVo1/+ak H3Sy4ZVetCFyzzGhre+jG3B6hdQ0M4jKuVZM8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YxOsgM8EVgzq7i0ttcfJcAP8eaquha9+E6g1iXweOevzLZnlugr+lGIB6Qt8C+5ax4 i6PyPdzfafHzOyx4ZUi5dlj/J6nFxLig8k1yLy4znCdZzVP5ESqdgysW6z6Yvew2UMkF BpiDHtRLqR1fghh0EKM0Mf/boFp87wKNk8utU=
- References: <FD59D165BD0E594C8912A78CF1F5FF1FA4F60C (at) TLRBEANTMBX05.ERF.THOMSON.COM> <20090818145109.F3IEM.778952.root (at) web07-winn.ispmail.private.ntl.com>
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...
GLH
On 8/18/09, j.sansford (at) ntlworld.com <j.sansford (at) ntlworld.com> wrote:
>
> Hi there Jef,
>
> 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.
>
>
> ---- jef.jagers (at) thomsonreuters.com wrote:
> > Hi Buchan,
> >
> > Just a stuppid question.
> > But have you stopped and the hobbit server and the hobbit client on that
> machine or only the server?
> >
> >
> > Regards,
> > Jef Jagers
> > Systems Engineer
> > Thomson CompuMark
> >
> > Thomson Reuters
> >
> > T +32 3 220 76 02
> >
> >
> >
> > -----Original Message-----
> > From: j.sansford (at) ntlworld.com [mailto:j.sansford (at) ntlworld.com]
> > Sent: dinsdag, augustus 18, 2009 13:25
> > To: hobbit (at) hswn.dk
> > Subject: Re: [hobbit] hobbit.sh not stopping server correctly
> >
> > Hi Buchan,
> >
> > 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:
> >
> > kill -TERM `cat /export/home/hobbit/logs/hobbitlaunch.pid`
> >
> > 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:
> >
> > /usr/local/bin/ssh -l root 10.6.6.6 sysstat -m -c1 290
> > sh -c (/usr/local/bin/ssh -l root 10.6.6.5 sysstat -x -c1 290
> >/export/home/hob
> >
> > 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.
> >
> >
> > ----- Original Message -----
> > From: "Buchan Milne" <bgmilne (at) staff.telkomsa.net>
> > To: <hobbit (at) hswn.dk>
> > Cc: <j.sansford (at) ntlworld.com>
> > Sent: Monday, August 17, 2009 3:52 PM
> > Subject: Re: [hobbit] hobbit.sh not stopping server correctly
> >
> > > On Monday, 17 August 2009 11:04:36 j.sansford (at) ntlworld.com wrote:
> > >> Hi,
> > >>
> > >> I think I have an issue with 4.2.3 where the hobbit.sh is not stopping
> the
> > >> server correctly. Running "./hobbit.sh stop" doesn't stop all the
> hobbit
> > >> processes
> > >
> > > Which processes remain? A vmstat running as the hobbit / xymon user?
> > >
> > >> and so I can't install this as a service currently. Could anyone
> > >> help me to debug why this is happening? I'm not really sure where to
> go
> > >> from here.
> > >
> > > It's a bit difficult with no information. A stray vmstat process after
> stopping
> > > xymon is expected, and using the example init scripts provided in the
> debian
> > > or rpm directories works on many distros ...
> > >
> > > Regards,
> > > Buchan
> > >
> > > To unsubscribe from the hobbit list, send an e-mail to
> > > hobbit-unsubscribe (at) hswn.dk
> > >
> > >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>