21 Feb
2007
21 Feb
'07
8:57 p.m.
On 2/21/07, David Nicol <davidnicol@gmail.com> wrote:
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.cthat 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.
To anyone that runs multiple instances you want to ensure that the db dir isnt used by some other FS process as well. -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast +44 28 9099 6461 US +1 516 687 5200 http://www.trxtel.com the VoIP provider that pays you!