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

Discussion in 'Install/Configuration' started by ts77, Mar 31, 2005.

  1. ts77

    ts77 New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    "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.

Share This Page