[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364240: marked as done (Default STATS_TIME value spams up daemon.log)



Your message dated Mon, 01 Mar 2010 18:25:41 +0000
with message-id <E1NmAJJ-0000SJ-SU@ries.debian.org>
and subject line Bug#364240: fixed in thttpd 2.25b-11
has caused the Debian Bug report #364240,
regarding Default STATS_TIME value spams up daemon.log
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
364240: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364240
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: thttpd
Source-Version: 2.25b-11

We believe that the bug you reported is fixed in the latest version of
thttpd, which is due to be installed in the Debian FTP archive:

thttpd-util_2.25b-11_amd64.deb
  to main/t/thttpd/thttpd-util_2.25b-11_amd64.deb
thttpd_2.25b-11.diff.gz
  to main/t/thttpd/thttpd_2.25b-11.diff.gz
thttpd_2.25b-11.dsc
  to main/t/thttpd/thttpd_2.25b-11.dsc
thttpd_2.25b-11_amd64.deb
  to main/t/thttpd/thttpd_2.25b-11_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 364240@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Kemp <skx@debian.org> (supplier of updated thttpd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 1 Mar 2010 17:37:57 +0000
Source: thttpd
Binary: thttpd thttpd-util
Architecture: source amd64
Version: 2.25b-11
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Steve Kemp <skx@debian.org>
Description: 
 thttpd     - tiny/turbo/throttling HTTP server
 thttpd-util - tiny/turbo/throttling HTTP server (utilities)
Closes: 364240 437927 503938
Changes: 
 thttpd (2.25b-11) unstable; urgency=low
 .
   * QA upload.
   * Restore the missing newline in our thttpd.conf file.  (Closes: #503938)
   * Remove the use of STATS_TIME.  (Closes: #364240)
   * Remove the name & version from the tail of error pages.
   * When running CGI scripts send STDERR to /dev/null.  (Closes: #437927)
Checksums-Sha1: 
 dec9c5e6783b45e19c7ddcdd95c7a2115cb01dfc 1031 thttpd_2.25b-11.dsc
 734f8b25f996d9c92eac8c7604bd025a14c8de6e 20787 thttpd_2.25b-11.diff.gz
 9cc13b8cd7aa840aa8692d5b1d0b174952d26278 65826 thttpd_2.25b-11_amd64.deb
 ed9540ec3932acf3ba23b9e647d19cd04576ede1 31120 thttpd-util_2.25b-11_amd64.deb
Checksums-Sha256: 
 a2ba04071cbbc555f0ad84cb29427ab621e1164bf644f5f2edc501d8553ba6d1 1031 thttpd_2.25b-11.dsc
 4d213c18daf121d21412cc54864fbca250e1773a91df6573373e1d2273a2cec9 20787 thttpd_2.25b-11.diff.gz
 dc5ee6a0532ccacd0e04aba46e441e08fc15bb0a7cd36d93346b8f374e4bc22b 65826 thttpd_2.25b-11_amd64.deb
 7c4e768a1d00f65cef6469ba33c614aaa36902bba4c95028ebef211aa63ccbf4 31120 thttpd-util_2.25b-11_amd64.deb
Files: 
 40c3089b10f4abd0bd6390085d022689 1031 httpd optional thttpd_2.25b-11.dsc
 a0a3f7bd000cd9e08a54c4d4b9e3d903 20787 httpd optional thttpd_2.25b-11.diff.gz
 63d0e010cacc328199928ef287d2e866 65826 httpd optional thttpd_2.25b-11_amd64.deb
 842bd6a2ccd44f07142868abd526a6e1 31120 httpd optional thttpd-util_2.25b-11_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuMAggACgkQwM/Gs81MDZ1jewCfRSU7pef7FVRt5z1t4UM+QgI/
01EAn3GqhU6vO35PLvdM2yXiL4ig9JU7
=O95a
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: