[Zope] Crazy Problem With Having to Restart Zope Won't Go
Away!
jacob walcik
jwalcik@notwithstanding.org
Mon, 14 May 2001 18:03:52 -0500 (CDT)
> At 04:49 PM 5/14/2001 -0500, you wrote:
> >have you tried including the full path to the start script?
>
> I forgot to mention, the script resides in the Zope directory. It *does*
> work for a while (i.e., finds ./start like it should) then complains that
> it can no longer find ./start
even if it's in the zope directory, the value of the environment variable
$PWD should be checked to be sure it's set to the zope directory. if that
script is geting thrown into the background, it should keep that value,
but you never know (especially if you're getting an error reporting that
the start script couldn't be found)
>
> >instead of having your script sleep and then run again, why don't use just
> >run it out of cron once every say, fifteen minutes or half hour?
>
> I don't want the server to be down even for a minute. Yeah, maybe it's
> anal. Maybe a cron script *would* work, but why would it work when this
> infinite loop script that sleeps fails? I don't get it. Thanks for pitching
> in. If you have more ideas, please lay them on me.
> TIA,
> BenO
it could run every minute out of cron...
it wouldn't be perfect, but it'd keep the server up and buy you the time
to find a more permanent solution.