June 19, 2013

Post: Are PHP persistent connections evil ?

FastCGI all can fix this problem. Lets talk now about why Persistent connections were disabled in mysqli extension. Even though you could misuse persistent connections

Post: Debugging sleeping connections with MySQL

… of MySQL connections quicker than you expected but it also frequently indicates serious problems in the application. If you do not use persistent connections… can find php-cgi is holding connection in question (this is lighttpd based system with fastcgi) Now you know the process and…

Comment: Are PHP persistent connections evil ?

… ago, it’s in a well-designed web application where persistent connections are beneficial. Badly-designed applications don’t use them either… (up to 3000 threads), with fastCGI + PHP (1 process, 24 children), connecting to mysql via Unix sockets with persistent connections. I have not had any…