| Dvorapa added a comment. |
In T185561#4015912, @zhuyifei1999 wrote:
- Does the freeze only happen after the script reach near 100% RAM?
- What is the CPU usage during the freeze? What is the state of the processes during the freeze?
- I'm especially interested in the load (/proc/loadavg), # of threads in D-state (uninterpretable sleep), and the IO wait CPU %.
The script freezed, when it went to 49 threads openned. The OS freezed, when the script was working for more than a few hours. I don't know if this is a usual behavior, but my PC freezes every time RAM reaches 100% (It did on Ubuntu quite a lot when I openned like 200 tabs in Chrome and it does on Arch Linux now when I run weblinkchecker). The only option I know is to hard shutdown, neither switching to terminal interface, nor some magic key combinations work in this case. CPU usage when script freezes is normal, when OS freezes I've nnever tested.
I'll look into patches and test them tommorow. Thanks both Dalba and zhuyifei1999 for analysis and fixes. Is there something I can help with/test?
In T185561#4015920, @zhuyifei1999 wrote:Oh, and if you are using Linux, really don't hard shutdown. I crashed one of my SSDs once (had to do some messy recovering, but went successful) and learned it the hard way. Linux kernel will process SysRq at #1 priority as long as the kernel is alive.
Cc: gerritbot, Dalba, Xqt, Zoranzoki21, zhuyifei1999, Aklapper, pywikibot-bugs-list, Dvorapa, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, rafidaslam, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
