Timothy S. Nelson wrote: > > Ok, I've taken over this job from the guy who wrote the original > message. Anyway, the filter isn't crashing, but it is processing > very slowly. When the number of Unix domain sockets that are > connected to it gets to 128, the errors above appear. If there's > some way to fix this, I'd love to hear about it. > > The filter in question is pureperlfilter, which is written by Julian > Mehnle, who has requested that support messages for that module also > be directed to this list. > > Anyway, I have a question for Julian and others close to > Courier::Filter -- is there any chance that the multithreading > support will be entering alpha/beta testing sometime soon? Because > it seems to me that the CPU is not very heavily loaded (load average > of 0.46), so it's presumably blocking on IO or something. I'm hoping > that by processing multiple threads in parallel, we'll be able to get > through things quicker. > > If it helps, the SpamAssassin module is the one thats slowing > everything down. I tested this by removing it from the > pureperlfilter config. > > I'm still using Courier::Filter version 0.17, but after reading the > Changelog, I'm guessing this won't make a lot of difference.
I would take another look at SpamAssassin. SA tends to be a memory hog (especially if you've added a bunch of 3rd party rules). My SA processes use about 50-60M each. If you have too many SA processes, you can run out of physical memory and start swapping. If SA starts swapping, it's game over...spam processing slows down to a crawl. When the problem starts up, check your memory usage. If the system is swapping, reduce the maximum number of SpamAssassin processes until they fit within the system's physical memory. If you need to run more processes, you can add more memory or remove any large or unnecessary 3rd party rules to shrink SA's memory usage. If you need help sorting through the rules, post on the SA list and we can help you figure out which ones may not be needed. -- Bowie ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
