[eluser]yekibud[/eluser]
I don't know if this is a CodeIgniter issue, a PHP or MySQL config issue, or something else going on with my hosting service (DreamHost), but here's the problem:
Multiple subsequent queries cause a number of php5.cgi processes to launch. They do not terminate and my web-app hangs. Looking at MySQL show processlist, I see a sleeping query for each php process.
Note:
- My MySQL tables are InnoDB so that I can use foreign key constraints for delete operations. I don't know if this makes any difference.
- PHP is being run as CGI
Everything works fine in my local development environment where I have PHP running as an Apache module.
Any tips would be greatly appreciated.