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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -