On Tue, 2003-03-11 at 13:05, Ryan Finnie wrote: > On Tue, 11 Mar 2003, D.Monroe wrote: > > By far, the biggest "hit" (running just Q-S) is likely due to the > > overhead of the perl interpreter and the perlscan body/attachment searches. > > I've been thinking about that... there's not much you can do about the > overhead for decompiling the messages before being scanned, but the act of > actually loading the full perl script each time a message comes in is a > significant hit. What I'd be interested in seeing is a method similar to > SA's spamd/spamc system, where the Q-S program is loaded as a separate > process, listens for connections (either via TCP of UNIX sockets), and > does its thing.
Has anyone tried this: http://daemoninc.com/PersistentPerl/ "After the script is initially run, instead of exiting, the perl interpreter is kept running. During subsequent runs, this interpreter is used to handle new executions instead of starting a new perl interpreter each time. A very fast frontend program, written in C, is executed for each request. This fast frontend then contacts the persistent Perl process, which is usually already running, to do the work and return the results." Rick > The actual QMAILQUEUE file would be a small C program > whose only job is to connect to the Q-S socket, send the request, and get > a response back. This way you're not loading the whole perl interpreter > every time a mail comes in. > > RF > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general -- -- Rick Romero IT Manager Valeo, Inc. ph: 262.695.4841 Sussex, WI. fax: 262.695.4850 [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
