-
Notifications
You must be signed in to change notification settings - Fork 66
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
Error when removing user #3953
Comments
Ok looks like the problem starts here https://github.com/zikula/core/blob/master/src/system/UsersModule/Controller/UserAdministrationController.php#L273
|
note: when working on this see also #4071 |
I am unable to replicate this behavior. |
@craigh how big is your users table? Because it is related. Please can you check it with considerably large (10k+) users table - size depends on your dev hardware too, but 10k should choke it anyway. |
my user table has 3 users. my dev machine is 1 computer. an iMac. I can't test things I don't have with computers I don't own. feel free to test the current master and let me know what you find. |
@Kaik I tested this fix with >20K users in my DB. I did experience the error you described before fixing it. Since this fix eliminates the 'reloading' of all the entities (which you pointed out as the problem), I'm quite sure it solves the problem. |
Expected behavior
No error
Actual behavior
Error 503 serivice not available
Steps to reproduce
Production server - plesk + cent os php 7.2.13 apache
Go to users admin remove pending registration confirm - error 503
Logs were saying something regarding iterating over the sessions... and allowed memory exhausted...
Funny thing on local dev installation where everything is the same there is no error - it takes time to do remove it tho...
I will investigate this error furthermore.... at the moment my best type is that sessions is somehow involved during user delete and since on production I do have more sessions than locally it fails...
The text was updated successfully, but these errors were encountered: