-
-
Notifications
You must be signed in to change notification settings - Fork 441
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
php_session_gc_probability: 1 overwrites Ubuntu default #216
Comments
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
The issue still exists with Ubuntu 18.04.4 LTS. |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
as of today, problem still exists. |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
issue still current. I linked a PR to change the default |
This issue is no longer marked for closure. |
I typically keep this role using the PHP defaults where possible, and note that the current default seems to still be |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
I understand, that the default value of config of php.net is 1. Still, the same php.net documentation recommends to change this. And on setups running Ubuntu it is broken when installing PHP with this role, as then two conflicting settings are enabled. So at least for Ubuntu I consider it as a bug. Either the value has to be 0 on Ubuntu or the cron-job on Ubutu needs to be disabled. |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
any update in merging this? |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
This point is still relevant and I would like to see the change merged |
still valid |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
Makes sense to me as well |
this is still relevant |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
to my understanding distributions still use this, so issue still valid. |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
to my understanding distributions still use this, so issue still valid. |
Hey, stale bot. This issue is still valid. Remove the label. |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
I still consider this valid |
This issue is no longer marked for closure. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. |
The role specifies a default setting for php.ini:
This conflicts with the default setting of at least Ubuntu 16.04 LTS (and probably other debian based setups). These turn gc off by default and install a cron job to clean up sessions every 30 minutes:
I suggest to change the default to
php_session_gc_probability: 0
to keep the ubuntu process functional.Seems to be in line with the PHP documentation also considering the request-based GC flawed.
http://php.net/manual/en/function.session-gc.php
The text was updated successfully, but these errors were encountered: