From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3508f453f52794b0,start X-Google-Attributes: gidfee84,public From: Rob Kirkbride Subject: Signals - queued? Date: 1997/06/27 Message-ID: <$ewrhNANOBtzEwLA@RK-COMP.DEMON.CO.UK>#1/1 X-Deja-AN: 253027571 Distribution: world X-NNTP-Posting-Host: rk-comp.demon.co.uk [194.222.52.8] Organization: Bedrock Corp. Reply-To: Rob Kirkbride Newsgroups: comp.unix.osf.osf1 I am using timers to trigger an an alarm every 50mS (SIGUSR2 I think). The problem is that every now and again (when the process is initialised and doing loads of disk access) the process just crashes with "User Signal 2". I suspect what is happening is that the thread doing the receiving of the signal has been swapped to disk temporarily. I think then the operating system is kill the process as it hasn't responded to the signal for so many ticks. The thread is running at the highest priority in the process indeed it runs at root and raises its priority to the system priority range. I may be way off here but do the signals get queued and does the operating system (shell?) kill a process if its doesn't respond within a certain period. I have been using 3.2g but we also investigating 4.0b on another machine if this makes any difference (only seen the behaviour on 3.2g). Any help would be much appreciated, Rob -- Rob Kirkbride rob@rk-comp.demon.co.uk