[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about supervise and tcpserver behaviour
Renato <webmaster@cienciapura.com.br> wrote:
>
> I'm monitoring the behaviour of tcpserver for the pop service ( simple 'ps -
> aux | grep tcpserver | grep pop' and I get, obviously, just one is
> running ). Sometimes, supervise tries to restart tcpserver and I see 2
> tcpservers. Then the second dies ( port is already bind ). During this
> time, pop fails. Looking at the log for the pop service, I can tell that
> there is no specific moment that it happens. Tcpserver didn't run out of
> connections ( I have up to 150 concurrent ), sometimes it did with 20
> connections, sometimes with 90 concurrents.
>
> Is this an expected behauvior ?
No. tcpserver shouldn't randomly die.
> Is there a way to tune up supervise ? ( time-out, any other parameters ? )
Perhaps you're running it with memory or other process limits, or its hitting
a system-wide limit? Without specific information about how you've configured
svscan, tcpserver, etc, log entries, and perhaps strace of the process dying,
we can't help you.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------