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

       Web browser: ---
            Bug ID: 46476
           Summary: Running dispatchChanges as cronjob doesn't close down
                    as expected
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: jeb...@gmail.com
                CC: wikibugs-l@lists.wikimedia.org,
                    wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

When dispatchChanges.php is run as a cronjob it seems like it (as least
sometimes) doesn't close down as expected, and then doesn't release the
database connections. After a while MySQL then runs out of free connections,
and then Mediawiki and other processes on the server grinds to a halt.

Either a PID-file should be used to stop new processes from starting, or a
proper close should be done, or a proper daemon should be made. Restarting new
processes from crontab without knowing if the previous ones are properly closed
is bad.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to