Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - action taken when disk is out of space
  FAQ FAQ  Forum Search   Register Register  Login Login

action taken when disk is out of space

 Post Reply Post Reply
Author
kp4711 View Drop Down
Newbie
Newbie


Joined: 04 December 2006
Location: Germany
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote kp4711 Quote  Post ReplyReply Direct Link To This Post Topic: action taken when disk is out of space
    Posted: 03 August 2007 at 6:32am

Hi logsat,

I have seen that there is no function in logsat to secure email-receiving when the harddisk is out of space. I remember that SF spool al incomming mails in the system memory and do not sending (forwarding) anymore emails when harddisk is out of space.

I think that is an good idea to implement a function to diable receiving of new emails if space on harddisk will be less than x MB space and send an alert-message to blablabla@adminDomain

 

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2007 at 4:06pm
We've added the request to the wish list. We do however recommend using other tools monitoring the hardware, as they often do a much better job in alerting and recovering fro similar problems.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
kp4711 View Drop Down
Newbie
Newbie


Joined: 04 December 2006
Location: Germany
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote kp4711 Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2007 at 4:56am

great!!!

I know that it is a better way to monitor the system ba some system tools.
My intention was to impliment a feature for "last chance" so that no incomming mails are lost, when there is a system faillure like harddisk out of space.

 

Back to Top
pcmatt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 15 February 2005
Location: United States
Status: Offline
Points: 116
Post Options Post Options   Thanks (0) Thanks(0)   Quote pcmatt Quote  Post ReplyReply Direct Link To This Post Posted: 15 August 2007 at 9:53am
This is critical because other tools are not tied to SpamFilter processing logic and not everyone can afford to be watching monitoring tools 24/7/365. 
 
Right now when SpamFilter runs out of disk space it keeps trying to work and ends up sending permanent failures to every inbound email attempt.   A simple API call to verify that there is disk space available to run can prevent this.  If the SpamFilter service shuts down at least a backup MX handler can keep the mail flowing.  Furhtermore, you are better off with no MX handler, as email would queue up on sending servers, than having a SF server with no disk space sending permanent errors for every email. 


Edited by pcmatt - 15 August 2007 at 9:54am
-Matt R
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 15 August 2007 at 1:32pm
The information is in the event viewer and is available via WMI with some simple VB programming.  We get the following message (which is then sent to my pager) when disk space needs attention:
 
Device: MX01 - 66.181.xxx.xxx
Service: Disk
State Transition: From Normal To Warning
Time Of State Transition: 2007-08-15 05:37:41.345 -0500
Probe(s):
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

Back to Top
sgeorge View Drop Down
Senior Member
Senior Member


Joined: 23 August 2005
Status: Offline
Points: 178
Post Options Post Options   Thanks (0) Thanks(0)   Quote sgeorge Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2007 at 2:49pm
Another option would be to go under the Administrative Tools section in Windows (NT-based OSs) and to create a Performance counter, such as LogicalDisk % Free Space < 10%.

When the condition is found to be true, the Action you specify could include:
* Running a 3rd party script to e-mail a sys admin about the condition
* Or, running "net stop SpamFilter" to shut-down SpamFilter right away

I hope that's handy!

Stephen
Back to Top
pcmatt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 15 February 2005
Location: United States
Status: Offline
Points: 116
Post Options Post Options   Thanks (0) Thanks(0)   Quote pcmatt Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2007 at 5:45pm

These suggestions are good but rely on other than the application to protect it's own integrity. I like the performance counter option because I don't have to get paged in the middle of the night, but the downside is we're then relying on Microsoft's Performance Counters reliability and stability to save SpamFilter.  SpamFilter should protect itself; my opinion. 

-Matt R
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.287 seconds.