Page MenuHomePhabricator

racktables object field is not working
Closed, ResolvedPublic

Description

the object page on racktables is not working correctly. I am getting a blank page. I looked at the error log and see this

[Wed Jun 10 16:02:18 2015] [error] [client 10.64.0.171] File does not exist: /srv/org/wikimedia/racktables/wwwroot/favicon.ico
[Wed Jun 10 16:06:22 2015] [warn]: The actual SERVER_PORT (80) does NOT match the configured WebPort (443). Perhaps you should Set($WebPort, 80); in RT_SiteConfig.pm, otherwise your internal links may be broken. (/usr/share/request-tracker4/lib/RT/Interface/Web.pm:1119)

Event Timeline

• Cmjohnson raised the priority of this task from to Needs Triage.
• Cmjohnson updated the task description. (Show Details)
• Cmjohnson added a project: acl*sre-team.
• Cmjohnson subscribed.

looks like racktables is trying to use more memory than allowed from /var/log/apache2/error.log

[Thu Jun 11 22:14:07 2015] [error] [client 10.64.0.171] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1054721 bytes) in /srv/org/wikimedia/racktables/wwwroot/inc/interface.php on line 2051, referer: https://racktables.wikimedia.org/

moving from 128M to 256M php memory_limit gets the page to load, likely with codfw online racktables has more objects and thus using more memory, there doesn't seem to be any pagination. figuring out how to get that into puppet

Change 217724 had a related patch set uploaded (by Filippo Giunchedi):
racktables: increase default php memory limit

https://gerrit.wikimedia.org/r/217724

Change 217724 merged by Filippo Giunchedi:
racktables: increase default php memory limit

https://gerrit.wikimedia.org/r/217724

Change 220209 had a related patch set uploaded (by Filippo Giunchedi):
racktables: notify apache2 Service

https://gerrit.wikimedia.org/r/220209

Change 220209 merged by Filippo Giunchedi:
racktables: notify apache2 Service

https://gerrit.wikimedia.org/r/220209

fgiunchedi claimed this task.

fixed by the two code reviews above