Re: Mac throws "Can't fork" after forking daemon a number of times. W hats wrong ?
Re: Mac throws "Can't fork" after forking daemon a number of times. W hats wrong ?
- Subject: Re: Mac throws "Can't fork" after forking daemon a number of times. W hats wrong ?
- From: Markus Hitter <email@hidden>
- Date: Wed, 7 Jul 2004 13:58:22 +0200
Am 07.07.2004 um 12:38 schrieb Sanjay Mishra:
I just pass all the arguments to it to one of the existing filters
using execlp() and call wait() as the last function in the filter.
You simulate the system() or popen() function ...
After around 80 transactions and that too only on the single processor
Mac machines it
throws the error "can't fork".
... obviously less than perfect.
What could be going wrong?
Some table, noteably the kernels process table, might fill up. Try a
"ps -auxww" while you notice the fault and look for something unusual.
... it gets the file from a predefined location ...
(shuffling the data around through pipes should be faster and no disk
space is needed)
Are there any tool that can help me out.
As a last resort, reduce code until it fits into an eMail and post it
here.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.