Package: thttpd
Version: 2.23beta1-4
Severity: minor
The config.h file has the line
#define STATS_TIME 3600
which causes the following sort of blurb to be written to daemon.log once
every hour:
----begin log excerpt----
... thttpd[11862]: up 3600 seconds, stats for 3600 seconds:
... thttpd[11862]: thttpd - 0 connections (0/sec), 0 max simultaneous, 0
bytes (0/sec), 0 httpd_conns allocated
... thttpd[11862]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash
size: 0; expire age: 1800
... thttpd[11862]: fdwatch - 4604 selects (1.27889/sec)
... thttpd[11862]: timers - 3 allocated, 3 active, 0 free
----end log excerpt----
This information may or may not be useful, but I submit that for most
users, logging it every hour is excessive. It pointlessly clutters up the
daemon log, and to add insult to injury, the reporting period cannot even
be configured at run time.
I would suggest increasing STATS_TIME to 86400 (i.e. one day), or perhaps
even #undefining it altogether (which will disable the stats reporting).
Anyone who is likely to need the feature, or need it more frequently---
high-volume site admins, perhaps---should be in a position to easily
justify compiling their own copy of the program.
--Daniel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]