I feel confident in reporting that the freezing issue on my FC1 server has been eliminated by the info/change that Tomasz provided me with, I have disabled the cron job that was restarting the process every two hours to keep it from freezing and it's been humming along fine for 9 hours and I was lucky if it would go 4 hours without freezing.

Here's a diff for those who wish to try it.

___________________________________________________

--- libclamav/matcher-bm.c.orig 2004-11-26 12:22:13.000000000 -0700
+++ libclamav/matcher-bm.c 2004-11-26 12:22:15.000000000 -0700
@@ -79,5 +79,5 @@
int cli_bm_init(struct cl_node *root)
{
int i;
- unsigned int size = DHASH(256, 256, 256);
+ unsigned int size = DHASH(528, 528, 128); /* updated to 128k instead of 62.25k - DHASH(256, 256, 256) */


@@ -103,5 +103,5 @@
{
struct cli_bm_patt *b1, *b2;
int i;
- unsigned int size = DHASH(256, 256, 256);
+ unsigned int size = DHASH(528, 528, 128); /* updated to 128k instead of 62.25k - DHASH(256, 256, 256) */



___________________________________________________

-- Dale

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to