domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
966 stars 210 forks source link

RuntimeError: can't start new thread #424

Closed Idriel closed 11 months ago

Idriel commented 11 months ago

Run inside Docker gives me this error

RuntimeError: can't start new thread Traceback (most recent call last): File "/usr/local/bin/parsedmarc", line 8, in sys.exit(_main()) File "/usr/local/lib/python3.9/site-packages/parsedmarc/cli.py", line 898, in _main pool = Pool(opts.n_procs, initializer=init, initargs=(counter,)) File "/usr/local/lib/python3.9/multiprocessing/context.py", line 119, in Pool return Pool(processes, initializer, initargs, maxtasksperchild, File "/usr/local/lib/python3.9/multiprocessing/pool.py", line 232, in init self._worker_handler.start() File "/usr/local/lib/python3.9/threading.py", line 899, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't start new thread

Idriel commented 11 months ago

Looks like Docker upgrade solved this