He also said this
"The idea is as follows :
- each time you start a child process, it occupies a new position in some
internal process table, which can contain maximum 64 processes under NT
- even if the child process terminates, that position in the internal
process table is still occupied, and the only way to clear it and make it
available
again, is to do a waitpid(), with the process-id of the (now dead) child.
That process-id is what is (originally, right after the call to open2()) in
the $ExtPid variable.
So you must find out, in your program, when the child process has finished
it's work, and then do a waitpid() on it's process-id to clean the table.
If you don't do that, then slowly the table gets full, and when you have 64
"dead" processes in it, you will get this error when you try to start
another one.
"
He could not find another solution or view my codes and addpet it...
I hope someone can help me
Thanks a lot
"The idea is as follows :
- each time you start a child process, it occupies a new position in some
internal process table, which can contain maximum 64 processes under NT
- even if the child process terminates, that position in the internal
process table is still occupied, and the only way to clear it and make it
available
again, is to do a waitpid(), with the process-id of the (now dead) child.
That process-id is what is (originally, right after the call to open2()) in
the $ExtPid variable.
So you must find out, in your program, when the child process has finished
it's work, and then do a waitpid() on it's process-id to clean the table.
If you don't do that, then slowly the table gets full, and when you have 64
"dead" processes in it, you will get this error when you try to start
another one.
"
He could not find another solution or view my codes and addpet it...
I hope someone can help me
Thanks a lot