Closed rhykw closed 1 month ago
Set large value to net.core.wmem_default parameter.
ex:
sysctl -w net.core.wmem_default=1824214
https://github.com/domainaware/parsedmarc/commit/c8478d25b6728c7017da11273f2a84752ca43fee
Has anyone else encountered this issue?
Yes, I've seen it happen. Increasing the net.core.wmem_default has stopped it from hanging on the Ubuntu system I'm running it on. When I was running it in a Windows environment it would hang consistently, forcing me to switch to running it under Ubuntu.
Hanging when running in a Windows environment may also be resolved by applying this pull request.
parsedmarc.cli hanging with large report. (sample is here)
output at press Ctrl+c
This problem seems to occur when the size of
file_results
object exceeds the size ofnet.core.wmem_default
.additional information
I ran strace to python process.
environment
parsedmarc.ini