Last modified: 2014-08-27 23:50:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72112, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70112 - udp2log logs are not properly rotated / daemon restarted
udp2log logs are not properly rotated / daemon restarted
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-27 23:39 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-08-27 23:50 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-08-27 23:39:25 UTC
We have udp2log-mw service on deployment-bastion which write to log files under /data/project/logs/

For a few days now, I have noticed that the log files magically disappear.  Turns out that logrotate move them to the 'archive' directory and udp2log keep writing to them.

After the file have been moved, logrotate should restart or hup the logrotate daemon so it closes the files (in archive) and reopen them (in the usual log dir).  Then they get compressed.


Apparently occurs since Aug 20th 2014.
Comment 1 Antoine "hashar" Musso (WMF) 2014-08-27 23:50:43 UTC
/var/log/udp2log/udp2log.log may have some clue.  Not we had a huge number of requests send for the last few days, so that might have prevented logrotate / HUP from working properly.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links