Re: Running 4000 processes
- From: "peace07" <f.florey@xxxxxxxxxxxxxx>
- Date: 26 Jan 2007 02:36:27 -0800
Hi Jeannot,
this message reflects the fact, that the underlaying OS can't open any
more files. On which OS are you working? Unix? If so, you are probably
fine, because you can simply change the number of max open files. To
see the limit, type
ulimit -a
on the command line.
If you reached the hard-limit allready, you have to change this in a
way, depending on your OS.
It has nothing to do with Tcl.
Regards,
Friedemann
On 26 Jan., 11:19, "Jeannot" <jean.mul...@xxxxxxxxxxxxxxxxxx> wrote:
Hi,
I have lots of processes to run (4000). They have to be submitted to a
server using the qsub program (qeuing system0. Usually I use the exec
command following the the command to execute but hte problem is that
qsub does not handle with arguments. So my solution was to use open "|
qsub"... which I am not used to!
this is inside a loop that will launch the 4000 processes:
set MUSCLE_cmd "muscle -in $Input"
set F [open "|qsub" r+]
puts $F $MUSCLE_cmd
puts "close $F"
flush $F
This seems to work fine unless the fact that after a certain number of
processes being launched I got this error message?
"Error in startup script: couldn't create pipe: too many open files"
Any idea of how I could fix this or enhance my script? I really want to
understand how this work which I am not sure of getting every
details... if there is so;ething to to with exec, please tell me also!!
May thanks in advance.
Jeannot
.
- Follow-Ups:
- Re: Running 4000 processes
- From: Jeannot
- Re: Running 4000 processes
- From: Jeannot
- Re: Running 4000 processes
- References:
- Running 4000 processes
- From: Jeannot
- Running 4000 processes
- Prev by Date: Running 4000 processes
- Next by Date: Re: Running 4000 processes
- Previous by thread: Running 4000 processes
- Next by thread: Re: Running 4000 processes
- Index(es):
Relevant Pages
|