Byteplant Forum

Home » CleanMail Support » CleanMail Server Talk » sluggish server
sluggish server [message #1097] Tue, 12 April 2005 12:06
Mario Konst
Messages: 12
Registered: November 2004
Junior Member
After a little investigation and googling a bit I found the following problem:
- Server constant 100% CPU
- lots of SMTP 550 errors
- Lots of 442 errors
(In both cases mail is deferred, rejected or not delivered)
- lots of bayes_toks.expireXXXX files (over 350 MB)
action taken:
automatic expire disabled in local.cf

Questions:
Is it safe to remove al bayes_toks.expireXXXX files?
When is it safe to do a manual expire? (mail is also delivered at night)
What is the best practise in this scenario where a server is constantly busy?

Regards,

Mario Konst
Re: sluggish server [message #1098 is a reply to message #1097] Tue, 12 April 2005 12:59 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
> After a little investigation and googling a bit I found the
> following problem:
> - Server constant 100% CPU
> - lots of SMTP 550 errors
> - Lots of 442 errors
> (In both cases mail is deferred, rejected or not delivered)
> - lots of bayes_toks.expireXXXX files (over 350 MB)
> action taken:
> automatic expire disabled in local.cf

Good. To make things simpler, you can start expiry with the admin app of NoSpamToday! since version 2.0.4.2.

> Questions:
> Is it safe to remove al bayes_toks.expireXXXX files?

Yes.

> When is it safe to do a manual expire? (mail is also
> delivered at night)
> What is the best practise in this scenario where a server is
> constantly busy?

Anytime. No mail will be lost, because SMTP is designed to be fault-tolerant.
Bayes expiry locks the database and may take several minutes. If mail happens to come in at the same time, SpamAssassin waits until this lock is released. If expiry takes more than about 5 minutes, it is likely that the SMTP session times out and the sender has to retry mail delivery later.

In the manual of NoSpamToday! we now recommend running "expire.bat" (find it in the installation directory) once daily using Windows' task scheduler.



Customer Support
Byteplant GmbH
Previous Topic: NST skipping check when CC addresses are not in license list?
Next Topic: message for blocked attachment
Goto Forum:
  


Current Time: Thu Sep 29 08:42:47 CEST 2016