Thu, 15 Feb 2007 (11:41 -0500 UTC) Craig Green wrote:
robert delius royar wrote:
The earlier version did not require any thread-related parameters to
configure. Perhaps this problem is a thread-related issue. Note that
sendmail was compiled with threads enabled (nm shows calls to pthread_* in
libmilter.so)
[As an aside, when I did try 0.90 clamd, it quickly ran up to 80% of my CPU
time (on a dual CPU system). The only way to kill it was a SIGKILL.]
This sounds like the threading problems mentioned previously with FreeBSD and
0.9rc clamd. We solved it by forcing clamd to use libthr rather than
libpthread using /etc/libmap.conf, and the solution also appeared to work for
another admin a few days ago (see the "ScanStream: accept timeout,
unkillable" thread).
However, we use FreeBSD 6, not 4, so I don't know if there's an equivalent or
similar solution for you.
We haven't tried 0.90 itself as it's not yet in the ports tree, but from the
"load under 0.90" thread detailing issues Solaris users are having with 0.90
and the similar or same symptoms, I'm thinking it might be that Clam's
threading code had some tweaking done and the problem's there, rather than
with the OSes themselves. However, I readily admit that I am not an expert
and that this speculation is likely worth considerably less than 2 cents....
:-)
Thank You for your valuable 2 cents!
I do not have a /etc/libmap.conf, and man libmap.conf does not exist, so
I tried
ln -s /usr/lib/libc_r.so /usr/local/lib/libpthread.so
Then I reconfigured and rebuilt. clamav-milter 0.90 appears to be
running, now. Mail shows the ClamAV header (version 0.90) and the scans
are not timing out at all.
Perhaps for FreeBSD prior to 5.x, the configure script should create a
libtool that links with libc_r rather than with libpthread.
I will watch the system for a few days specifically to see what
clamav-milter is doing interms of system usage and open files. But I am
hopeful.
--
Dr. Robert Delius Royar <[EMAIL PROTECTED]>
Associate Professor of English, Morehead State University
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html