Skip to content
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

Warning because staging folder exceeds soft limit for number of files #5

Closed
der-eismann opened this issue Jul 1, 2021 · 0 comments · Fixed by #7
Closed

Warning because staging folder exceeds soft limit for number of files #5

der-eismann opened this issue Jul 1, 2021 · 0 comments · Fixed by #7
Labels

Comments

@der-eismann
Copy link

With puppet 6.23.0 / 7.7.0 (where this change was introduced) we get the following warning using Solr 8.8.1:

Warning: The directory '/opt/staging' contains 1751 entries, which exceeds the default soft limit 1000 and may
  cause excessive resource consumption and degraded performance. To remove this warning set a value for
  `max_files` parameter or consider using an alternate method to manage large directory trees 
Notice: /Stage[main]/Solr::Config/File[/var/solr/solr.in.sh]/content: content changed
  '{sha256}3b0fce5af564258d4707ef039a81ab3edf7f810c8c2a5dc5291aebf7cb7492f4' to
  '{sha256}04a42910b13b3c8ea26b1b9dd62606ddca09cfc7f613513437b67a0eff2323be' 
Info: /Stage[main]/Solr::Config/File[/var/solr/solr.in.sh]: Scheduling refresh of Service[solr]

Is the recurse parameter even necessary when creating the staging folder?

@fraenki fraenki added the bug label Aug 10, 2022
siebrand added a commit to siebrand/puppet-solr that referenced this issue Oct 3, 2022
Observed in the puppet client log without this change:

  The directory '/opt/staging' contains 2091 entries, which exceeds the
  default soft limit 1000 and may cause excessive resource consumption and
  degraded performance. To remove this warning set a value for `max_files`
  parameter or consider using an alternate method to manage large directory
  trees

This fixes markt-de#5.
siebrand added a commit to siebrand/puppet-solr that referenced this issue Oct 3, 2022
Observed in the puppet client log without this change:

  The directory '/opt/staging' contains 2091 entries, which exceeds the
  default soft limit 1000 and may cause excessive resource consumption and
  degraded performance. To remove this warning set a value for `max_files`
  parameter or consider using an alternate method to manage large directory
  trees

This fixes markt-de#5.
siebrand added a commit to siebrand/puppet-solr that referenced this issue Oct 27, 2022
Observed in the puppet client log without this change:

  The directory '/opt/staging' contains 2091 entries, which exceeds the
  default soft limit 1000 and may cause excessive resource consumption and
  degraded performance. To remove this warning set a value for `max_files`
  parameter or consider using an alternate method to manage large directory
  trees

This fixes markt-de#5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants