On Mon, 19 Jan 2009 15:47:00 +0530, srinivasan srinivas wrote: > Hi, > I have written a script which will spawn more than 200 no of > subprocesses. I have used subprocess.Popen to do that. > > OSError: [Error 24] Too many open files. > > Could someone help me in fixing this error?
Open fewer files. As I understand it, each subprocess counts as at least one open file. You may be able to increase the number of open files, but that will be dependent on the operating system you are using. -- Steven -- http://mail.python.org/mailman/listinfo/python-list