Hi,
We use CloudLinux and CageFS on our cPanel servers (generally VPSes with 8 GB RAM, hosting 200 sites or so per server). We do WordPress-specific hosting.
Im wondering if I can ask for a few recommendations on performance enhancement. Our goal is to provide the best possible performance and stability.
We use Varnish (via the UNIXy WHM plugin), and it gives us an exceptional boost. We also run FCGID. And of course we have optimized MySQL. Beyond that we want to fine-tune our setup, but some of the facts are vague regarding optimal setup of FCGI, opcode caches, etc.
And, surprisingly, opcode caches don seem to give us much (or any) performance boost beyond what Varnish is already doing. Weve also tried nginx (also via UNIXy) but didn see any real gains beyond what Varnish offers. We also had stability issues with nginx.
So, a few questions:
- What are the best FCGI settings along with CloudLinux? Weve seen a couple of tutorials and blog posts, so I want to make sure we have the right one.
- Have other people experienced temperamental nginx performance? I know lots of people are running it successfully. On the other hand I have seen tons of 502 "nginx bad gateway" errors all over the Internet from time to time.
- On a cPanel hosting server running CL, what is the best opcode cache between eAccelerator and APC? If eAccelerator, is the cPanel EasyApache implementation good enough? We understand that it doesn cache user data, but it still seems to give us great performance.
- If APC, what are the best settings (memory, etc.) for shared hosting. Ive also heard that APC can slow down a server due to IO. Also, as for the ssh memory setting, that is per user, right? So if we had 100 sites on a server with 128 MB APC memory, that would add up quickly. Or do all users share a single shared memory pool?
- Is memcached a good companion to another caching mechanism?
Thanks in advance for any advice!
Mark
We use CloudLinux and CageFS on our cPanel servers (generally VPSes with 8 GB RAM, hosting 200 sites or so per server). We do WordPress-specific hosting.
Im wondering if I can ask for a few recommendations on performance enhancement. Our goal is to provide the best possible performance and stability.
We use Varnish (via the UNIXy WHM plugin), and it gives us an exceptional boost. We also run FCGID. And of course we have optimized MySQL. Beyond that we want to fine-tune our setup, but some of the facts are vague regarding optimal setup of FCGI, opcode caches, etc.
And, surprisingly, opcode caches don seem to give us much (or any) performance boost beyond what Varnish is already doing. Weve also tried nginx (also via UNIXy) but didn see any real gains beyond what Varnish offers. We also had stability issues with nginx.
So, a few questions:
- What are the best FCGI settings along with CloudLinux? Weve seen a couple of tutorials and blog posts, so I want to make sure we have the right one.
- Have other people experienced temperamental nginx performance? I know lots of people are running it successfully. On the other hand I have seen tons of 502 "nginx bad gateway" errors all over the Internet from time to time.
- On a cPanel hosting server running CL, what is the best opcode cache between eAccelerator and APC? If eAccelerator, is the cPanel EasyApache implementation good enough? We understand that it doesn cache user data, but it still seems to give us great performance.
- If APC, what are the best settings (memory, etc.) for shared hosting. Ive also heard that APC can slow down a server due to IO. Also, as for the ssh memory setting, that is per user, right? So if we had 100 sites on a server with 128 MB APC memory, that would add up quickly. Or do all users share a single shared memory pool?
- Is memcached a good companion to another caching mechanism?
Thanks in advance for any advice!
Mark
Comment