Search results

  1. M

    Invalid Credentials

    which OS are you using? Try lsws/admin/misc/admpass.sh to reset your admin password.
  2. M

    Pre-sale questions

    You can use the following script to dump the system resource limit for PHP process <?php $limits = posix_getrlimit(); print_r($limits); ?>
  3. M

    SSL installation // beginning process

    We usually put it in /opt/lsws/conf/cert
  4. M

    mod_rewrite rules for SilverStripe CMS

    It is a file/directory permission problem, not related to rewrite rule.
  5. M

    mod_rewrite rules for SilverStripe CMS

    the rewrite rule for Apache should work with Litespeed.
  6. M

    How many IP addresses can the Denied List handle?

    It is limited by the maximum size of each XML configuration value, Right now the limit is about 1MB, so it should be able to hold 58K IPs. How to maintain this list is another story. ;)
  7. M

    From Felosi's Client

    That's right, you need to let your admin to clear PHP opcode cache directory after upgrading PHP. And I heard that there are PHP compatibility issues with 5.2.8 .
  8. M

    Various Post Installation Questions

    Easy apache will install all libraries for you if anything missing on your server. For unexperienced people, it is a good idea to run easy apache first, then build matching PHP. May not be necessary for experienced admins.
  9. M

    Various Post Installation Questions

    Sometimes, user need to do "make clean" under /home/cpeasyapache/src/php-5.2.x then build matching PHP. When you build matching PHP from WHM, the PHP will share the same php.ini as Apache mod_php. With LSWS admin console, you have the flexibility to specify the location of php.ini . To use the...
  10. M

    Added a 'static' website to my VPS

    You need to set http://www.litespeedtech.com/docs/webserver/config/vhostgeneral/#docRoot
  11. M

    PHP 5.2.8 is out

    The latest build of release 3.3.23 has 5.2.8 now. but it wont work unless the suhosin patch become available.
  12. M

    Script Timeout Causes Retry & Multiple SQL Inserts

    Maybe it is the memory limit for PHP processes, you can try increase the memory soft/hard limit for lsphp5 external application.
  13. M

    How does one configure a rack enabled app in litespeed?

    I am not that familiar with rack. For the lobster example comes with the rack package, you need to change the handler from WEBrick to LSWS in protectedlobster.rb Rack::Handler::LSWS.run pretty_protected_lobster Then add an external application to LSWS and assign proper script handler and/or...
  14. M

    Requests in Processing

    I think each mongrel instance can only handle one connection and process one request at a time, so, I think you should use "Max connections = 1" for all mongrel external app.
  15. M

    PHP 5.2.8 is out

    because suhosin patch for 5.2.8 was not available yesterday.
  16. M

    php mail 503 error

    You should check error.log and stderr.log. If used with cPanel, the log file is under /usr/local/apache/logs/, error_log and stderr.log
  17. M

    Requests in Processing

    If each vhost get a its own mongrel instances, one vhost should not affect the others. Have to fix the script, changing timeout may not help as the mongrel may still working on the previous request when LSWS send next request to it. Why not use our dedicate rails support via ruby-lsapi?
  18. M

    LSWS 3.3.23 and LSLB 1.5 have been released

    LiteSpeed Web Server 3.3.23 has been released Download LiteSpeed Web Server View Version History LiteSpeed Load Balancer 1.5 has been released Download LiteSpeed Load Balancer View Version History
  19. M

    Added a 'static' website to my VPS

    You do not need to use the Rails vhost template for a 'static' website. Just create a vhost and set the document root to the directory directly.
  20. M

    Requests in Processing

    Maybe you can consider to create a external app for each vhost, for PHP, use PHP suEXEC. Your Inital request timeout is too low, keep it at 60 or the longest time that a request would take. LSWS queue the requests when running short on connections to external app. So, "WaitQ" is not 0.
Top