Print Page | Close Window

corpus.db is locked and stops forwarding

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5272
Printed Date: 13 October 2025 at 7:08pm


Topic: corpus.db is locked and stops forwarding
Posted By: gzejer
Subject: corpus.db is locked and stops forwarding
Date Posted: 20 July 2005 at 9:21am

I am having a weird problem. I am running the latest version of SpamFilter ISP and it works great but after a few days I get the messages below and it stops forwarding emails to my exchange server. Anyone knows what might be causing it?

07/19/05 18:36:30:406 -- Starting to process queue directory...
07/19/05 19:01:31:828 -- (6892) SpamFilterForm - Begin loading corpus.db
07/19/05 19:01:31:828 -- (6892) SpamFilterForm - skipping loading - corpus.db is locked
07/19/05 19:01:31:828 -- (6892) SpamFilterForm - End loading corpus.db
07/19/05 19:31:31:812 -- (7476) SpamFilterForm - Begin loading corpus.db
07/19/05 19:31:31:812 -- (7476) SpamFilterForm - skipping loading - corpus.db is locked
07/19/05 19:31:31:812 -- (7476) SpamFilterForm - End loading corpus.db




Replies:
Posted By: LogSat
Date Posted: 20 July 2005 at 6:55pm
gzejer determined that the issue was caused by the disk partition where SpamFilter was installed being full. Everything went back to normal when more disk space was made available.

-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: gzejer
Date Posted: 21 July 2005 at 9:13am
Roberton this is a completely different issue. I have about 20GB of space on that partition. SpamFilter works fine for a while and fails after about 1 week.


Posted By: LogSat
Date Posted: 21 July 2005 at 12:11pm
..oops! I tried to make it too easy. If the corpus is locked the worse that can happen is that the email will not be scanned by the Bayesian filter.

Can you try, while SpamFilter is running, to delete the db.dat and db.dat.prb files (after making a backup of them first)? If you're able to do so, somhow SpamFilter is keeping a lock on them and we'll have to figure out why.

If they are still locked and are unable to delete them, can you then try to stop SpamFilter and then try again deleting them? If you're unable to to it now, there's another application (antivirus?) on the server locking the files, and you'll need to find out what that is.

After deleting the files, can you try to stop SpamFilter, and delete the whole corpus directory (again making a backup first), and then restarting SpamFilter to see if the problem goes away with a fresh corpus?


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP



Print Page | Close Window