Trog wrote:
On Wed, 2005-01-26 at 10:58 +0100, Krištof Petr wrote:
Andrey J. Melnikoff (TEMHOTA) wrote:
I tested 0.81rc1 with zlib 1.2.2.2 on linux and clamd stops respond
after several hours/days to clients (clamav-milter, clamdscan) requests.
There must be STREAM related problem, I think.
Try attached patch. And report - it fix problem or not.
I have limited time resources, so did applied both patches together -
your's thrmgr.c.patch
I don't believe I've seen this patch, please forward me a copy.
Sorry, I missed the fact Andrey sent me this patch by private mail.
Im compiling vanilla 0.81rc1 with Andrey's patch only now. To verify
this patch solved my problem and it is not related to SESSION.
Thanks
Petr
--- thrmgr.c 29 Mar 2004 00:00:57 -0000 1.7
+++ thrmgr.c 24 Jan 2005 13:58:32 -0000
@@ -234,6 +234,7 @@
}
if (threadpool->state != POOL_VALID) {
+ pthread_mutex_unlock(&(threadpool->pool_mutex));
return FALSE;
}
work_queue_add(threadpool->queue, user_data);
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users