<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 6/29/11 2:33 PM, Mark Martinec wrote:
<blockquote
cite="mid:201106292033.28818.Mark.Martinec+amavis@ijs.si"
type="cite">
<pre wrap="">It may be possible to have two instances of clamd running on
separate sockets, and when one fails switch over and restart
amavisd on the other, while leaving the first for experimentation.
</pre>
</blockquote>
I have this.. sorta.<br>
<br>
all of my amavisd.conf (2.6.4) have a backup scanner which is a tcp
socket 'in the cloud' on our network.<br>
<br>
one machine did fail over, and began to use the remote backup
scanner.<br>
<br>
I did a gdb (connect), then told gdb to core dump.<br>
<br>
I am waiting for someone at clamav/SF to ask me for the 300MB+
coredump.<br>
<br>
clamdscan -V failed (would not connect) amavisd (not debug) gets me:<br>
<br>
Jun 29 00:00:02 spammertrap amavis[93245]: (93245-20)
(!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to
talk to /var/run/clamav/clamd (Can't connect to UNIX socket
/var/run/clamav/clamd: Connection refused) at (eval 105) line 373.\n<br>
<br>
nothing in syslog, nothing in /var/log/clamav/*.logs<br>
<br>
i replaced it with that patched 0.97.1_1 (without the 'fix' for
multiple wdt's on bytecode tests)<br>
<br>
but, 0.97.1 (best I can do today):<br>
<br>
top:<br>
20021 clamav 13 44 0 341M 0K umtxn 0 0:00 0.00%
<clamd><br>
<br>
<br>
note, a running one gest me this:<br>
<br>
30351 clamav 3 44 0 181M 159M ucond 1 0:00 0.00%
clamd<br>
<br>
(yes, <clamd> brackets must be something freebsd does every
now and than)<br>
<br>
its the RES of 0K and umtxn when hung, and 159M when NOT hung that
is intertesting.<br>
<br>
where did the ram go?<br>
<br>
and, no, I didn't run out of swap.<br>
<br>
<div class="moz-signature">-- <br>
Michael Scheidell, CTO<br>
o: 561-999-5000<br>
d: 561-948-2259<br>
<font color="#999999">></font><font color="#cc0000"> <b>| </b></font>SECNAP
Network Security Corporation
<style type="text/css">
<!--
.unnamed1 {
margin: 1em;
padding: 1px;
} -->
</style>
<ul class="unnamed1">
<li>Best Mobile Solutions Product of 2011</li>
<li>Best Intrusion Prevention Product</li>
<li>Hot Company Finalist 2011</li>
<li>Best Email Security Product</li>
<li>Certified SNORT Integrator</li>
</ul>
</div>
<br>
<div id="disclaimer.secnap.com"><hr />
<p>This email has been scanned and certified safe by SpammerTrap®.
<br />For Information please see
<a href="http://www.secnap.com/products/spammertrap/">http://www.secnap.com/products/spammertrap/</a></p> <hr /></div>
<br>
</body>
</html>