PTO app returning 500 errors

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: catlee, Assigned: solarce)

Tracking

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)

Updated

6 years ago
Assignee: server-ops → bburton
(Assignee)

Comment 1

6 years ago
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
(Assignee)

Comment 3

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.