Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 11:20:24 +0300
From:      Stefan Lambrev <stefan.lambrev@moneybookers.com>
To:        peceka <peceka@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: unable to kill process, problem with FBSD6?
Message-ID:  <46C55A48.8050902@moneybookers.com>
In-Reply-To: <f0f70e5e0708162347y23ae1107ue998a83649c734a4@mail.gmail.com>
References:  <f0f70e5e0708162347y23ae1107ue998a83649c734a4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

peceka wrote:
> Hi.
>
> I've got strange problem. I've setup pound on my FBSD6 box and
> sometimes it (pound) stops. Normally it should exit but it doesn't -
> it hangs.
>
> # ps auwx | grep pound
> pound   46868  0.0  1.0 55428 21932  ??  SE    1:58PM   0:31.34
> /usr/local/sbin/pound -f /usr/local/etc/pound.cfg
>
> S: Marks a process that is sleeping for less than about 20 seconds.
> E: The process is trying to exit.
>
> It dies after 30 minutes.
>
> This problem doesn't exists on Linux.
>
> This behaviour is very irregular.
> Why FBSD doesn't kill this process?
>
> Regards,
> p.
>   

I saw this before, and I think it's a thread related problem :)
Unfortunately it happens only in production and busy environment (?) and 
it is very hard to test/debug.
But putting in /etc/libmap.conf :

[/usr/local/sbin/pound]
libpthread.so.2        libthr.so.2
libpthread.so  libthr.so

may help.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>   

-- 

Best Wishes,
Stefan Lambrev
ICQ# 24134177




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C55A48.8050902>