[Asterisk-Dev] Asterisk server hangs

Mark Spencer markster at digium.com
Sun Nov 23 09:21:28 MST 2003


I've been trying to find people with this sort of problem.  Can you
confirm that the leak are extra sip channels by doing "sip show channels"
when it is going on?  Also remember you'll have to type it at the real
console or alternatively have an asterisk -r always connected.  Find me on
IRC to discuss further.

Mark

On Sun, 23 Nov 2003, Chris Wilson wrote:

> Hi Francois,
>
> > I would like to know if any of you have ever experience a similar
> > problem with Asterisk and if so, How did you manage to solve it.
> >
> > We are running Asterisk on a Linux 9 server with a T410EP card (PRI). We
> > are running an Outbound call Center and dials approximately 9,000 calls
> > per day. We've never be able to get more than 3 days without having to
> > restart Asterisk.
> >
> > When the problem occurs, we can not ssh to the server...everything is
> > froze. Any hints?
>
> We've noticed a problem with a file descriptor leak in Asterisk. After
> some time running, it uses up all 1024 file descriptors and you cannot
> connect to it, nor make calls using SIP, any more (I don't know if other
> functions are affected). You could try "lsof -p <pid-of-asterisk>" and see
> if you get:
>
> asterisk 1894 root   26r  FIFO        0,5          1293843 pipe
> asterisk 1894 root   27w  FIFO        0,5          1293843 pipe
> ...
> all the way up to 1023w or so (a very large number of pipes!).
>
> The console where Asterisk was run should also have lots of errors like
> "no file descriptors available".
>
> If the problem isn't that, then try strace'ing the Asterisk process and
> see what it's hung doing.
>
> Cheers, Chris.
> --
> ___ __     _
>  / __// / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
> / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
> \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list