Re: Slow signal delivery to server process with heavy I/O

2010-07-10 Thread Stan Hoeppner
Dallas Clement put forth on 7/9/2010 7:38 PM: > I realize this test may appear unnatural and is perhaps unrealistic, > but I would like to be able to shutdown my server gracefully within a > reasonable amount of time, no matter what kind of load it is handling. > Don't want to have to wait sever

Slow signal delivery to server process with heavy I/O

2010-07-09 Thread Dallas Clement
Hi All, I've noticed that asynchronous signals such as SIGINT, SIGTERM etc are delivered to my process long after the signal is sent if the receiving process is handling lots of I/O. My process is a multi-threaded web server. It's got one thread waiting on 'select' to accept incoming connections