We have a weird problem happening with our server.  I have figured out the
how, but can't figure out they why, and/or how to prevent it.

We have Win2k with CF 4.5 running.  We also have our stats program run every
night (basically a scheduled CF page which CFExecutes a bunch of .BAT
files).   Now for some reason, these stats (we're using analog and
reportmagic) are opening a file in the CF spool directory.  I ran some
tools, and it seems that the analog process, the report magic process and
the cmd.exe process (inside which analog and report magic run) have a handle
to a certain file in the CF's mail spool folder.  

When that happens, CF tries to send that file out, and whether it's
successful or not goes berserk. If it's a valid e-mail, then it proceeds to
send out thousands upon thousands of copies of that e-mail.  (Basically what
happens is CF reads the spool folder, sends out the e-mail, tries to delete
it and fails.  Then it again reads the spool folder, finds that e-mail in
there, and sends it again, over and over and over).  

If it's unsuccessful (I.E. for some reason it's a bad e-mail), it tries to
move a copy to the undelivr folder.  It copies it there, and then tries to
delete the original from the spool folder.  Since the file is locked, a
sharing violation occurs once again, and CF proceeds to fill up the undelivr
folder.  

Now I have no idea why the stat programs are doing in the CFMail spool
folder.  They have no business being in that drive, much less that folder.
(They read logs located on a different drive and write statistics to a
different drive.).  So I'm not sure how to prevent that, perhaps someone has
any ideas.

Does anyone know how to make CF stop acting crazy when it encounters
something like this?  I mean it has spool.ini file, does that do anything?  

Russ
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to