PDA

View Full Version : whats the "pool"-number in external apps section a


ts77
03-31-2005, 12:46 PM
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

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
03-31-2005, 01:29 PM
"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.