Re: [asterisk-users] Linux limits

2007-09-19 Thread Wai Wu
Where are MAXFILES or SYSMAXFILES? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

___

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


Re: [asterisk-users] Linux limits

2007-09-18 Thread Alex Balashov

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

___

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


Re: [asterisk-users] Linux limits

2007-09-18 Thread Wai Wu
Thnx. That did it. I also reduce the stock size to 512K instead of 8M. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 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

___

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

___

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


Re: [asterisk-users] Linux limits

2007-09-18 Thread Alex Robar
On 9/18/07, Wai Wu [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
___

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

Re: [asterisk-users] Linux limits

2007-09-18 Thread Jay R. Ashworth
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
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

___

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


[asterisk-users] Linux limits

2007-09-18 Thread Wai Wu
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


Re: [asterisk-users] Linux limits

2007-09-18 Thread Benjamin Jacob
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