I am building a browser game using PHP, Javascript and HTML5 and I am testing it on a local server. However, sometimes I get the following error:
Warning: mysqli::mysqli(): (HY000/2002): An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
It blinks on the screen (e.g. SCREAM error) and then disappears. This does not affect the functionality of the application, but sometimes it can remain on the screen for up to 5-10 seconds. I mention that I use a lot of AJAX requests to work with database changes, the most noticeable of which is the fact that I have a timer that reads a set of svg cards in 2 seconds. I found the following lines in my.ini file (mysql configuration file). Should I try to change some of these values?
Or maybe I should look in the php.ini file? In addition, I am running the Wamp server on Windows 7.
source share