[asterisk-users] Linux limits

Benjamin Jacob benjamin.jacob at mgl.com
Tue Sep 18 22:50:42 CDT 2007


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. 





More information about the asterisk-users mailing list