interpreter crashes
Paul Rubin
phr-n2001d at nightsong.com
Sun Oct 28 09:51:19 EST 2001
Peter Hansen <peter at engcorp.com> writes:
> All crashes I've ever seen were with other libraries, or when
> I was trying to wrap a DLL with calldll under Windows. Never
> seen a crash yet under Linux. Python is _solid_.
This was Python 2.1.1 under Redhat 7.1. I am 100% positive I wasn't
using any 3rd party extension modules. However I had some standard
library modules loaded--I'm not sure which ones. Also, I had been
repeatedly reloading my own Python modules, which has always seemed
like a flaky process to me.
> Run a separate task which checks the status of the Python app from
> time to time (maybe with cron?). Kill and restart as necessary.
Good idea, I guess. Although the app needs to keep some persistent
data structures in ram (for security reasons it can NOT checkpoint
them to disk, so don't bother suggesting that). Maybe I have to use
the shm module or something like that.
Thanks
More information about the Python-list
mailing list