Alex Balashov wrote:
On Thu, 26 Apr 2007, Knud Müller said something to this effect:
Tzafrir Cohen wrote:
On Thu, Apr 26, 2007 at 08:43:17AM -0500, Jason Fuermann wrote:
1024 open files will get you around 120 concurrent calls.
8 file-handles per call? Why is that?
Depends on what channel type you use and what you do in the dialplan.
A file handle is also used for an open socket. I always ran into that
kind of problem when conferencing and play soundfiles to the
conference members. Try before starting asterisk to ulimit your shell
to a higher value of file handles. AFAIK its ulimit -n.
Some aspects of the limit on concurrent file descriptors are still
on the kernel side, unfortunately, depending on what you're doing with
them.
This is kind of irrelevant for all using linux......
Yep, we have a solaris (10) box. Asterisk installed fine. But has a
much tighter open file limit.
Solaris started ages ago with a one byte file handle (256 Open Files)
they decided to be binary compatible in newer versions. When the need
came for more open files the fopen() method can handle more files under
solaris, but the open method is still limited to 256 Files. The
asterisk source code showed us that both open methods are spread widely
over the sources. We started to change into fopen wherever possible but
been still unable to overcome these limits on solaris by now.
For instance, if any kind of asynchronous polling of descriptors is done
with select(), know that FD_SETSIZE is hard-coded into the kernel
headers.
If it's a simple issue of open files, there should be no problem
increasing it on the ulimit side. But more complex operations involving
concurrent use of descriptors and sockets may require changes to
hard-coded parameters.
-- Alex
--
Alex Balashov <[EMAIL PROTECTED]>
------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Knud A. Müller
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users