clicommands: Raise memory and exec limits like in Web#266
Merged
Conversation
sukhwinder33445
left a comment
Contributor
There was a problem hiding this comment.
Unfortunately, it is still throwing a memory exhausted error. I configured the schedule as follows:
- Created a template with a background image and logo.
- Created a Service SLA (Icingadb) report using the template with a 4-hour timeframe.
- Created a minutely schedule of type pdf.
- Ran the command
icingacli reporting schedule run. - The schedule runs only twice; the error occurs before the third attempt.
Member
Author
|
You know how this goes now:
|
Contributor
Contributor
|
I ran the schedule (minutely) for more than an hour, and the memory usage remains stable between 60 and 63 MB. |
Contributor
|
I could only reproduce the issue using the CLI with the configuration mentioned above. The UI also worked fine with the old code base. I remember that I had already investigated the problem before and the cause was something else related to css/Pdf-Merge. |
sukhwinder33445
approved these changes
Mar 2, 2026
3231ba2 to
0b98e7f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Had the daemon running for a few hours yesterday and sent me a report for 17k services and thus a PDF with 900+ pages each hour. Didn't notice any buildup in memory. The only thing missing would be a dynamic limit, as it may still crash to produce reports with a large timeframe and a low breakdown. But such a report crashes the UI as well so both parts, UI and CLI, should now be in line and behave the same at least.
fixes #242