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

Status: closed-fixed
Created: Wed Jul 24, 2013 02:20 PM UTC by André Malafaya Baptista
Last Updated: Mon Aug 19, 2013 04:57 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.