On Sat, Jul 28, 2001 at 10:29:31AM -0400, Philip Mak wrote: [snip] > Upon activating this system, the load average of the machine has increased > from 1-2 to 10! I suspect most of the time is being spent compiling the > perl script and connecting to the MySQL database, though. If I switch to > fastforward (or if I rewrite the script in C, and use a persistent > database connection handle somehow, maybe by storing it in an flock'd > file) maybe the load average will drop back down to normal. You can't store persistent database connection handles in flock'd files. There are two ways to persistent database connections: - do your stuff from within qmail (probably not the right spot) - have your perl/C program connect to a daemon that has a couple of persistent connections But I don't think this will help anything - most of your time is probably spent compiling perl. My recommendation is to use fastforward. Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html
- Re: Mail Forwarding Service Todd Finney
- Re: Mail Forwarding Service Adrian Ho
- Re: Mail Forwarding Service Frank D. Cringle
- Fastforward question (was Re: Mail Forwarding Servic... Philip Mak
- Re: Fastforward question (was Re: Mail Forwardin... Peter van Dijk
- Re: Fastforward question (was Re: Mail Forwardin... Adrian Ho
- Re: Fastforward question (was Re: Mail Forwa... Philip Mak
- Re: Fastforward question (was Re: Mail F... Adrian Ho
- Re: Fastforward question (was Re: M... MarkD
- Re: Fastforward question (was R... Philip Mak
- Re: Fastforward question (was R... Peter van Dijk
- Re: Fastforward question (was R... MarkD
- Re: Fastforward question (was R... Peter van Dijk
- Re: Fastforward question (was R... MarkD
- Re: Fastforward question (was R... Peter van Dijk
- Re: Fastforward question (was Re: M... Peter van Dijk
- Re: Fastforward question (was R... MarkD
- Re: Fastforward question (was R... Peter van Dijk
- Re: Fastforward question (was R... MarkD
- Re: Fastforward question (was R... Peter van Dijk
- Re: Fastforward question (was R... Adrian Ho
