Closed Bug 921480 Opened 12 years ago Closed 12 years ago

[sumo][prod] Site slow / Lots of time spent "request queueing" lately

Categories

(Infrastructure & Operations Graveyard :: WebOps: Community Platform, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rrosario, Assigned: dmaher)

Details

Attachments

(1 file)

We are getting complaints of su.m.o being slow on and off quite frequently lately. I took a look at the chart in new relic and apparently we are spending a lot of time Request Queueing at certain times: http://cl.ly/image/0O0Q1c1B3W45 https://rpm.newrelic.com/accounts/263620/applications/2779374 Has something changed in our apache/wsgi config? Is it time to make changes?
Can somebody take a look now that summit and no-change period is over? It is pretty bad right now: http://cl.ly/image/2n000K1N2342 Thanks!
Severity: normal → major
Assignee: server-ops-webops → dmaher
Priority: -- → P3
early on 10/6 there seems to be a drop in memory misc buffers.... This is from sar, so I'm not sure exactly what that represents. Buffers available? buffers used?
As discussed in IRC, can we try adding this to settings_local.py for prod only: AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', ) This is just to see if it makes a difference, the real fix would be somewhere else.
(In reply to Ricky Rosario [:rrosario, :r1cky] from comment #3) > AUTHENTICATION_BACKENDS = ( > 'django.contrib.auth.backends.ModelBackend', > ) BTW, this just removes the persona auth backend. Persona isn't enabled on prod so there should be no affect except hopefully no more calls to persona.verify() service.
(In reply to Ricky Rosario [:rrosario, :r1cky] from comment #3) > AUTHENTICATION_BACKENDS = ( > 'django.contrib.auth.backends.ModelBackend', > ) The change has been made as requested, and pushed to the webheads, which will pick up the new configuration shortly (httpd graceful).
So far this looks super promising! We'll keep monitoring. If it stays this way we can close this out. I've filed bug 924975 to get us on a newer and less buggy django-browserid. Once that happens we can undo the change in settings_local.py. Thanks :phrawzty!!
Flags: needinfo?(rrosario)
Site is whistling now :). No request queue since Comment 5 - http://cl.ly/image/0M3e01183B28 Thanks for helping us find the issue was on our end! Once we update that libary, I'll file a bug to reverse the settings_local.py change. \o/
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(rrosario)
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: