Closed Bug 1341447 Opened 8 years ago Closed 8 years ago

Setting TZ=:/etc/localtime will result in in fewer syscalls

Categories

(bugzilla.mozilla.org :: Infrastructure, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: fubar)

References

()

Details

From the perl-side, we call localtime() at least once per request. From apache, /etc/localtime lookups can be triggered in other code paths. If not too much a hassle, ensuring that TZ=:/etc/localtime for all the webheads (or all bugzilla servers) would be a modest performance improvement.
Added this to one web node and did an off the cuff test and looked like it cut down on the number of syscalls a fair bit. Have added it to the /etc/environment file in puppet and will work on rebooting nodes, starting with dev.
Assignee: nobody → klibby
dev and stage done. will work on prod this afternoon.
prod webheads all done. a quick on the webheads didn't show a huge number of stats on /etc/localtime so I won't reboot them now; there's a new kernel we should upgrade to soon-ish, which is soon enough.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.