Hello Albert, On Thu, May 5, 2011 at 9:16 AM, ALBERT HIDALGO BAREA <[email protected]> wrote:
> From 1 to 100 simultaneous clients I get a performance around 5000 requests > per second, with a Hello World PHP file. > > But when increasing from 150 up to 1000 simultaneous clients, performance > goes down to 100 requests per second. > > My system is a Dual core machine, with Red Hat Enterprise Linux 5.5. > > > > There is something to configure in order to avoid this issue? Maybe I have > to limit the number of threads which Cherokee can handle. > There are two things to take into account here: - First, the number of child processes of php-cgi (or php-fpm). Odds are the bottleneck is not in Cherokee, actually. When php does not have worker processes to handle the requests things do get very slow. - Check your kernel limits. It's very usual to reach them when performing benchmarks. If the allocated resources of the kernel are exhausted (ports, file descriptors, etc) the results of the benchmark will not represent the real performance of the server in a tuned system. This document<http://www.cherokee-project.com/doc/other_os_tuning.html>may come useful; check it out. -- Greetings, alo http://www.octality.com/
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
