> -----Original Message-----
> From: Andy Spitzer (JIRA) [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 10, 2008 11:02 AM
> To: Beeton, Carolyn (CAR:9D60)
> Subject: [SFtrack] Commented: (XECS-1902) Clean up orphaned 
> processes on sipxpbx start
> 
> 
>     [ 
> http://track.sipfoundry.org/browse/XECS-1902?page=com.atlassia
n.jira.plugin.system.issuetabpanels:comment-tabpanel#action_> 33456 ] 
> 
> Andy Spitzer commented on XECS-1902:
> ------------------------------------
> 
> Just to be clear, all "freeswitch -stop" does is find the pid 
> of the running FreeSWITCH process and send it a signal.  If 
> you already know the pid there really is no need to do 
> "freeswitch -stop",  just send the signal.  It's just a 
> convience function they added.
> 
> But generically, you are correct.  The "stop" function in the 
> process definition files should be used to stop running 
> processes (even orphans).
> 
> --Woof!

I noticed problems earlier - maybe freeswitch used to run as root?  kill
didn't work, had to sudo kill, or use -stop.  Anyway, it is an easy
change in the state machine to stop any pre-existing process the
"proper" way before starting it up.  This will be a shorter interruption
of service as well, and the supervisor-in-waiting will need it.

Carolyn
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to