[asterisk-users] Linux limits

Wai Wu wkwu at calltrol.com
Wed Sep 19 22:18:50 CDT 2007


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 in
Linux itself.
>>>      
>>>
>
>[ top posting fixed so I can comment as well ]
>
>  
>
>>You have to increase the amount of available file descriptors per
process:
>>
>>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



More information about the asterisk-users mailing list