Hi all, Any one know how to increase the Linux limit? I am hiting a wall on 200 calls playing files at the same time. From Asterisk console, I am getting messages like Sip_request_call: Unable to build sip pvt data for "asterisk1/700" Too many open files Is this a limit of my Linux box? I only have 512MB of ram. Will increase it to 2G help or I have to change some configuration in Linux itself. Thnx
You have to increase the amount of available file descriptors per process: http://hausheer.osola.com/docs/11%C2%A0%C2%A0 On Tue, 18 Sep 2007, Wai Wu wrote:> Hi all, > > Any one know how to increase the Linux limit? I am hiting a wall on 200 > calls playing files at the same time. From Asterisk console, I am > getting messages like > > Sip_request_call: Unable to build sip pvt data for "asterisk1/700" > Too many open files > > Is this a limit of my Linux box? I only have 512MB of ram. Will increase > it to 2G help or I have to change some configuration in Linux itself. > > Thnx > > _______________________________________________ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671
Thnx. That did it. I also reduce the stock size to 512K instead of 8M. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alex Balashov Sent: Tuesday, September 18, 2007 4:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Linux limits You have to increase the amount of available file descriptors per process: http://hausheer.osola.com/docs/11%C2%A0%C2%A0 On Tue, 18 Sep 2007, Wai Wu wrote:> Hi all, > > Any one know how to increase the Linux limit? I am hiting a wall on > 200 calls playing files at the same time. From Asterisk console, I am > getting messages like > > Sip_request_call: Unable to build sip pvt data for "asterisk1/700" > Too many open files > > Is this a limit of my Linux box? I only have 512MB of ram. Will > increase it to 2G help or I have to change some configuration in Linuxitself.> > Thnx > > _______________________________________________ > > Sign up now for AstriCon 2007! September 25-28th. > http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671 _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On 9/18/07, Wai Wu <wkwu at calltrol.com> wrote:> > Hi all, > > Any one know how to increase the Linux limit? I am hiting a wall on 200 > calls playing files at the same time. From Asterisk console, I am > getting messages like > > Sip_request_call: Unable to build sip pvt data for "asterisk1/700" > Too many open files > > Is this a limit of my Linux box? I only have 512MB of ram. Will increase > it to 2G help or I have to change some configuration in Linux itself. > > Thnx >Hi Wai, I had this issue once (different software, unrelated to asterisk), and I used this guide to increase file handles: http://confluence.atlassian.com/display/DOC/Fix+'Too+many+open+files'+error+on+Linux+by+increasing+filehandles Cheers, AR -- Alex Robar alex.robar at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070918/30b8feeb/attachment-0001.htm
Where are MAXFILES or SYSMAXFILES? -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Benjamin Jacob Sent: Tuesday, September 18, 2007 11:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Linux limits safe_asetrisk bundled with the package, does increase the file limits in quite a neat way, with some other good setups. Edit MAXFILES or SYSMAXFILES as required. Also, I've read posts online, advising not to use safe_asterisk. Any experiences on this one, anyone? cheers - Ben. Jay R. Ashworth wrote:>On Tue, Sep 18, 2007 at 04:22:29PM -0400, Alex Balashov wrote: > > >>On Tue, 18 Sep 2007, Wai Wu wrote: >> >> >>>Any one know how to increase the Linux limit? I am hiting a wall on >>>200 calls playing files at the same time. From Asterisk console, I am>>>getting messages like >>> >>>Sip_request_call: Unable to build sip pvt data for "asterisk1/700" >>>Too many open files >>> >>>Is this a limit of my Linux box? I only have 512MB of ram. Will >>>increase it to 2G help or I have to change some configuration inLinux itself.>>> >>> > >[ top posting fixed so I can comment as well ] > > > >>You have to increase the amount of available file descriptors perprocess:>> >>http://hausheer.osola.com/docs/11%C2%A0%C2%A0 >> >> > >These days, I beleve the typical place to fix that is actually in >/etc/sysctl.conf, in most distros: > >http://www.cs.wisc.edu/condor/condorg/linux_scalability.html > >That page notes it for RedHat derived distros, but I'm pretty sure SuSe>puts it there as well. > >Cheers, >-- jra > >EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users