Spiga

RLimitCPU : CPU limiting for apache.

Another Unique tool available with apache which helps to limit the CPU resource usage by apache processes. The values passed on are in seconds or as 'max' which should use the full usage settings as specified on the operating system parameters. The clause takes up one or two arguments based on the minimum and maximum limits that are to be set.

CPU resource limits are expressed in seconds per process.

Again this will be active for all the sub processes from the apache server but will stand invalid for the main activities or the direct child of the apache server.

RLimitCPU 60 120

should be ideal for normal and extreme php queries that are to work with the server. Although you can use the max value for servers as per requirement and can update the limit set by operating system by logging on to the system as root.

0 comments: