[eluser]medvind[/eluser]
Hello!
I have a self made web shop built on CodeIgniter, with order and product administration functions. Sometimes when using these functions the entire website, but especially the admin pages, get very, very slow. phpMyAdmin is also very slow. Sometimes it all borders on being unusable because of the load times.
Unfortunately I don't have access to error logs as the shop is hosted by a web hotel, but I've been told there were too many processes running, resulting in errors like this:
Code:
[notice] mod_fcgid: too many /opt/php-wrapper/[username]/php-
wrapper processes (current:5, max:5), skip the spawn request
My host has raised the maximum number of processes to 10 (from 5) but the problem is still not resolved.
Once when I had to process a couple of thousands of rows in a database table (and run one insert operation for each row), I noticed that even though the PHP script was finished, the changes hadn't yet been made to the database. Each time I refreshed the table there would be new changes made.
What might be the problem? I run CodeIgniter 1.7.1 on a server with PHP 5.2.14, MySQL 5.0.45 (using MyISAM). Please tell me what I'm doing wrong! (or could be doing better)