We’re experiencing extremely high load on our server, due mostly to the db queries with our EE site. I’m trying out some of the optimization methods described in the docs and Wiki, but I’m encountering some problems with template caching.
I’ve noticed that the cache folders (page_cache, db_cache, etc.) are all owned by apache, and they don’t write the sub-folders unless I change ownership of the cache directories.
Now that I’ve changed ownership of the cache directories, I’m seeing many sub-directories getting creating constantly, but they’re all empty, and they’re all owned by apache. Are these directories supposed to be empty or filled with cached files?
I’m assuming the problem is that PHP is assigning ownership of these directories to apache, which doesn’t have write access. Is this correct? I’m trying to resolve this issue with my host but they don’t seem to understand the problem and correspondence is very slow.
Any advice?
Thanks!
Paul