importds are spamming log messages

Bug #660854 reported by Steve McInerney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
High
Unassigned

Bug Description

We're currently getting email spammed with 4 messages per minute from the importds, containing the following lines:

2010-10-14 22:47:02 INFO Logging INFO and higher messages to /srv/importd.launchpad.net/production-logs/code-import-dispatcher.log
2010-10-14 22:47:02 INFO Creating lockfile: /var/lock/launchpad-codeimportdispatcher.lock
2010-10-14 22:47:02 INFO No jobs pending.
2010-10-14 22:47:02 DEBUG Removing lock file: /var/lock/launchpad-codeimportdispatcher.lock

The first message implies something is rather broken in the log handling.

I'll be shortly redirecting all output from the importds to logfiles.

Steve McInerney (spm)
tags: added: canonical-losa-lp
Gavin Panella (allenap)
affects: launchpad → soyuz
affects: soyuz → launchpad-code
Revision history for this message
Tim Penhey (thumper) wrote :

Is it still doing this?

Changed in launchpad-code:
status: New → Incomplete
Changed in launchpad:
importance: Undecided → High
Changed in launchpad:
status: Incomplete → Triaged
Revision history for this message
Robert Collins (lifeless) wrote :

So this script is obeying our regular pattern, its being run:
LPCONFIG=production $LP_PY /srv/importd.launchpad.net/production/launchpad/cronscripts/code-import-dispatcher.py -v --max-jobs=3 --log-file
             /srv/importd.launchpad.net/production-logs/code-import-dispatcher.log >> /srv/importd.launchpad.net/production-logs/code-import-dispatcher-out.log 2>&1

the -v causes extra output, and thats why things are being shown that are not interesting.

RT 46890 has a better recipe for running our scripts, and if applied to this script it will do as desired - that is it won't be outputting crap on every run.

Changed in launchpad:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.