time="17-04-2023 16:35:37" level=trace msg="waiting for stdio data"
time="17-04-2023 16:35:38" level=fatal msg="crowdsec init: Error while loading acquisition config : while configuring datasource of type file from /etc/crowdsec/acquis.yaml (position: 0): failed to configure datasource file: Could not create fsnotify watcher: too many open files"
time="17-04-2023 16:35:38" level=fatal msg="crowdsec init: Error while loading acquisition config : while configuring datasource of type file from /etc/crowdsec/acquis.yaml (position: 0): failed to configure datasource file: Could not create fsnotify watcher: too many open files"
Regenerate local agent credentials
Do you have any idea that could help me resolve this ?
It seems the linux process fs notify limit is reached. Do you have a lot of files within /var/log/traefik/? cause that is the only wildcard I can see. If not you can raise the fsnotify limit
I have try to use the acquis.d folder like in the doc.
I have chunk the acquis.yaml file into 3 files pureftpd.yaml, ssh.yaml and traefik.yaml.
Same problem but now it pointed on this files.
BTW, i need to create and share an empty acquis.yaml to this to work.
This is not explain in the doc…
Thanks to your comment, I checked if I had the same problem by using only the ssh.yaml file.
And unfortunately, it is the case.
time="20-04-2023 09:08:36" level=fatal msg="crowdsec init: Error while loading acquisition config : while configuring datasource of type file from /etc/crowdsec/acquis.d/ssh.yaml (position: 0): failed to configure datasource file: Could not create fsnotify watcher: too many open files"