-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No space left on device #2840
Comments
@aukfood: Thanks for opening an issue, it is currently awaiting triage. In the meantime, you can:
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
Did you try the steps of expanding the How many files do you have within folders? because what is the value of monitoring really old files that wont be written too again? |
@LaurenceJJones yes I try this : https://discourse.crowdsec.net/t/problem-config-for-acquisition/1257/4 With 8192 and
And same error. I have more than 13594 files :
|
@LaurenceJJones there is another solution ? |
Not really, reduce the amount of logs that match the globing pattern as CrowdSec is monitoring old files that will never be used. |
Unless @blotus has anymore ideas? |
yes I think I have to modify my acquisition to match the daily file and not old files |
@LaurenceJJones it's possible in acquisition to have this format ?
|
Hello @aukfood, Can you try to increase more (at least double) the max amount of user watches ? You have around 13k files, but crowdsec will also add a watch on each file by default to get notified where there's a new line (you can disable this behavior by setting |
@blotus I try 32000 but no results. Where to add poll_without_inotify: true ??? I try in section common in config.yaml |
You add it like this ---
filenames:
- /var/www/*/var/log/apache2/access*
- /var/www/*/var/log/apache2/error*
poll_without_inotify: true
labels:
type: apache2 |
@LaurenceJJones @blotus no change with 32000 files and poll_without_inotify: true
|
And you dont have any duplicate entries?
|
@LaurenceJJones no i have no configuration in acquis.d directory
|
This issue been open for sometime, I will class it as not planned but if you still have an issue then please reopen with additional details. |
What happened?
When I start to run crowdsec I have these error
What did you expect to happen?
A normal start of crowdsec :)
How can we reproduce it (as minimally and precisely as possible)?
We add acquisition for all apache log of all web site
Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
On Windows:
C:> Get-Content C:\ProgramData\CrowdSec\config\acquis.yaml
paste output here
Config show
Prometheus metrics
Because crowdsec doesn't start
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.
Best regards
The text was updated successfully, but these errors were encountered: