Closed Bug 768941 Opened 12 years ago Closed 12 years ago

PTO app returning 500 errors

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: bburton)

Details

when I go to https://intranet.mozilla.org/pto/export.php to get a list of who's on PTO, it sits there forever with a "loading" message. If you open up the web console, you'll see that it tries to load an url like

https://intranet.mozilla.org/pto/export.php?format=json&user=catlee@mozilla.com&&_=1340814900202

which ends up giving a 500 error after about 5 seconds.
Assignee: server-ops → bburton
I am seeing the following errors in the error log

[Wed Jun 27 09:40:48 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined offset:  1 in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 111, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:48 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined offset:  1 in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 111, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined offset:  1 in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 111, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined offset:  1 in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 111, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined offset:  1 in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 111, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined index:  country in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 88, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined index:  first_name in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 89, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Notice:  Undefined index:  last_name in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 90, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
[Wed Jun 27 09:40:49 2012] [error] [client 10.22.81.208] PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 35 bytes) in /var/www/html/intranet.mozilla.org-pto/class.Filtering.php on line 97, referer: https://bugzilla.mozilla.org/show_bug.cgi?id=768941
I bumped max_memory to 128M from 16M
solarce increased zeus timeout from 15 seconds to 60
Worked with :rtucker, bumped memory limit for PHP and increased Zeus timeout.

Confirmed https://intranet.mozilla.org/pto/export.php?format=json&user=catlee@mozilla.com&&_=1340814900202 is working correctly now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.