-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Possibility to implement memory limit/hooks for cli / infinite commands #1709
Comments
fliespl
changed the title
Possibility to implement memory limit for cli / infinite commands
Possibility to implement memory limit/hooks for cli / infinite commands
Mar 2, 2024
I would not recommend profiling long-running processes, as Sentry only supports profiles with a duration of 30s (for now). So I suggest you disable Excimer in your cli's php.ini. |
@cleptric thats what I have already done, but long running tasks are only a minor part of all cli tasks hence feature request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Statement
In infinite commands, excimer will break with memory limit after some time. Haven't found a way to stop it (either after memory being close to limit or after some time).
https://ss.codeone.pl/ss-2024-03-02-21-25-50-1709411150-DN74H5Py.png
Solution Brainstorm
Maybe a timeout limit? Or possibility to use hooks (i.e. symfony) to create new session.
The text was updated successfully, but these errors were encountered: