#1067 HTTP logs missing for proxy* for 2008-12-15
Closed: Fixed None Opened 15 years ago by pfrields.

Not sure whether this is correctly set as "bug" or "annoyance." :-) There's some sort of logrotate problem that is causing missing logs on the proxy* hosts. I regularly use these logs to get direct download stats:

/var/log/hosts/proxy*/YYYY/MM/DD/http/download.fedoraproject.org-access.log

Those are missing for 2008-12-15 and tend to have problems every few days to a week. If nothing else this ticket is meant to record for posterity what's up and why our stats might be a little out of whack here and there.


/me working on something to fix this now

Ok, so the root cause is /etc/cron.daily/ is getting stuck sometimes. We still haven't figured that out. (cron.daily runs its job in a list, if something early on in the list hangs, the later stuff won't get run.

Since that's hard to reproduce, I've made a band aid. The script that syncs logs now always tries to sync the last 3 days worth of logs. If the logs are there, syncs are quick, if they're not, they get put there. We'll see if this at least fixes your use case.

Login to comment on this ticket.

Metadata