Closed
Bug 504664
Opened 17 years ago
Closed 16 years ago
Experiment with error logging
Categories
(addons.mozilla.org Graveyard :: Administration, defect)
addons.mozilla.org Graveyard
Administration
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clouserw, Assigned: clouserw)
Details
Attachments
(1 file)
|
602 bytes,
patch
|
jbalogh
:
review+
|
Details | Diff | Splinter Review |
In production, we have PHP error logging off. This is a patch to turn it on for E_ERROR only which could help us track down some out of memory errors and similar fatal errors.
jbalogh - any reason why we wouldn't do this permanently? If so, we can turn it on for a while but I got to thinking - why not just have it on always?
Attachment #388999 -
Flags: review?(jbalogh)
Updated•17 years ago
|
Attachment #388999 -
Flags: review?(jbalogh) → review+
Comment 1•17 years ago
|
||
Comment on attachment 388999 [details] [diff] [review]
turn on logging
I like seeing errors, so this works for me.
You're mixing tabs and spaces (cake uses tabs!).
| Assignee | ||
Comment 3•17 years ago
|
||
I left this bug open since it's sort of an experiment and I wasn't sure we'd leave it on. So far it has caught one simple bug.
There is quite a few out of memory errors that it reports, although most aren't helpful (aren't specific about which file it died in) and I suspect a few are bots. For the most part the out of memory errors congregate around /collections/add and /collections/edit/___________ when referrers are set. The rest of the time it just dies in the dbo class or trying to store data to memcache (?).
I'll try to replicate memcache dying on my local box but don't have a lot of hope. CCing oremj - Jeremy, can you tell us what command you're using to start memcache in production?
| Assignee | ||
Comment 4•17 years ago
|
||
I was able to reproduce it failing on Memcache->set() by knocking the memory limit way down (did you know our front page renders on less than 8M?) but it didn't fail trying to set the same data twice and I didn't see any patterns or any ways to fix it. We're running a version of Memcache (from PECL) that is 17 months old, but meh - no guarantees this problem is related or fixed with a newer one. This feels like a dead end.
Comment 5•17 years ago
|
||
I just do /etc/init.d/memcached start.
Updated•17 years ago
|
Target Milestone: 5.0.8 → ---
| Assignee | ||
Comment 6•16 years ago
|
||
We came, we saw. Calling this fixed. Logging will be much more robust in the future.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•