I am trying to use multiprocessing via the Process module. I run two processes in unison and for some reason python or the os kills my process after roughly 50 seconds or during long processes (~3 min). I just get the following output:
File 3 of 8
2010-10-11 13:28:09.090816: Building XML structure...
I implemented it as follows (Obviously there's more, but I can't post everything here because it's extremely long.)
from multiprocessing import Process for i in proclist: p = MainProcess(i,csvMap) runlist.append(p) p.start() for i in runlist: i.join() while True: for i in runlist: if not i.isAlive(): i.terminate()