Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - SF crash when accessing read only White-
  FAQ FAQ  Forum Search   Register Register  Login Login

SF crash when accessing read only White-

 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: SF crash when accessing read only White-
    Posted: 23 May 2007 at 5:37am

build 3.5.3.674

LOGFILE:
05.22.07 23:38:24:358 -- (2256) Exception occurred during TFilterObject.ReadFilterFromFile (4): Cannot create file "\\Accounting\w32spamsync\whitelist". Zugriff verweigert
05.22.07 23:38:24:436 -- (2256) Exception occurred during TFilterObject.ReadFilterFromFile (9): Cannot create file "\\Accounting\w32spamsync\blacklist". Zugriff verweigert

We use White- and Blacklistfiles exporting as txt-files from an database and save at read-only-files every 5 minutes. When this files are genereated and spamfilter will access this files at the same time, the files not exist, so SF will create them, but SF is unable to create this files, because the service does not have rights there. So SF crashes and the whole machine is frozen!

 

 

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: 23 May 2007 at 10:39am

kp4711,

You are being bitten by the EXACT same issue that I actually created my own, sloppy workaround for.  We have our backup server receiving updates from a stored procedure writing files over a WAN.  When we did this every 5 minutes, we had locked files constantly.  When we changed the export schedule to 2 hours, the problem only surfaced once in a 2 week period or so.  However, often, 2 hours is too long to wait when we make an update so we wrote a script to allow us to force the updates.  The script first stops the remote service, waits 15 seconds, pushes the files up and then starts the service.

We are now, studying the ramifications of converting our backup to the SFE mode as it will grab all the domain and filter setting from the primary automatically.  There are a few "hitches" is this for us (like the forward to SMTP server settings are different) but still, it looks promising.
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

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

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4106
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2007 at 4:23pm
We're not able to replicate this problem, so far in all cases an error is logged as above, but SpamFilter continues to function properly. Do you see a crash *every* time this happens, or is the crash sporadic?
Roberto Franceschetti

LogSat Software

Spam Filter ISP
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: 23 May 2007 at 4:28pm
As an update to my post ... I never get a crash ... I just get a mangled list which windows seems to then lock and SF reads a dammaged list and then can not write to it.  However, I just checked my monitor logs (we actually detect this failure) and the las time this happened was Jan-05-07 so it is not a "real" issue for us.
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

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: 25 May 2007 at 3:47am

Originally posted by LogSat LogSat wrote:

We're not able to replicate this problem, so far in all cases an error is logged as above, but SpamFilter continues to function properly. Do you see a crash *every* time this happens, or is the crash sporadic?

@logsat: No not a crash at every time when this error is occured in SF Logfile, but when the system is crashes this ist the LAST entry in SF logfile so i think that is the reason for system crash.

some more information: the UNC-Path is a network share on a SAMBA-Share of a LINUX DEBIAN System

 



Edited by kp4711
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.145 seconds.