[Bug 1130611] Re: Upstart never closes /var/log/upstart/mysql.log

Will Crawford 1130611 at bugs.launchpad.net
Wed Feb 20 18:11:30 UTC 2013


· Because upstart opened it.
 · Because it has closed all the others in /var/log/upstart except that one.
 · Which makes it look like there's some reason this particular one is "special".
 · I haven't added anything to anything.
 · ... sure, it's probably an issue that whatever is rotating the logs needs to restart init, but _why_ is the file descriptor still open, when the mysql service has been up for more than two days?
 · This could, for all I know, be a bug in the mysql service config file. I'm just reporting the oddity that this one log file seems to have been left open.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1130611

Title:
  Upstart never closes /var/log/upstart/mysql.log

Status in “upstart” package in Ubuntu:
  New

Bug description:
  I ran "init u" after noticing a lingering FD to a log file that lsof
  showed as "(deleted)". However because the file handle is never
  closed, and the log files get logrotate'd it keeps happening, like so:

  init      1 root   11w   REG              252,0     3532  394558
  /var/log/upstart/mysql.log.1 (deleted)

  It's possible this might be fixed by a version update, as I noticed
  there were closed bugs relating to "leaked" file descriptors?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1130611/+subscriptions




More information about the foundations-bugs mailing list