[Resolved] Method for determining if "PHP suEXEC Max Conn" is being hit?

Status
Not open for further replies.

LSUser12

Well-Known Member
#1
Hi,

I'm able to figure this out with debug logging enabled, but is there a good method for determining if requests are being queued due to the suexec max connection setting?

With debug logging on, you can get entries like:

2014-07-08 23:51:33.278 [DEBUG] [1.2.3.4:44893-0] concurrent conn: 10

... which if it's greater than the max suexec connections is fairly useful for figuring it out. Similarly I can do an lsof on the litespeed process to see open connections, but that doesn't seem super accurate.

Is there any method to find out how many suexec connections are pending at any given moment?
 

NiteWave

Administrator
#2
under
lsws web admin -> Actions -> Real-Time Stats->External Application

watch the "In Use", "Idle", "WaitQ" columns
if WaitQ > 0 frequently, need increase the default "PHP suEXEC Max Conn" value which is 10.
 

LSUser12

Well-Known Member
#4
Ah, I found it.

In /tmp/lshttpd/.rtreport

EXTAPP [LSAPI] [APVH_example.com] [APVH_user_Suphp:]: CMAXCONN: 2, EMAXCONN: 2, POOL_SIZE: 2, INUSE_CONN: 2, IDLE_CONN: 0, WAITQUE_DEPTH: 8, REQ_PER_SEC: 0.0, TOT_REQS: 70

Very NICE! Thanks!
 
Status
Not open for further replies.
Top