Search results

  1. M

    LSAPI Session Problem...

    What kind of session storage are you using? Maybe there is a permission problem if file based session storage is used. Can you please check the cookie value with Firefox LiveHeader, see if the value changes for every request? Thanks.
  2. M

    Getting Lots of Ruby Processes

    Thank you for the update, we will release LSWS 2.2.2 and ruby LSAPI 1.8 soon.
  3. M

    Problem installing LiteSpeed 2.2.1 Standard on UNIX

    Sorry, made another mistake again. Fixed, please download the package again.
  4. M

    Problem installing LiteSpeed 2.2.1 Standard on UNIX

    We made a mistake when building admin_php binary, admin_php dynamically linked to libjpeg.so, we updated the binary with static linkage to libjpeg.a, you can download 2.2.1 package again, the problem should be fixed. ~/lsws-2.2.1 is where the installation package expanded, you can remove it...
  5. M

    Possible 404 bug on rails sites with curl -I ?

    You are right. I overlooked that it is "HEAD" request. We will change it to follow 404 handler. As HTTP protocol requires that a HEAD request should return the same status code as a GET request. Thanks for the bug report. :)
  6. M

    Possible 404 bug on rails sites with curl -I ?

    That's all right. When there is no index file in the public folder, LSWS will forward the request to Rails application for processing, if there is a routing error, rails will output a routing error page. What is output for the same request when WEBrick or Mongrel is used? Is .htaccess support...
  7. M

    Connection limit and license upgrade

    There is no error when the TCP socket backlog is not full, user's browser just waiting for next available connection, usually, TCP socket backlog is >100. When backlog is full, user will get connection errors. Very easy, just run the installer and select upgrade.
  8. M

    Possible 404 bug on rails sites with curl -I ?

    Are you using the root directory of the Rails app to configure the Rails context? Do not use the path to the public/ folder. Any configuration warning or error in the error log? Is there a index file under public/ folder? Is the name of the index file added to the list of "Index files"...
  9. M

    Awstats

    You need to customize the template to enable awstats support. please make sure the vhost create its own log file. The current web admin console does not allow blank value for "Site Domain", you can try "$VH_NAME" there.
  10. M

    500 error when executing lots of sqls.

    Maybe your rails app uses a lot of memory for those SQL, try increasing the "memory limit" under "Rails" tab, see if it helps or not. You should be able to find some clues for this problem in lsws/logs/stderr.log, lsws/logs/error.log as well as Rails' log files.
  11. M

    Getting Lots of Ruby Processes

    No, I did not. You need to download ruby-lsapi-1.8 package and install it again and add an environment variable "LSAPI_PGRP_MAX_IDLE=xxx" under "Rails" tab to tell the ruby process to quit, the value should match "max idle time" value under rails tab.
  12. M

    Getting Lots of Ruby Processes

    OK, caught the bug on jp_n9's server, it only happens when ruby processes are started in suEXEC mode, user id is different from that of web server, and "max_idle_time" under "Rails" tab has been set. When there is no request to ruby process for "max_idle_time", LSWS will try to kill this...
  13. M

    trouble on redirect_to's

    The log shows that the request for "/quizzes/12" failed when LSWS is used. Only get "200 OK ..." line, other header lines are missing. You can try this request directly, without redirection, redirection is working fine. Take a look at how this request being handled by rails, and anything...
  14. M

    Getting Lots of Ruby Processes

    "Max CGI instances" does not matter. If possible, please PM me temp root access and admin for LSWS web interface to your server, I'd like to take a look.
  15. M

    Getting Lots of Ruby Processes

    No, it is not. The resource cost is number of file descriptors, no need to worry about that. "300" is the max value for the current standard edition, which is enough for pretty large website.
  16. M

    Getting Lots of Ruby Processes

    They are not related. "Max connections" under "Tuning" tab is the maximum connections that LSWS can handle. All active connections included. "Max connections" under "Rails" tab is the maximum number of connections that LSWS uses to communicate with backend ruby engine.
  17. M

    bytes.log bug found.

    OK, that's a good idea, we will use the same size limit of the access log file.
  18. M

    Getting Lots of Ruby Processes

    [SIZE=1]
  19. M

    Getting Lots of Ruby Processes

    To be safe, do "gem uninstall ruby-lsapi" to make sure the gem version is removed.
  20. M

    Getting Lots of Ruby Processes

    The problem should be mainly in gem package will be available when we officially announce this release. Yes, packages installed via gem and setup.rb may interfere with each other, remove the other one when switch the package. I think the gem one may has lower priority, not 100% sure. Be...
Top