As you could see on picture, saving data for users is very slow. Queries run fast, but for some reason it takes up to 2 minutes to save user data. The same happens with logging in.
What is more strange, I have DB versions of this site and have a previous version where this works normally and all of a sudden this started to happen.
- I checked errors in log
- Disabled modules
- Cache reseting
- Exported DB tables from working DB (user, user_roles, variables) to non working
- Checked for missing modules
- Tried older version of drupal (7.33).
- Disabled some custom code modules
Tried everything I could come up, but still user_save is slow like on image and no errors or warnings appear. Really don't have a clue anymore what could be wrong, something in DB level must been wrong, not sure what to try anymore and where to look?