Hello,
By using LSWS, I found that when I reload LSWS executing /opt/lsws/bin/lswsctrl reload makes my FCGI apps having to restart on the next request. As it takes some time to start my FCGI app (a RoR app), this delay is annoying after each reloading since I often must reload the config of LSWS to take the config changes in account. Is it possible to make reloading the config not to affect the FCGI app which are not concerned by the config changes ?
I am also wondering whether FCGI apps are running all the time waiting for requests or not ? For example if I have 10 vhosts witch each a FCGI app context for the URI "/", will the 10 apps be in memory waiting for visitors to request web pages ? Does LSWS do something to optimize memory usage with several (tens, hundreds or thousands...) vhosts with each his FCGI app, all stuff running on the same computer ?
Thank you in advance,
Best Regards,
Roman.
By using LSWS, I found that when I reload LSWS executing /opt/lsws/bin/lswsctrl reload makes my FCGI apps having to restart on the next request. As it takes some time to start my FCGI app (a RoR app), this delay is annoying after each reloading since I often must reload the config of LSWS to take the config changes in account. Is it possible to make reloading the config not to affect the FCGI app which are not concerned by the config changes ?
I am also wondering whether FCGI apps are running all the time waiting for requests or not ? For example if I have 10 vhosts witch each a FCGI app context for the URI "/", will the 10 apps be in memory waiting for visitors to request web pages ? Does LSWS do something to optimize memory usage with several (tens, hundreds or thousands...) vhosts with each his FCGI app, all stuff running on the same computer ?
Thank you in advance,
Best Regards,
Roman.