I have Moodle 2.2 on Ubuntu 64-bit 11.10. I have two virtual servers, one with apache/php and the other with mysql. Data directory is on a nfs-share on the SAN´s NAS (EMC high end SAN). I have quite a lot of power. Three strong hosts with a total of 72 GB RAM. Apache server has 12 GB RAM, mysql has 7 GB RAM. Lots of cpu cores and nic´s.
I have a few thousand users and everything has worked perfectly until some weeks ago. Suddenly very long page load times - occasionally, but often enough... Especially (pages with) profile pictures.
Could it be a session issue? I have tried to change session data directory in php.ini to a local disk but it wont work - it only shows in (phpinfo) master section. Local section still shows config.php´s moodle data directory. I have set $CFG->respectsessionsettings = true in config.php.
Any idea how to solve this performance issue? Or the cause?