28 Aug 07:26
Process "Killed"
From: dieter <vel.accel <at> gmail.com>
Subject: Process "Killed"
Newsgroups: gmane.comp.python.general
Date: 2008-08-28 05:30:31 GMT
Subject: Process "Killed"
Newsgroups: gmane.comp.python.general
Date: 2008-08-28 05:30:31 GMT
Hi,
Overview
=======
I'm doing some simple file manipulation work and the process gets
"Killed" everytime I run it. No traceback, no segfault... just the
word "Killed" in the bash shell and the process ends. The first few
batch runs would only succeed with one or two files being processed
(out of 60) before the process was "Killed". Now it makes no
successful progress at all. Just a little processing then "Killed".
Question
=======
Any Ideas? Is there a buffer limitation? Do you think it could be the
filesystem?
Any suggestions appreciated.... Thanks.
The code I'm running:
==================
from glob import glob
def manipFiles():
filePathList = glob('/data/ascii/*.dat')
for filePath in filePathList:
f = open(filePath, 'r')
lines = f.readlines()[2:]
f.close()
(Continue reading)
RSS Feed