Print Page | Close Window

action taken when disk is out of space

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=6178
Printed Date: 26 December 2024 at 6:28pm


Topic: action taken when disk is out of space
Posted By: kp4711
Subject: action taken when disk is out of space
Date 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 mailto:blablabla@adminDomain - blablabla@adminDomain

 




Replies:
Posted By: LogSat
Date 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

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

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


Posted By: kp4711
Date 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.

 



Posted By: pcmatt
Date 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. 


-------------
-Matt R


Posted By: Desperado
Date 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



Posted By: sgeorge
Date 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


Posted By: pcmatt
Date 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



Print Page | Close Window