It sounds like you want persistentrestart set to false. This way, the server won't bother waiting to shut down completely and save variables. We've had persistentrestart set to false for a long time and in the vast majority of crashes, it will detect the crash and restart another instance in a second or two.
For the cases where a crash isn't detected, the attached shell script can restart the server. We run it vi cron every minute.
The Witango installer should have put the correct startup script at:
/Library/StartupItems/Witango5/Witango5
Do you have to run the app server as user webstar?
- Jeff
I see in the /install/ folder a couple of .command files. Do I edit these and put them somewhere to cause witango to launch on start?
for the persistent restart, I don't care about bad variables being loaded as the startup taf loads good ones. I just want witango to restart whenever it crashes - in the right user space.
On Friday, October 17, 2003, at 01:03 PM, Jeff Bohmer wrote:
I believe that setting only affects whether the app server writes out it's variables on shut down (and reads them on startup). Your startup script will determine what user the daemon runs as.
If the app server crashes and restarts itself, I'm not sure what it will do. But the persistentrestart setting would not affect what user it starts as. If you're getting app server crashes, turning on persistentrestart might make the app server load bad variable values under certain circumstances.
- Jeff
I'm running witango as a webstar user (witangod -u)
If I set persistentrestart to TRUE, will it restart as I originally started it?
______________________________________________________________________ __ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
--
Jeff Bohmer VisionLink, Inc. _________________________________ 303.402.0170 www.visionlink.org _________________________________ People. Tools. Change. Community. _______________________________________________________________________ _ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
watcher.sh.gz
Description: Mac BinHex archive
Jeff Bohmer VisionLink, Inc. _________________________________ 303.402.0170 www.visionlink.org _________________________________ People. Tools. Change. Community.
