Python randomly exits with Linux OS error -9 or -15
Emile van Sebille
emile at fenx.com
Mon Apr 9 09:10:50 EDT 2012
On 4/9/2012 3:47 AM Alain Ketterlin said...
> Janis<janis.viksne at gmail.com> writes:
>
>> I have this problem with my script exiting randomly with Linux OS
>> status code -9 (most often) or -15 (also sometimes, but much more
>> rarely).
<snip>
> My guess is that your script hits a limit, e.g., number of open files,
> or stack-size, or... But of course it's only a guess.
You might try monitoring /proc/[pid]/fd and friends to see if it looks
like you'd expect. I'd suspect you're holding on to file refs
preventing their being garbage collected...
Emile
More information about the Python-list
mailing list