Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] max-sessions change when running about 2 hr


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Thu Oct 08, 2009 9:50 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

Dear sir,
I'm running freeswitch with option
/opt/freeswitch/bin/freeswitch -nf -waste -nonat -nc
I'm setting up max-sessions in switch.conf to 10000

<param name="max-sessions" value="10000"/>
<!--Most channels to create per second -->
<param name="sessions-per-second" value="50"/>
But when fs running about 2 hr. max session down to 299
freeswitch@internal> status
UP 0 years, 0 days, 2 hours, 11 minutes, 10 seconds, 434 milliseconds,
251 microseconds
20502 session(s) since startup
271 session(s) 0/50
299 session(s) max

Can somone tell me what's happen ?

Dome C.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
dome at tel.co.th
Guest





PostPosted: Thu Oct 08, 2009 9:55 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

When i try
fsctl max_sessions 10000
in CLI . FS set it back to 2xx again

Dome C.
2009/10/8 Dome Charoenyost <dome@tel.co.th>:
Quote:
Dear sir,
  I'm running freeswitch with option
/opt/freeswitch/bin/freeswitch -nf -waste -nonat -nc
I'm setting up max-sessions in switch.conf to 10000

   <param name="max-sessions" value="10000"/>
   <!--Most channels to create per second -->
   <param name="sessions-per-second" value="50"/>
But when fs running about 2 hr. max session down to 299
freeswitch@internal> status
UP 0 years, 0 days, 2 hours, 11 minutes, 10 seconds, 434 milliseconds,
251 microseconds
20502 session(s) since startup
271 session(s) 0/50
299 session(s) max

Can somone tell me what's happen ?

Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Oct 08, 2009 10:13 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

How much ram do you have and what distro are you running on, 32bit or
64bit?

/b

On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:

Quote:
When i try
fsctl max_sessions 10000
in CLI . FS set it back to 2xx again

Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
dome at tel.co.th
Guest





PostPosted: Thu Oct 08, 2009 10:24 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

2009/10/8 Brian West <brian@freeswitch.org>:
Quote:
How much ram do you have and what distro are you running on, 32bit or
64bit?

2GB 32bit debian squeeze
(swap 6 GB)

Dome C.


Quote:

/b

On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:

Quote:
When i try
fsctl max_sessions 10000
in CLI . FS set it back to 2xx again

Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
dome at tel.co.th
Guest





PostPosted: Thu Oct 08, 2009 10:28 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

may be -waste option effect ?

2009/10/8 Dome Charoenyost <dome@tel.co.th>:
Quote:
2009/10/8 Brian West <brian@freeswitch.org>:
Quote:
How much ram do you have and what distro are you running on, 32bit or
64bit?

2GB  32bit  debian squeeze
(swap 6 GB)

Dome C.


Quote:

/b

On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:

Quote:
When i try
fsctl max_sessions 10000
in CLI . FS set it back to 2xx again

Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Oct 08, 2009 10:41 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

you are running out of threads and it's fixing itself. one of many reasons you should upgrade to 64 bit OS

execute this in your shell before you start FS
Quote:
ulimit -c unlimitedulimit -d unlimitedulimit -f unlimited
ulimit -i unlimitedulimit -n 999999ulimit -q unlimitedulimit -u unlimitedulimit -v unlimitedulimit -x unlimitedulimit -s 244ulimit -l unlimited


On Thu, Oct 8, 2009 at 10:15 AM, Dome Charoenyost <dome@tel.co.th (dome@tel.co.th)> wrote:
Quote:
may be -waste option effect  ?

2009/10/8 Dome Charoenyost <dome@tel.co.th (dome@tel.co.th)>:


Quote:
2009/10/8 Brian West <brian@freeswitch.org (brian@freeswitch.org)>:
Quote:
How much ram do you have and what distro are you running on, 32bit or
64bit?

2GB  32bit  debian squeeze
(swap 6 GB)

Dome C.


Quote:

/b

On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:

Quote:
When i try
fsctl max_sessions 10000
in CLI . FS set it back to 2xx again

Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
dome at tel.co.th
Guest





PostPosted: Thu Oct 08, 2009 11:01 am    Post subject: [Freeswitch-users] max-sessions change when running about 2 Reply with quote

Thanks. I'll try 64 bit :)

2009/10/8 Anthony Minessale <anthony.minessale@gmail.com>:
Quote:
you are running out of threads and it's fixing itself. one of many reasons
you should upgrade to 64 bit OS

execute this in your shell before you start FS

ulimit -c unlimited
ulimit -d unlimited
ulimit -f unlimited

ulimit -i unlimited
ulimit -n 999999
ulimit -q unlimited
ulimit -u unlimited
ulimit -v unlimited
ulimit -x unlimited
ulimit -s 244
ulimit -l unlimited


On Thu, Oct 8, 2009 at 10:15 AM, Dome Charoenyost <dome@tel.co.th> wrote:
Quote:

may be -waste option effect  ?

2009/10/8 Dome Charoenyost <dome@tel.co.th>:
Quote:
2009/10/8 Brian West <brian@freeswitch.org>:
Quote:
How much ram do you have and what distro are you running on, 32bit or
64bit?

2GB  32bit  debian squeeze
(swap 6 GB)

Dome C.


Quote:

/b

On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:

Quote:
When i try
fsctl max_sessions 10000
in CLI . FS set it back to 2xx again

Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services