https://bugzilla.wikimedia.org/show_bug.cgi?id=35891

       Web browser: ---
             Bug #: 35891
           Summary: Site slow with memcached misconfigured
           Product: MediaWiki
           Version: 1.18.1
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10405
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10405
Valgrind compatible profile data from XDebug

Hi,

I fixed this problem, but it was difficult to diagnose.  I configured my
MediaWiki installation to cache using memcached.  Unfortunately I set the port
to find memcached on incorrectly (11212 instead of 11211).  The end result was
that it took 10 seconds to load a page.  I couldn't find any errors in the
logs, even though I turned on debug logging.  Eventually I installed XDebug and
profiled the code.  The result can be seen in the attachment.  Basically all
the time is being spent in the php::sleep function inside of
MessageCache->lock.

Obviously, this was a misconfiguration error on my part, but it would be nice
if the error was detected and logged somehow.

Anyway, thanks for all the hard work on a great project!

Matt

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to