LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord stop doesnt not work on free bsd

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ldirectord stop doesnt not work on free bsd
From: Ramprasad A Padmanabhan <ramprasad@xxxxxxxxxxxxx>
Date: Tue, 20 Sep 2005 14:13:46 +0530
On Tue, 2005-09-20 at 08:36, Horms wrote:
> On Mon, Sep 19, 2005 at 05:29:11PM +0530, Ramprasad A Padmanabhan wrote:
> > I got the bug.
> > The ldirectord looks for the pid directory under /proc
> > My free bsd machine does not have /proc at all
> > 
> > So I changed the script suitably. I hope the ldirectord developers would
> > look at a more genereic alternative to find out live pids than /proc
> 
> I am happy to consider patches to make this more generic.
> To my knowledge you are the first person to try using
> this code on a non-Linux system.

Thank you, 
  I already have posted the patch I have used on my machine. Works fine.
One more thing is I had to remove out all the print STDERR lines under
ld_handler* functions. print STDERR on a background process leads to the
process "hanging" apparently. I can mail you the file I am using in case
you need it 

Thanks Again
Ram




<Prev in Thread] Current Thread [Next in Thread>