Hello,
I use the connection with the tunnel.php since more then one year without serious problems, but now we have a customer with 50 clients who connect to the MySQL-Server (Linux) an we see that Apache-Tasks were started and often not ended, so the amount of tasks increases and after a while the apache reaches his limits (255 tasks) and no more access is possible.
In the log of the tunnel.php sometimes is written "Bad Client" what is the meaning of this?
How can we solve the problem? It is urgent, the customer stars to get angry.
Thank for help
Ralf
			
									
									
						Tunnel.php -Apache
Re: Tunnel.php -Apache
The "Bad Client" error arises when the stream_socket_accept php method returns error on attempting to accept socket connection.
You can find the information about this method by the link: http://www.php.net/manual/en/function.s ... accept.php
You can ask your administrator about this limit of Apache.
			
									
									
						You can find the information about this method by the link: http://www.php.net/manual/en/function.s ... accept.php
You can ask your administrator about this limit of Apache.
Re: Tunnel.php -Apache
Hello,
I'm getting the same logs: "Bad Client", and tasks become more and more.
What exactly solved this problem?
To raise the limit of Apache-Tasks is no solution, for my opinion.
Thanks for helping me
Christian
			
									
									
						I'm getting the same logs: "Bad Client", and tasks become more and more.
What exactly solved this problem?
To raise the limit of Apache-Tasks is no solution, for my opinion.
Thanks for helping me
Christian
Re: Tunnel.php -Apache
Such error can occur if there were no connections to the tunnel script during its lifetime (180 seconds by default). As a solution, you can increase the $LIFETIME variable value in the tunnel.php file.