First, it's a Solaris 5.6 box with perl 5.6.0. Also, I've run other scripts that uses this class almost identically and this behavior doesn't happen. That is what's baffling and I'm not sure where to look. I'm not too sure about your theory of kill sending SIGTERM to an entire group. I found this little writeup that basically says, you make the number negative to send to a group. I'm definately not sending it negative.
kill
Specifies a decimal integer representing a process or process group to be signaled. If PID is a positive value, the kill command sends the process whose process ID is equal to the PID. If the PID value is 0, the kill command sends the signal to all processes having a process group ID equal to the process group ID of the sender. The signal is not sent to processes with a PID of 0 or 1. If the PID is -1, the kill command sends the signal to all processes owned by the effective user of the sender. The signal is not sent to processes with a PID of 0 or 1. If it is a negative number but not -1, the kill command sends the signal to all processes that have a process group ID equal to the absolute value of the PID. -l Lists all signal names supported by the implementation
In reply to Re: Re: wierd wierd behavior with SIGTERM and classes
by shrubbery
in thread wierd wierd behavior with SIGTERM and classes
by shrubbery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |