From: Jeff <je...@ba...> - 2001-10-17 21:43:05
|
On Wed, Oct 17, 2001 at 03:33:50PM -0500, Techwolf wrote: > I thought IDS was already written to work with mod_perl. If so, how does > one go about getting apache to run IDS under mod_perl. So simple a > question, but I keep getting info on how to rewrite IDS, or other programs, > to work with mod_perl. I don't want to do that, I just want to run IDS > using mod_perl. I didn't see a startup.pl file with IDS. The previous poster detailed the httpd.conf configuration necessary for IDS, although the issue of the startup file and module preloading was not addressed. > I have read where one did get mod_perl to work with IDS, although as you > said, eats up a bit of memory, but when my system has 512M, shouldn't be > too much of a problem. *grins* 512M is not as much memory as it seems with modperl because each httpd child can chew up many double-digit megs of memory. I don't use modperl on servers with less than a gig. It really depends on how much traffic httpd is getting (how many children are spawned), how frequently IDS is called, how often the children are killed off, and some other things. Particularly with the imagemagick stuff, which uses oodles of memory when processing images, IDS has the potential to go through quite a bit of memory. If nothing else, set your MaxRequestsPerChild value very low (like single digit). Jeff |