max-sessions change when running about 2 hr
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.
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>:
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.
2009/10/8 Brian West <brian@freeswitch.org>:
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.
/b
On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:
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
may be -waste option effect ? 2009/10/8 Dome Charoenyost <dome@tel.co.th>:
2009/10/8 Brian West <brian@freeswitch.org>:
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.
/b
On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:
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
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:
may be -waste option effect ?
2009/10/8 Dome Charoenyost <dome@tel.co.th>:
2009/10/8 Brian West <brian@freeswitch.org>:
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.
/b
On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:
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
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thanks. I'll try 64 bit :) 2009/10/8 Anthony Minessale <anthony.minessale@gmail.com>:
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:
may be -waste option effect ?
2009/10/8 Dome Charoenyost <dome@tel.co.th>:
2009/10/8 Brian West <brian@freeswitch.org>:
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.
/b
On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote:
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
participants (3)
-
Anthony Minessale
-
Brian West
-
Dome Charoenyost