Hey there,
Looking for suggestions on how best to configure the moving parts to take the most advantage of litespeed and an opcode cache. We need to maintain security but want to maximize performance and reduce cpu load.
Background:
- Litespeed Web Server Enterprise v4.0.17
-- LSAPI in suExec as lsphp5
- Plesk 9.5.3
- Currently eAccel complied thru LS
Our #1 priority is security hence the suExec, but performance is a very close #2
Plesk has a toggle for the domain settings to run as Apache, FastCGI, or CGI. We leave it on FastCGI or CGI to spawn the php process as the file owner so it has write permissions without needing 777.
We are looking for the best way to implement an opcode, APC, eAccell or what have you. So my specific questions knowing that we need to keep suExec and plesk are:
Some LS specific questions:
Looking for suggestions on how best to configure the moving parts to take the most advantage of litespeed and an opcode cache. We need to maintain security but want to maximize performance and reduce cpu load.
Background:
- Litespeed Web Server Enterprise v4.0.17
-- LSAPI in suExec as lsphp5
- Plesk 9.5.3
- Currently eAccel complied thru LS
Our #1 priority is security hence the suExec, but performance is a very close #2
Plesk has a toggle for the domain settings to run as Apache, FastCGI, or CGI. We leave it on FastCGI or CGI to spawn the php process as the file owner so it has write permissions without needing 777.
We are looking for the best way to implement an opcode, APC, eAccell or what have you. So my specific questions knowing that we need to keep suExec and plesk are:
- Which opcode works best?
- What are the ideal config settings for the opcode?
- Allocate 1mb, 10mb or even 10gb of ram for it?
- Is the ram allocated on a per vhosts basis or server wide? How is it utilized?
- Does the opcode reset when the suExec php process terminates? Is there any way around it?
- Anything we can do in plesk to achieve a better setup?
Some LS specific questions:
- What are the ideal settings for LSAPI for ram/process on very large shared host? Over 800 vhosts
- Max children?
- Max connections? etc.
Last edited: