> Could Declude be run as a Service?

No.

Declude.exe is called from Imail'S SMTP-Service for every single incoming
message. Declude.exe is called "in place" of or "before" Imails original
exe-file and terminate after the message is delivered socessfully to the
destination.

The idea is to run a simple service (completely independent from imail or
declude) that calculates the average cpu usage value. 

This can be done be asking the current CPU-usage every one second. (for
example)

Sec.    Cur%.   10s Avg%.
1       0       0
2       20      10
3       20      13
4       20      15
5       0       12
6       90      25
7       90      34
8       95      41
9       100     48
10      100     54
11      100     64
12      100     72
13      100     82 <- don't start more resource intensive tests (RIT)
14      100     91
15      80      96
16      50      91
17      30      85
18      30      78
19      0       68 <- begin starting RIT
20      10      59
21 ...


Maybe the 10 seconds average are not the definitively right time range and
maybe it's also necessary to define a trigger-on and trigger-off treshold as
used also in common tecnic regluation processes to guarantee a well balanced
regulation of the cpu-usage.

Markus

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to