Dear All, How about performance when start FS with -nf (no fork). I ask because i want to keep SQL connect (cash db) in 1 connection. but i want to know other effect like a performance , memory usage .. etc Best Regrads. Dome C.
-nf has nothing to do with the performance, it has to do if the command blocks or not when you run it. I am unsure what you mean about sql in this context, it is totally unrelated. What is a cash db? Mike On Mar 10, 2010, at 12:10 AM, Dome Charoenyost wrote:
Dear All, How about performance when start FS with -nf (no fork). I ask because i want to keep SQL connect (cash db) in 1 connection. but i want to know other effect like a performance , memory usage .. etc
2010/3/10 Michael Jerris <mike@jerris.com>:
-nf has nothing to do with the performance, it has to do if the command blocks or not when you run it. I am unsure what you mean about sql in this context, it is totally unrelated. What is a cash db? sorry i mean switch_cache_db_connection :) i have problem about db connection. now switch_cache_db_connection use 1 connection for 1 thread if i use mod_limit with odbc my server can't handle more than 100 connection. So i'll try FS in no fork. but i want to know other effect.
BG Dome C.
Mike
On Mar 10, 2010, at 12:10 AM, Dome Charoenyost wrote:
Dear All, How about performance when start FS with -nf (no fork). I ask because i want to keep SQL connect (cash db) in 1 connection. but i want to know other effect like a performance , memory usage .. etc
_______________________________________________ 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
On 03/10/2010 04:12 AM, Dome Charoenyost wrote:
2010/3/10 Michael Jerris<mike@jerris.com>:
-nf has nothing to do with the performance, it has to do if the command blocks or not when you run it. I am unsure what you mean about sql in this context, it is totally unrelated. What is a cash db?
sorry i mean switch_cache_db_connection :) i have problem about db connection. now switch_cache_db_connection use 1 connection for 1 thread if i use mod_limit with odbc my server can't handle more than 100 connection. So i'll try FS in no fork. but i want to know other effect.
BG
Dome C.
I think you misunderstand what it is that the -nf option does. It will have no bearing on how switch's odbc caching mechanisms work. For example, I run freeswitch under a supervising daemon (djb's daemontools in this case) with -nf and -nc options. This prevents freeswitch from spawning the console, and it also prevents freeswitch from forking to the background. In otherwords, it keeps freeswitch from becoming a background daemon. Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com
participants (3)
-
Dome Charoenyost
-
Michael Jerris
-
Yossi Neiman