[hobbit] hobbit client init script

Gildas Le Nadan gn1 at sanger.ac.uk
Fri Oct 6 17:43:01 CEST 2006


Gildas Le Nadan wrote:
> Henrik Stoerner wrote:
>> On Fri, Oct 06, 2006 at 01:19:52PM +0100, Gildas Le Nadan wrote:
>>
>>> The way the hobbit init script works (at least on debian), a lot of 
>>> processes are left running on the host when doing a 
>>> "/etc/init.d/hobbit-client stop".
>>>
>>> Is there any reason for this?
>>
>> You mean the vmstat processes ?
> 
> Yes, but also df commands that seem to be stalled, such as:
> 
> ssgtest1a:~# date
> Fri Oct  6 13:36:34 BST 2006
> ssgtest1a:~# ps aux | grep hobbit
> hobbit   21440  0.0  0.0  5620 1188 ?        S    13:06   0:00 /bin/sh 
> /usr/lib/hobbit/client/bin/hobbitclient-linux.sh
> hobbit   21456  0.0  0.0  2580  572 ?        S    13:06   0:00 df -Pl -x 
> none -x tmpfs -x shmfs -x unknown -x iso9660
> hobbit   21457  0.0  0.0  2624  508 ?        S    13:06   0:00 sed -e 
> /^[^ ?][^ ?]*$/{?N?s/[ ?]*\n[ ?]*/ /?}
> 

Okay, so I have found the culprit: we have lustre filesystems that hang sometime 
so the df command is stalled for a while.

I'd like to exclude lustre from the df command on some on the linux hosts only. 
Is it possible?

The only way I've found to exclude lustre from the df command is to add a "-x 
lustre_lite" to the df line in /usr/lib/hobbit/client/bin/hobbitclient-linux.sh

Cheers,
Gildas



More information about the Xymon mailing list