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.
On Fri, Aug 17, 2007 at 08:47:01AM +0200, peceka wrote:> 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?It does if it become 'trying to exit'. It may have a serial device open and bugs in the driver may prevent process from closing device in timely manner. Try switching to uart(4) driver from sio(4) if this is your case. Eugene Grosbein
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