importds and DB authentication
Bug #510490 reported by
Steve McInerney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Hudson-Doyle |
Bug Description
The 3 importds seem to be causing pain with oidentd - used for DB authentication.
They manage to cause oidentd to spawn large numbers of children.
Which is not good.
We don't see this behaviour anywhere else, except on the importds.
Discussions suggest a possible cause may be around the importds holding DB connections open for LONG periods of time.
Related branches
lp:~mwhudson/launchpad/no-codeimportworker-db-access
Merged
into
lp:launchpad
- Tim Penhey (community): Approve
-
Diff: 1534 lines (+585/-360)15 files modifieddatabase/schema/security.cfg (+0/-22)
lib/canonical/config/schema-lazr.conf (+2/-2)
lib/canonical/launchpad/interfaces/librarian.py (+1/-1)
lib/canonical/launchpad/xmlrpc/faults.py (+10/-0)
lib/lp/code/interfaces/codeimportscheduler.py (+26/-0)
lib/lp/code/model/tests/test_codeimportjob.py (+4/-27)
lib/lp/code/xmlrpc/codeimportscheduler.py (+66/-5)
lib/lp/code/xmlrpc/tests/test_codeimportscheduler.py (+140/-0)
lib/lp/codehosting/codeimport/dispatcher.py (+1/-1)
lib/lp/codehosting/codeimport/tests/test_workermonitor.py (+244/-179)
lib/lp/codehosting/codeimport/workermonitor.py (+58/-111)
lib/lp/codehosting/inmemory.py (+12/-2)
lib/lp/testing/__init__.py (+1/-1)
scripts/code-import-worker-monitor.py (+19/-8)
scripts/code-import-worker.py (+1/-1)
Changed in launchpad-code: | |
assignee: | nobody → Michael Hudson (mwhudson) |
milestone: | none → 10.03 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Steve, I've only seen this on galapagos. Have you seen it on the other importd servers as well?