I removed the AppParameters value and put the authcode and
persistent back in the Application value where it was before. It didn't
make any difference at all in the processing time, still right around 2
seconds. I don't know how your setup is working without at least the
AppDirectory value, because mine didn't start working until I put that in, but
if it is, I can't argue. My server load isn't anywhere near yours, so I
don't see what the problem could be with mine. Oh well, unless Pete
responds with a suggestion, I guess I'll just keep using the non-service
version.
Thanks anyway.
Dan,
I seem to recall trying to use the AppParameters key
and having difficulty with it. I think that you might want to try
removing that key and putting everything in the Parameters key, or at least
that works for me. If you change
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Sniffer\Parameters in RegEdit
to the following it might fix the issue that you are having:
C:\IMail\Declude\Sniffer\***RULEBASE-NAME***.exe
***AUTH-CODE***
persistent
You should of course adjust the path and
service name as well.
The directions that I provided are working
perfectly on my server so far as I can tell. I'm running dual 3.2 Ghz 1
MB cache Xeons with 5 x 15,000 RPM drives in RAID 5. The following three
debug log entries shows between 300 ms and 550 ms per message:
08/02/2005 14:19:47.113 QB93D976201222A43 [2616]
SNIFFER-IP: External program started:
C:\IMail\Declude\Sniffer\executable.exe
auth-code
F:\\DB93D976201222A43.SMD 08/02/2005 14:19:47.676
QB93D976201222A43 [2616] SNIFFER-IP: External program reports exit code of
61 ----------------- 08/02/2005
14:19:47.488 QB9418A4800EC2A49 [6196] SNIFFER-IP: External program started:
C:\IMail\Declude\Sniffer\executable.exe
auth-code
F:\\DB9418A4800EC2A49.SMD 08/02/2005 14:19:47.770
QB9418A4800EC2A49 [6196] SNIFFER-IP: External program reports exit code of
51 ----------------- 08/02/2005
14:19:49.879 QB943711501382A4D [6388] SNIFFER-IP: External program started:
C:\IMail\Declude\Sniffer\executable.exe
auth-code
F:\\DB943711501382A4D.SMD 08/02/2005 14:19:50.176
QB943711501382A4D [6388] SNIFFER-IP: External program reports exit code of
59
My stat file shows the following:
TicToc: 1122992104 Loop: 154 Poll: 0 Jobs:
118392 Secs: 155137 Msg/Min: 45.7887 Current-Load:
24.4275 Average-Load: 23.8719
I'm not sure why people use FireDaemon for
this. My experience with SRVANY.exe has been absolutely flawless since I
integrated this, and it has worked on both Win2k and Windows
2003.
Matt
Dan Horne wrote:
OK, I have managed to get SOMETHING working, but it still seems too slow
and something is still not right. I originally set up the persistent
sniffer using the instructions from this post:
http://www.mail-archive.com/sniffer@sortmonster.com/msg00169.html
This uses SRVANY.exe. I conjectured that possibly the service needed a
home directory, so I added an AppDirectory value to the sniffer
service's "Parameters" key in the registry. This value is set to the
directory sniffer resides in. I also (based on my reading of the
srvany.exe documentation) added another value to the same key called
AppParameters. This is set to my auth code followed by a space,
followed by the word persistent.
Now when I start the service, the time spent processing a single message
goes down to something around 2 seconds, but is still far longer than
the non-service version. I also still had no .stat file in my sniffer
directory. I did get a *.SVR file, which I never got before.
So then I'm thinking, let's just make sure that I have the latest
version of sniffer. I downloaded that, did the necessary renaming of
the files and then started the service. NOW there is a
*.persistent.stat file. However, the scan time is still at around 2
seconds.
Average Scan times (based on average scan times of 5 emails each):
Without sniffer service running: .033 seconds
With sniffer service running: 2.244 seconds
The *.persistent.stat file has the following contents:
TicToc: 1122990610
Loop: 512
Poll: 445
Jobs: 34
Secs: 303
Msg/Min: 6.73267
Current-Load: 8.69565
Average-Load: 10.6371
Any suggestions?
Thanks,
Dan Horne
This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html
--
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================
|