Date: Mon, 15 Jun 2015 19:59:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200884] www/thttpd - Option to remove stats in syslog? Message-ID: <bug-200884-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200884 Bug ID: 200884 Summary: www/thttpd - Option to remove stats in syslog? Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: donnex@donnex.net Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org I just upgraded my thttpd package to the latest version thttpd-2.26_1 Since the upgrade I get stats outputed to syslog every hour (3600 secs). I don't know if this is the proper channel, but it would be really nice if there were a way to configure and turn off the stats output from thttpd to syslog. I tracked the stats output down to config.h, it seems possible to turn it off. /* CONFIGURE: Seconds between stats syslogs. If this is undefined then ** no stats are accumulated and no stats syslogs are done. */ #define STATS_TIME 3600 ## messages Jun 15 19:45:57 thttpd[64878]: up 14400 seconds, stats for 3600 seconds: Jun 15 19:45:57 thttpd[64878]: thttpd - 8 connections (0.00222222/sec), 1 max simultaneous, 200000 bytes (55.5556/sec), 2 httpd_conns allocated Jun 15 19:45:57 thttpd[64878]: libhttpd - 30 strings allocated, 8200 bytes (273.333 bytes/str) Jun 15 19:45:57 thttpd[64878]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800 Jun 15 19:45:57 thttpd[64878]: fdwatch - 2156 kevents (0.598889/sec) Jun 15 19:45:57 thttpd[64878]: timers - 3 allocated, 3 active, 0 free Jun 15 20:45:57 thttpd[64878]: up 18000 seconds, stats for 3600 seconds: Jun 15 20:45:57 thttpd[64878]: thttpd - 0 connections (0/sec), 0 max simultaneous, 0 bytes (0/sec), 2 httpd_conns allocated Jun 15 20:45:57 thttpd[64878]: libhttpd - 30 strings allocated, 8200 bytes (273.333 bytes/str) Jun 15 20:45:57 thttpd[64878]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800 Jun 15 20:45:57 thttpd[64878]: fdwatch - 730 kevents (0.202778/sec) Jun 15 20:45:57 thttpd[64878]: timers - 3 allocated, 3 active, 0 free Jun 15 21:37:57 thttpd[64878]: up 21120 seconds, stats for 3120 seconds: Jun 15 21:37:57 thttpd[64878]: thttpd - 0 connections (0/sec), 0 max simultaneous, 0 bytes (0/sec), 2 httpd_conns allocated Jun 15 21:37:57 thttpd[64878]: libhttpd - 30 strings allocated, 8200 bytes (273.333 bytes/str) Jun 15 21:37:57 thttpd[64878]: map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800 Jun 15 21:37:57 thttpd[64878]: fdwatch - 634 kevents (0.203205/sec) Jun 15 21:37:57 thttpd[64878]: timers - 3 allocated, 3 active, 0 free -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200884-13>