https://bugs.kde.org/show_bug.cgi?id=396142
Bug ID: 396142
Summary: crash after vm.max_map_count limit reached on gigabit
connection
Product: ktorrent
Version: 5.1
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When downloading torrent on gigabit connection, speed reach 100MiB/s and number
of peers goes > 100 ktorrent interface lags (like 12309) and ktorrent often
crashes. Seems that it is related to reaching limit vm.max_map_count, which is
by default ~65e3. Console output contain "mmap failed : Cannot allocate
memory". Crashes seem to stop after setting "vm.max_map_count = 200000". See
links with graphed output of "cat /proc/$(pidof ktorrent)/maps | wc -l" before
setting vm.max_map_count to 200e3 and after.
1) default vm.max_map_count, crash in the end: https://0x0.st/spEO.png
2) vm.max_map_count is set 200000, no crash: https://0x0.st/spEg.png
--
You are receiving this mail because:
You are watching all bug changes.