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