Search results

  1. M

    Ruby On Rails 503 Service Unavailable Bug

    Since Ruby LSAPI fork children process off a parent process, so the child process might hold something invalid that inherits from the parent process. Is there any Rmagick opteration during Rails framework initialization? Does it leave a core file somewhere? have you check the core file with GDB?
  2. M

    500 Server Error on 3.0 - works fine on 2.2.6

    Looks like your scripting engine sent back a response header indicating a compressed response body while the response body is not compressed, for some reason LSWS think the client is not capable of handling compressed response, so it try to uncompress it. Have you enabled GZIP compression for...
  3. M

    Very Small PHP

    stirp -s lsphp :)
  4. M

    Ruby Rails tuning - traffic bursts

    Yes, remove LSAPI_CHILDREN. "Max Connections" in the virtual host rails context overrides the server level setting.
  5. M

    DocumentRoot not working ?

    You can turn on debug logging by setting "Debug Level" to "HIGH", the log should tell you where LSWS looks for the file. I think it might be caused by inproper configuration of the Rails Context, it should be pointed to /var/www/vhosts/doamin.
  6. M

    Ruby Rails tuning - traffic bursts

    You do not need to set LSAPI_CHILDREN explicitly, it will be set automatically to match "Max Connections". 300 children process looks pretty high to me, set it too high may hurt the performance sometimes, and the optimal value is depends on your application, I suggest you to start from 50 and...
  7. M

    Rewrite Problem

    There is a subtle change in rewrite engine in release 3.0 that rewritten URL may be processed again. As you can tell from the log file, the URL has been rewritten again and again by prepending "/_endemit/" repeatedly, you may need to add a rewrite condition to prevent that from happening.
  8. M

    LS3.0 scratches hard disk every second?

    No way to stop it at this moment, one possible solution is to mount a RAM disk at /tmp/lshttpd/ .
  9. M

    Failed install on Ubuntu

    Yes, ia32-libs is required for running 32bit binary on 64bit Linux, if it is not installed in the rebuilt slice, you have to install it manually. Our dedicate 64bit binary of Enterprise Edition does not require this.
  10. M

    LS3.0 scratches hard disk every second?

    LSWS writes to a status report file under /tmp/lshttpd every second, it might be caused by that. On other OS, the file should be cached in memory and there is no real disk opteration. Maybe MacOS is special. :)
  11. M

    Rewrite Problem

    Can you setup a test server with rewrite logging enabled. This way, we can figure out what causes the loop of redirection.
  12. M

    Server Signature

    Yeah, it is very easy to implement, we will consider adding it in future release.
  13. M

    Query re cPanel type tools

    You do not need to install a web hosting control panel like cPanel. Our web console should have web related configuration covered. control panel can help you manage other part of the system like DNS, webmail, service monitoring, etc. It is really up to you that how comfortable you are when you...
  14. M

    Server Signature

    First, we think LiteSpeed is the most secure web server out there. ;) Second, the security by obscure does not really help much, if any help at all.
  15. M

    Permission Issue

    You need to make directory /etc/httpd/conf/ssl.key/ accessible for user apache, the server.key file do not need to be readable for user apache for better security.
  16. M

    Php 5.2.*

    1) Just follow our wiki on building lsphp, should be the same. 2) Based on our past experiences, PHP4 is faster than PHP5, at least for PHP 5.1.x, not sure about 5.2 though, you should do you own load testing to make decision. :)
  17. M

    LSWS 3.0 admin interface problem

    We found that it relates to the number of tooltips on the page. When there are more than 10 tooltips, we got the error. Will investigate more.
  18. M

    ColdFusion Support

    I am not very familiar with ColdFusion, from what information I gathered, reverse proxy probably is the only choice now.
  19. M

    Upgrade from 2.2.6 to 3.0

    Yes, there are some tunings on the defaults. And it is recommended to install a fresh copy of 3.0 if it is not a big trouble to migrate your existing vhosts from 2.x.
  20. M

    3.0 install.sh error

    The PHP problem has been fixed in the updated 3.0 package, please download and try again.
Top