mysql - Slow query stops apache from getting answer -
I have a problem where I can not query from mysql db unless other queries occur. This happens when I run a heavy SQL-query (30s) from Apache, or when I run a class query from within the same Apache-request.
Since my queries are selected only (no updates or modifications and no transactions) I think it should be possible to run simulatanious questions How can I make this possible?
I am using the Zend_Db :: factory ($ config-> db-> adapter, $ dbConfig); I'm not sure whether it limits the connection or always tries to use the connection. I manually close the connection between each call in the "serie" of the call.
/ peter
You probably have a connection pool in Apache, which Running out I'm not sure which module you are using in Apache, but if after this check your DBDMax parameter.
Comments
Post a Comment