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
[dev.icinga.com #9972] Icinga2 - too many open files - Exception #3305
Comments
Updated by mfrosch on 2015-08-24 07:46:15 +00:00
The actual error is:
|
Updated by mfrosch on 2015-08-24 07:48:09 +00:00 Seems like we are currently not explicity closing the file streams after reading the file. I think we should do that, or would we need the individual file streams after reading the contents in the beginning? |
Updated by mfrosch on 2015-08-24 07:58:28 +00:00 From my understanding the lexer gets direct access to the streams. I suggest we read the files into memory before handing a stream to the lexer. Similar to CompileText |
Updated by Anonymous on 2015-08-24 09:08:22 +00:00
Applied in changeset 6a8f890. |
Updated by gbeutner on 2015-08-24 09:08:49 +00:00
Fixed in the master branch. Please test this so we can backport this into 2.3.x. |
Updated by gbeutner on 2015-08-26 06:25:38 +00:00
|
Updated by gbeutner on 2015-10-26 12:04:38 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9972
Created by elabedzki on 2015-08-21 07:18:44 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2015-08-24 09:08:22 +00:00)
Target Version: 2.3.9
Last Update: 2015-08-26 06:25:37 +00:00 (in Redmine)
Hi guys,
we have a problem with loading the config fragments exported through lconf ( 1.5.1 ), which produces to many config fragments, so that the icinga2 core can not deal with.
We have tried something like increasing the OS limits "open files" which has currently a value of 500000 for the nagios/icinga user, but it doesn't help.
We need a patch either for icinga2 core ( so he can handle it ) or for lconf ( so he can maybe merge that config fragments to one file ).
Kind regards
Enrico
Changesets
2015-08-24 09:04:26 +00:00 by (unknown) 6a8f890
2015-08-26 04:57:24 +00:00 by (unknown) 1f63bcb
2015-08-26 05:10:34 +00:00 by (unknown) 73ed46f
Relations:
The text was updated successfully, but these errors were encountered: