You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Theo Van Dinter <fe...@apache.org> on 2007/08/01 19:50:48 UTC
[root@eclectic.kluge.net: Cron ulimit -s unlimited ; nice -10 /home/felicity/SA/corpus/run-corpora-cs --server]
I was going to go through the AICache patches and make some comments, but I
haven't had a chance yet. However, here's a definite comment: it's broken in
my environment.
I run mass-checks as both "felicity" and "corpus". "corpus" only has write
access to the cache file, and read-only access to the rest of the dirs/files.
So when SA tries to create a temp file, "corpus" gets permission denied.
----- Forwarded message from Cron Daemon <ro...@eclectic.kluge.net> -----
status: starting scan stage now: 2007-08-01 05:12:04
Can't write AI cache file (/home/corpus/SA/corpus/ham/personal/2007/08/01/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/ham/personal/2007/07/31/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/ham/personal/2007/07/30/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/ham/personal/2007/04/12/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/ham/hamtrap/2007/08/01/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/ham/hamtrap/2007/07/31/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/spam/personal/2007/08/01/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/spam/personal/2007/07/31/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/spam/spamtrap/2007/08/01/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
Can't write AI cache file (/home/corpus/SA/corpus/spam/spamtrap/2007/07/31/.spamassassin_cache.new): Permission denied at /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm line 167.
status: completed scan stage, 443157 messages now: 2007-08-01 05:12:57
[...]
--
Randomly Selected Tagline:
The trained mind does not need a watch. Watches are a confidence trick
invented by the Swiss. - Chiun in Remo Williams: The Saga Begins
Re: [root@eclectic.kluge.net: Cron ulimit -s unlimited ; nice -10 /home/felicity/SA/corpus/run-corpora-cs --server]
Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, Aug 01, 2007 at 07:11:28PM +0100, Justin Mason wrote:
> you could use --cachedir?
Sure, if I wanted to spend time re-rigging my entire corpus/mass-check
setup/migrating cache information/etc.
> I'd be ok with reverting that part of the change back to what it was
> before, but note that it's got a pretty serious race condition; if
> the process is CTRL-C'd halfway through the loop, it'll write
> an incomplete file and lose data.
local $SIG{'INT'} = 'IGNORE';
? :)
--
Randomly Selected Tagline:
Professor: "If a dog craps anywhere in the universe, you can bet I won't be
out of loop."