Too many open files
CIGALE version: 2022.0 — Python version: 3.10.3 — Platform: linux-x86_64
When running pcigale with many blocks and cpu, the program stop after several blocks (depend of pcigale.ini parameters) with the unix message "Too many open files".
If I increase the limit (ex: ulimit -n 131000) in the terminal before running pcigale, it completes with no issue.
After investigating during a running pcigale run, I can see that /proc/$PID/fd folder is constantly increasing slightly. It looks like that some shared memory segments /dev/shm/pym-xxxxxx might not be deleted.
($PID is the process id of the running pcigale process)