I have had great trouble so far trying to get LSAPI php 5.2.5 to work well for me in high concurrency situation, and need some guidance. Currently I am using apache 2.2 with httpd.conf MaxClients=1000, KeepAlive on, KeepAliveTimeout 3, MaxKeepAliveRequests 100, Timeout 60, MaxRequestsPerChild 50, ServerLimit 1250 and MySQL my.cnf max_connections=1600 and max_user_connections=1600. It works but is not very fast when I reach 1000+ concurrent users. I hoped lsws would handle more users and be faster but it froze overnight the first time I ran it, and load is much too high when I reach 1000+ users. I have maxConnections=2000, maxKeepAliveReq=15, smartKeepAlive=1, keepAliveTimeout=3, eventDispatcher=epoll, LSAPI maxconns=1500, PHP_LSAPI_MAX_REQUESTS=2000, PHP_LSAPI_CHILDREN=1499, LSAPI_AVOID_FORK=1, LSAPI_MAX_IDLE=30, persistConn=1, pcKeepAliveTimeout=3, backlog=100, instances=1.
This is on X86_64 Linux 2.6.16.53 #1 SMP with 8GB RAM and dual processor dual-core AMD Opteron 2.2 GHz
This is on X86_64 Linux 2.6.16.53 #1 SMP with 8GB RAM and dual processor dual-core AMD Opteron 2.2 GHz