21 Feb
2007
21 Feb
'07
5:56 p.m.
at one point Monday I accidentally launched a thousand freeswitch processes and crashed my box. Well that was dumb. But here is a patch to switch.c that makes freeswitch refuse to start if the process listed in freeswitch.pid is still running, and also does flock locking on the logfile to serialize the time between performing that check and writing our own pid there. -- "I've never been elected dog-catcher and I've never had an employee." -- Bruce Sterling