Menu

#13 wrong user for scoreboards

open
nobody
None
5
2006-10-04
2006-10-04
Anonymous
No

hi!

i have the problems that cband somestimes creates the
scoreboard files under user "root:root" and sometimes
uses the user+group specified in the htttpd.conf, so
"www-data:www-data". the problem is that apache
processes running under "www-data:www-data" cannot
modify the scoreboard files later.

i don't know why this happens...my guess is that the
"main" apache process (running under root) writes the
in memory scoreboards when apache is shutdown/reloaded.
otherwise the workers (running under www-data) create
the files after XXX requests.

this is really important as otherwise accounting
(andwidth limiting over days with apache reloads) is
not possible, as the scoreboard files are outdated.

sincerely,
corin

Discussion


Log in to post a comment.