[Zope-dev] Xron error!!!
Loren Stafford
lstafford@morphics.com
Thu, 24 May 2001 15:33:46 -0700
1. If you can use the management interface, you can disable a Xron Scheduled
Method by deleting it from the Schedule catalog or setting its reschedule
interval to null.
2. If you delete (or just rename __init__.py to something else in) the Xron
Product. And restart Zope, there will be no Dispatcher to execute Xron
Scheduled Methods; so looping will stop.
3. The messages in the log file should indicate what kind of error the Xron
Dispatcher is encountering. If this is some kind of environmental condition,
perhaps you can fix it external to Zope and the Dispatcher will stop
looping.
4. The Dispatcher is designed to cancel erring Xron Scheduled Method,
precisely so that it will not go into a loop. The fact that it seems to be
looping indicated some very unusual condition. Please let us know what the
log file says.
5. You can truncate the bloated tail end of a Data.fs file using standard
system tools. I don't remember how right at the moment, but a search in the
mail archives on trucate and data.fs might be fruitful. Don't throw away the
original file, because you might truncate other transactions that you wanted
to save. IOW, finding the right spot to truncate is the trick.
-- HTH
-- Loren
> -----Original Message-----
> From: zope-dev-admin@zope.org [mailto:zope-dev-admin@zope.org]On Behalf
> Of Espen Sorbye Frederiksen
> Sent: Thursday, May 24, 2001 13:06
> To: zope-dev@zope.org
> Subject: [Zope-dev] Xron error!!!
>
>
> My Xron file has gone crazy and does not stop running. I have stopped my
> server and started it again, but the xron file is still running. This
> causes the Z2.log file and Data.fs files to
> grow to enormous files and I struggle to be able to log into the system.
>
> First: Can I delete the overloaded Data.fs file in the var/ directory, or
> will this cause serious trouble?
>
> Secondly: Is there a cure against that void Xron file of mine or must I
> manually delete it from were my own files are stored?
>
> Thanks for any kind of help,
>
> Espen
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>