Getting OSError, Could someone suggest?

  • Thread starter srinivasan srinivas
  • Start date
S

srinivasan srinivas

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?

Thanks,
Srini


Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
 
S

Steven D'Aprano

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top