From my latest observation today, I see the normal occasional CPU spikes little after starting interwiki.py. As time passes, these become more and more frequent (or of longer duration). After some 30 minutes, the CPU spike is basically continuous, thus yielding a 100% occupation in one CPU.


[bugs:#1646] interwiki.py CPU occupation too high (hogging)

Status: open
Created: Wed Jul 24, 2013 02:20 PM UTC by André Malafaya Baptista
Last Updated: Thu Jul 25, 2013 10:34 PM UTC
Owner: nobody

Since some time ago (I think less than 2 months), running interwiki.py hogs one CPU after running for some time. As I have four CPUs, I get a constant 25% CPU occupation by python.exe. The console output gets also sluggish.

Example:

interwiki.py -lang:nl -family:wiktionary -auto -async -cleanup -pt:1 -start:Category:!

Pywikipedia trunk/pywikipedia/ (r11780, 2013/07/20, 11:39:29, ok)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.