On Monday 28 July 2003 11:27, Brian Candler wrote: > On Mon, Jul 28, 2003 at 03:38:52PM +0100, Brian Candler wrote: > > ISTM that if sqwebmail wants to install cleanup handlers for SIGINT / > > SIGTERM / SIGHUP then it should just cleanup the current request and > > exit() immediatetly, not longjmp back into the main loop. > > My proposed patch is below. The fundamental premise is that catch_sig > should exit immediately after cleaning up, rather than returning to the > main loop, and that SIG_PIPE should be ignored when running as fastcgi. > > I've gone through a build/rollout and it appears to be working nicely - > Apache has a pool of 8-10 sqwebmail processes and the load average runs up > to about 0.15 - but I'll let you know after a day or so of proper usage. > Although my dev box has had fastcgi running for a while, this is the first > time I've successfully got fastcgi running in a production environment. > This will also give a chance to see if its memory footprint is stable.
I, for one, will be interested to hear your findings in a week or so. I'm upping my mail server RAM from 512M to 1Gb tommorrow, which should give me plenty of free memory to play with, and I'm wanting to start using FastCGI soon after, so it'll be nice to hear some real-world feedback before I do so. You're a FreeBSD guy, too, right? > Cheers, > > Brian. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net