whats the "pool"-number in external apps section a

ts77

Well-Known Member
#1
Hi there,
... another question about the useability :).
whats the "pool"-number in external apps section about?

I've defined a fcgi-handler for my php-install.
Its set to
Code:
Max Connections	20
Environment	PHP_FCGI_MAX_REQUESTS=500
PHP_FCGI_CHILDREN=20
but I always see only 2 in "pool" which I understand as only 2 php-processes are used.
There are at least 10 concurrent requests to php-scripts at the same time ... .

Just wanting to know what that number means therefore :).


thanks in advance,

thomas
 

mistwang

LiteSpeed Staff
#2
"pool" number in the real time report is the current size of connection pool for that external application, is up to the "Max connections" configuration.
lsws dynamically adjust the pool size and keep the pool as small as possible. So, in your case, 2 is sufficient to handle all requests without any delay, even though, you thought there are 10 concurrent requests. ;-)
You can use "ab" to do some load test and check the pool size.
 
Top