I've had mixed results with changing ulimit and not restarting asterisk. Best bet is to stop and start asterisk so that it calls a new shell

Rilawich Ango wrote:
Thanks for your reply.

What I ready do is:
add ulimit -n 65535 in safe_asterisk
increase value to 203380 in /proc/sys/fs/file-max
Both actions don't help much for the file descriptor growing.

What I want to know is:

Do I need to reboot if I insert the following in /etc/security?
*               -       nofile          65535

Can I identify or remove the file descriptors, which are unused, shown in lsof?

Can I reload some modules to reduce the unused file descriptor instead
of restart?


On 4/27/07, Matthew J. Roth <[EMAIL PROTECTED]> wrote:
Rilawich,

Here are a couple of my old posts that document how to guarantee that
Asterisk starts with an increased number of file descriptors available:

Too many open files
<http://lists.digium.com/pipermail/asterisk-users/2006-April/147204.html>
Asterisk Open File Limit
<http://lists.digium.com/pipermail/asterisk-dev/2006-October/024092.html>

Good luck,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer

_______________________________________________
--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

_______________________________________________
--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
_______________________________________________
--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

Reply via email to