hi updates..
when the bug in the init-script has been fixed to use to correct pidfile, havp changes partly to the new logfiles after logrotate did its job. it seems, that only new spawned havp childs write to the new file. meaning also that for time havp writes to 2 logfiles (depending on, if the HTTP-request has been processed by "new" or "old" child). with less browsing in the last test, it took about 7 minutes until all childs where recycled. after that the rotated logfile was released. #output from "lsof": havp 2757 havp 1w REG 9,10 225 995642 /var/log/havp/access.log havp 2983 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2984 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2985 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2987 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2991 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2992 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2993 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 2994 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3181 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3182 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3198 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3199 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3222 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3223 havp 1w REG 9,10 33036 995654 /var/log/havp/access.log.1 havp 3602 havp 1w REG 9,10 225 995642 /var/log/havp/access.log havp 3603 havp 1w REG 9,10 225 995642 /var/log/havp/access.log #from error.log.1 (still uses the old and rotated file): 11/05/2010 23:00:22 Signal HUP received, reloading scanners and lists #from access.log.1 (still uses the old and rotated file): 11/05/2010 23:01:26 127.0.0.1 GET 200 http://BLAHFASEL 273+8426 OK 11/05/2010 23:02:05 127.0.0.1 GET 200 http://BLAHFASEL 183+70 OK 11/05/2010 23:03:01 127.0.0.1 GET 200 http://BLAHFASEL 183+25 OK 11/05/2010 23:03:15 127.0.0.1 GET 200 http://BLAHFASEL 155+1090 OK #from access.log (the new logfile): 11/05/2010 23:01:56 127.0.0.1 GET 200 http://BLAHFASEL 293+18319 OK 11/05/2010 23:01:56 127.0.0.1 GET 200 http://BLAHFASEL 3220+43 OK 11/05/2010 23:01:57 127.0.0.1 GET 200 http://BLAHFASEL 183+70 OK 11/05/2010 23:02:01 127.0.0.1 GET 200 http://BLAHFASEL 183+70 OK 11/05/2010 23:02:05 127.0.0.1 GET 200 http://BLAHFASEL 183+70 OK 11/05/2010 23:03:15 127.0.0.1 GET 200 http://BLAHFASEL 155+1914 OK ------------------------------------------------------------------------ when doing the "killall -HUP havp" way, the behaviour is the same, log entries are spread across the old and new logs. #from "lsof": havp 3828 havp 1w REG 9,10 721 995642 /var/log/havp/access.log havp 3832 havp 5w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3833 havp 5w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3834 havp 5w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3836 havp 5w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3838 havp 5w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3840 havp 5w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3884 havp 1w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3885 havp 1w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3886 havp 1w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3887 havp 1w REG 9,10 8887 995685 /var/log/havp/access.log.1 havp 3903 havp 1w REG 9,10 721 995642 /var/log/havp/access.log havp 3904 havp 1w REG 9,10 721 995642 /var/log/havp/access.log havp 3905 havp 1w REG 9,10 721 995642 /var/log/havp/access.log havp 3906 havp 1w REG 9,10 721 995642 /var/log/havp/access.log havp 3907 havp 1w REG 9,10 721 995642 /var/log/havp/access.log havp 3908 havp 1w REG 9,10 721 995642 /var/log/havp/access.log #from error.log.1 (still uses the old and rotated file): 11/05/2010 23:19:56 Signal HUP received, reloading scanners and lists #from access.log (the new logfile): 11/05/2010 23:20:01 127.0.0.1 GET 304 http://BLAHFASEL 293+0 OK 11/05/2010 23:20:01 127.0.0.1 GET 304 http://BLAHFASEL 277+0 OK 11/05/2010 23:20:01 127.0.0.1 GET 304 http://BLAHFASEL 250+0 OK #from access.log.1 (still uses the old and rotated file): 11/05/2010 23:21:17 127.0.0.1 GET 200 http://BLAHFASEL 183+25 OK 11/05/2010 23:22:13 127.0.0.1 GET 200 http://BLAHFASEL 183+25 OK 11/05/2010 23:22:21 127.0.0.1 POST 200 http://BLAHFASEL 403+346 OK ---- lenny with HAVP Version: 0.89-1 lenny-proposed-updates/volatile with HAVP Version: 0.91-1.1~volatile1 ---- regards dario -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

