I read somewhere that SIGCHLD is not very reliable with Perl and that race conditions could occur. Can it be just that the source of my problem?Not if $SIG{CHLD} is indeed set to 'IGNORE' in your program.
One possibility for getting into troubl with multiple processes is to try to use them same socket with all of them. This will probably happen if you create your Net::SNMP session in advance for all your children and try to use it from all of them; either create a separate object in each (leaf!) child or put all uses of the session inside mutexes.
In reply to Re: Re: Re: Nested forks -help!
by ariels
in thread Nested forks -help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |