Search results

  1. M

    Having issues after upgrade to LSWS 4.0.3 and Rails 2.3.2.1

    The log shows that the RailsRunner.rb failed to start. You should check other Rails 2.3.x discussion. I think your RailsRunner.rb need to be updated with the one coming from 4.0.3 release to get Rails 2.3.x support.
  2. M

    Problem with sort_by{rand}

    This problem has been confirmed in our lab. released ruby-lsapi 3.5 to reinitialize the random generator automatically.
  3. M

    Problem with sort_by{rand}

    I think it is the rand() function in Rails, the random generator has been initialized only once when the Rails Application starts, then RailsRunner for LSWS will fork() from the parent process, to process a request, then exit if idle for a while, then fork() another process when a new request...
  4. M

    How to use Mod Security & ClamAV with Litespeed 4.0

    You should not use chroot with a hosting control panel unless the control panel support chroot. For the security rule, if you want to block something like a URL "/blabla" Just add a rule in modsec2.user.conf like SecRule REQUEST_URI "/blabla" then create a file to serve url "/blabla"...
  5. M

    How to use Mod Security & ClamAV with Litespeed 4.0

    First, please upgrade to 4.0.3, Second, add a testing mod_security rule, third, try to hit the testing rule with a crafted request fourth, checklogs/modsec_audit.log
  6. M

    WebSite opens in 50 seconds? - Load Averages: 3.00 - Why slow? Please Help Me!

    It appear that some WordPress blog has a plugin talks to remote servers at the end of loading the home page. the plugin has a directory name "wassup". I think disable that plugin will speed things up.
  7. M

    PHP versions changing of the fly with no reason

    It is complicated, anyway, 4.0.4 build should have this addressed. You can give it a try.
  8. M

    Problem with Memcache / forking

    Yes, please keep us posted when it is available, so we can add som generic code like "clear_active_connections!" to address it in RailsRunner.rb .
  9. M

    503 error on every initial request to a Rails site

    Yes, you should set "Instances" to "1". Also try adding environment variable LSAPI_PGRP_MAX_IDLE=86400 The ruby process should be started when LSWS start and stay alive. so the slow start should be avoided.
  10. M

    PHP versions changing of the fly with no reason

    It is a <LocationMatch /index.php> configuration in mod_security configuration, exclude.conf, causing trouble. It works properly after commenting it out.
  11. M

    Problem with Memcache / forking

    maybe it is too early as the connection to memcache was established after loading environment.rb. Please try to patch RailsRunner.rb, at where "ActiveRecord::Base.clear_active_connections!" is called.
  12. M

    WebSite opens in 50 seconds? - Load Averages: 3.00 - Why slow? Please Help Me!

    Maybe too many running PHP process, reduced "max idle" time to 10 seconds for lsphp4 and lsphp5 external app. see how it goes. site loading speed is fine to me, unless you PM me the site that are very slow.
  13. M

    Problem with Memcache / forking

    It should be fine. environment.rb only get loaded once I think.
  14. M

    WebSite opens in 50 seconds? - Load Averages: 3.00 - Why slow? Please Help Me!

    Please PM the admin console login, I will take a quick look.
  15. M

    Connection Interrupted After Upgrade to 4.0.3

    Just manually patch /usr/local/lsws/conf/httpd_config.xml, found <perClientConnLimit>, check the value of <softLimit> and <hardLimit>, set it to a large number like "1000". Please let me know the current value, your OS? 32bit? 64bit? "-1" is not a valid value.
  16. M

    Problem with Memcache / forking

    Yes, need to reset the connection to memcache. Just close all connections after the initialization.
  17. M

    Cannot re-install litespeed

    has the issue resolved? Maybe you need to reset your serial number and reinstall from scratch. http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:license:all_about_licenses
  18. M

    large static file downloads stop at 50MB

    It will be much more efficient if DOCman can use "Internal redirect" instead of streaming the file through PHP. http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed:wiki:feature:internal_redirect Just test if it is a LiteSpeed Web Server, send back a "X-LiteSpeed-Location: ..."
  19. M

    WebSite opens in 50 seconds? - Load Averages: 3.00 - Why slow? Please Help Me!

    If you use PHP suEXEC, and your site get high traffic volume, you probably need to increase "PHP suEXEC max conn". http://www.litespeedtech.com/docs/webserver/config/general/#phpSuExecMaxConn check the real time statistics report, for the external application report. If "WaitQ" is not zero...
  20. M

    PHP versions changing of the fly with no reason

    I could not reproduce what you described. the PHP version is consistent. You can give it a try. For subdomain, you should put the .htaccess under the document root, that's right way, not in the subdomain root directory. LiteSpeed does not like Apache which go through all .htaccess along the...
Top