[Asterisk-Dev] Asterisk server hangs

Luis Mata mataluis at xtremenetworks.biz
Mon Nov 24 07:53:56 MST 2003


I have a thought.

    This never happen to me under redhat 7.3 but I just happen to checkout
from cvs under Redhat 9 and now it's happening to me. So, I think is a
version related issue with Redhat 9. Unless it's is also happening on Redhat
7.3 ???



Luis B. Mata
Director of Information and Technology
Xtreme Networks, Inc.
www.XremeNetworks.biz
mataluis at xtremenetworks.biz
phone: 1-305-621-0066
Fax    : 1-305-614-7037

-----Original Message-----
From: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com]On Behalf Of Mark Spencer
Sent: Sunday, November 23, 2003 11:21 AM
To: asterisk-dev at lists.digium.com
Subject: Re: [Asterisk-Dev] Asterisk server hangs

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
>

_______________________________________________
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