Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Possible Performance Problem with MySQL during default notification time #9

Closed
Skylark95 opened this issue May 5, 2013 · 4 comments
Assignees
Labels

Comments

@Skylark95
Copy link
Owner

[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice:  resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
@Skylark95
Copy link
Owner Author

Bluehost appears to have 'max_user_connections' set to a very low number as this is shared hosting.

May need to request app to try again after a few seconds if this error occurs.

Could also have the script sleep if there are too many connections.

@Skylark95
Copy link
Owner Author

Going to start by changing the default time to the time the app is installed in version 2.1.2

Will consider changes to the server code if still needed.

@ghost ghost assigned Skylark95 Sep 20, 2013
@Skylark95
Copy link
Owner Author

May still change default time, will close after version 2.1.2 as webapp v3 will not use a database.

@Skylark95
Copy link
Owner Author

Using json caching instead of mysql so problem no longer exists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant