Search results

  1. M

    Auto Start + Django

    Is there anything in lsws/logs/error.log or lsws/logs/stderr.log, maybe you need to set some extra environment variables to make django happy.
  2. M

    Auto Start + Django

    Maybe manage.py does not work well, you need to create a file like below and start your app with that file, without any command line parameters. #!/usr/bin/python import sys, os # Add a custom Python path. sys.path.insert(0, "/home/user/python") # Switch to the directory of your project...
  3. M

    Manual Php Compile with cPanel

    You have to follow our wiki to build your own lsphp binary. cPanel install php as an Apache module which is completely different.
  4. M

    Expires header not updated when status 304

    It is up to the browser to cache or not to cache a html page unless you have cache control header in the reply. It will be available via update, we still need working on some features.
  5. M

    Expires header not updated when status 304

    Please download and try http://www.litespeedtech.com/packages/3.0/lsws-3.1.2-std-i386-linux.tar.gz see if it is fixed.
  6. M

    Expires header not updated when status 304

    Fix will be in 3.1.2 release.
  7. M

    Lightspeed, CPanel, RoR setup

    Havd you added a vhost to listener mapping? Maybe you should instaniate the rails vhost if you have not yet then add the listener to vhost mapping explicitly.
  8. M

    Umlauts in notes

    Thanks. the note field need to be encoded properly. Will fix it.
  9. M

    Check cache, then dispatch

    What you described is what Rails page cache does, and our Rails solution follow the same route. It is there already.
  10. M

    Lightspeed, CPanel, RoR setup

    It should work, you need to turn on debug logging and check the error.log.
  11. M

    LiteSpeed on OpenSolaris

    No plan yet.
  12. M

    syntax of Expires Default

    'A86400' means the page expires one day after the access.
  13. M

    Lightspeed, CPanel, RoR setup

    All Rails apps need to be configured through LiteSpeed Web Console, configuration through cPanel may not work.
  14. M

    Urgent Help Needed, getting DUgg and Slashdotted

    Increased load does not matter much, and it is normal to get higher load when you increase it. There is a sweet spot somewhere. Just do not overtune it. That's pretty much what can be done from litespeed side, you can continue to improve your PHP script in order to get better performance out of...
  15. M

    Urgent Help Needed, getting DUgg and Slashdotted

    The current value should be "10" already, so try "20", the rule of thumb is to keep "WaitQ" at "0" for the most of the time.
  16. M

    Urgent Help Needed, getting DUgg and Slashdotted

    Maybe use "10" for "PHP suEXEC max conn" first, if "WaitQ" is higher than 0 consistently, incarease it to "15" or "20".
  17. M

    Urgent Help Needed, getting DUgg and Slashdotted

    You need to increase the "PHP suEXEC max conn" to "20".
  18. M

    Running PHP 4 and 5 in parallel

    You can creat a php.ini for php5, like something at lsws/php5/php.ini.
  19. M

    Urgent Help Needed, getting DUgg and Slashdotted

    You need to exclue the cache and buffer memory from used memory. Do you mean that you use APC as an object cache inaddition to opcode cache? If your PHP was built with memcache extension, you should be able to use it. I need the lsphp application statistics at the bottom of the report page.
  20. M

    Urgent Help Needed, getting DUgg and Slashdotted

    Have you tried memcached to cache some part of your page to avoid querying the DB again and again? What is your current memory usage as shown in "top" ouput? From the real time report of LiteSpeed web console, what's requests/s of your server and lsphp application? Please post the statistic...
Top