Last modified: 2014-02-26 12:55:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44753, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42753 - DevServer.php goes unresponsive or takes 100% of CPU
DevServer.php goes unresponsive or takes 100% of CPU
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
EventLogging (Other open bugs)
unspecified
All All
: Low minor
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-06 00:05 UTC by spage
Modified: 2014-02-26 12:55 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2012-12-06 00:05:47 UTC
EventLogging includes a web server intended to handle requests for its beacon image, *only* during development.  I find it works for a while, then goes unresponsive.

The last time this happened it also went to 100% of my CPU.  strace shows endless
    recvfrom(4, "", 1024, 0, NULL, NULL)    = 0
and lsof show that file descriptor 4 is 

COMMAND   PID  USER   FD   TYPE  DEVICE SIZE/OFF    NODE NAME
php     23276 spage    4u  IPv4 1437730      0t0     TCP localhost:tproxy->localhost:40721 (CLOSE_WAIT)

Workaround: kill -9  and restart.  (For some reason a regular kill doesn't take, despite the code to "exit cleanly on SIGTERM".)
Comment 1 Ori Livneh 2012-12-06 05:24:58 UTC
Gerrit change #37186
Comment 2 Andre Klapper 2014-02-26 12:55:10 UTC
[moving from MediaWiki extensions to Analytics product - see bug 61946]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links