Re: SpamProbe hangs indefinitely

Brian Burton <[email protected]> Fri, 23 Jun 2006 13:44:15 -0400
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jun 23, 2006, at 10:59 AM, Alexander Klink wrote:
> since yesterday or so, spamprobe hangs indefintely when parsing an
> incoming message (both using receive or train). Trying to clean the
> database does not work either (it became pretty large with ~140 MB or
> so).
> Here's a snippet from strace:
>
> stat64("/home/alech/.spamprobe/sp_words", {st_mode=S_IFREG|0600,

The index is probably corrupted in the database file.  Assuming this  
is a berkeley db database you might be able to repair it.  if export  
won't work maybe you can use db_dump and db_load.  Note before using  
these you should rename the database file or prevent spamprobe from  
running because these commands don't lock the database the same way  
as SP.

    mv sp_words bad_sp_words
    db_dump -r bad_sp_words > bad_sp_words.dump
    db_load sp_words.new < bad_sp_words.dump
    mv sp_words.new sp_words

All the best,
++Brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iQEVAwUBRJwodTxRyEoJfXIFAQJteQf/YIPzP37ofZtvf6zsIMlk1D/U2m+agg4A
7zmRvoo3DDa60jZlBhkMyAzffwBT5A9pb14ToLdgVQxx4f8bTRsSGwdsJkX+gQ1X
LiVrD18V8jO6iWY641MEubXg/vkWwSv16TpwiIMFhAlWPoPG53wceLd+GtFdpsBa
dSJgAWrlNDkoQWEEllGLh8D7RGWFHz6kLz4U0/s5uW5k607ePXcHQPL6ePNPadEE
punSGFKEWZpra0ICumfPgBBjmRVL0Ga5pVx9mQ0i3ck4yjSfjqTNcLS3vyvGZsIA
t26v0Qq1r9md9IHyPU9rvsRK/M+cTJISg1APv1a4sElF0UzusMTljw==
=sWSZ
-----END PGP SIGNATURE-----

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642