in reply to SIGCHLD interrupting accept call?
Here are a few ideas in no particular order:
You may want to try using lsof to see what the process is doing (lsof is an awesome utility that lets you look at what files, network ports, etc...a process has open. Also works the other way around.. what processes have a partifular file, network port, etc... open).
How does it behave if you connect 2 clients to it? Does the server program exit when the first client disconnects or only after both disconnect? If you disconnect one of them can you connect a third one at that point?
Are you running the most current version of IO::Socket
Try setting your SIGCHLD handler to:
$SIG{CHLD}='IGNORE';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: SIGCHLD interrupting accept call?
by ZZamboni (Curate) on May 09, 2000 at 07:37 UTC |