I understand that litespeed/lsapi manages the RailsRunner.rb running processes, shuts them down when they arent being used etc. But just for the sake of knowing, is it possible to make them all stay running until the webserver is shut down? Example: mysite.test, 5 max conn. in rails context. Im wondering if there are settings you could tweak so if you saw:
me 98214 0.0 6.3 36084 14972 ?? SNs 11:56AM 0:02.31 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98215 0.0 6.3 36084 14972 ?? SNs 11:56AM 0:02.31 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98216 0.0 7.0 35544 16592 ?? SNs 11:56AM 0:02.63 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98217 0.0 4.4 23896 10328 ?? SNs 11:56AM 0:02.03 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98218 0.0 4.3 23896 10072 ?? SNs 11:56AM 0:02.04 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
And then 5 hours later, even with Zero people accessing the webserver during that timeframe... you would see the same processes still running.
Ive played around with Keepalive and Max Idle, but cant tell which is the correct one, if either, for this usage.
Thanks!
Joe
me 98214 0.0 6.3 36084 14972 ?? SNs 11:56AM 0:02.31 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98215 0.0 6.3 36084 14972 ?? SNs 11:56AM 0:02.31 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98216 0.0 7.0 35544 16592 ?? SNs 11:56AM 0:02.63 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98217 0.0 4.4 23896 10328 ?? SNs 11:56AM 0:02.03 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
me 98218 0.0 4.3 23896 10072 ?? SNs 11:56AM 0:02.04 ruby /usr/local/lsws/fcgi-bin/RailsRunner.rb
And then 5 hours later, even with Zero people accessing the webserver during that timeframe... you would see the same processes still running.
Ive played around with Keepalive and Max Idle, but cant tell which is the correct one, if either, for this usage.
Thanks!
Joe