[asterisk-dev] Dahdi resource limit

Olle E. Johansson oej at edvina.net
Tue Apr 3 03:18:22 CDT 2012


Running Asterisk 1.4 and Dahdi 2.5.0 we're hitting a resource limit.

There's a leakage of file handles (both pseudo and timer) but that should not really affect us since we've configured Dahdi to use 4000 file handles. At around 1400 file handles used, we can't start a new meetme, the app complains that it can't allocate a file handle a gives up. This is in a running production system, so I have no means to lab with it. Right now we're restarting it to get rid of the leaked files and keep it running below 1400. 

Upgrading to another Asterisk is out of discussion, so no point in discussing that option either.

There must be something in Dahdi that fails or somewhere else. We have file handles, since we're getting tons of new calls. It's just the meetme that can't open new Dahdi pseudo-file handles.

I am lost how to debug this and provide a good report. Dahdi developers - are you aware of some sort of limit apart from the file handles that can lead to this issue?

We are trying hard to duplicate the issue in a local system, but have failed so far. This happens at several sites. 

My conclusion is that we have two problems, one is the leakage which we're trying to locate, the other is the 1400 limit that stops us from growing to larger systems with meetme/dahdi.

/O






More information about the asterisk-dev mailing list