Search results

  1. M

    cache-settings

    It depends on how big and how many static files need to be served. It is good as long as most static file can be fit into either in memory or MMAP cache. On some system, seems that MMAP is better, so I recommend using it when possible, just void those files smaller than a OS "Page" size...
  2. M

    Unset cookies before 302 redirect with phpLsapi

    I think we had found the bug, can you please download http://www.litespeedtech.com/lsapi/litespeed-1.4.tgz and give it a try. Not sure about the "corrupted double-linked list with RHEL4" problem though. Thanks, George
  3. M

    Core Dumps, etc...

    Those core files are corpse of crashed FCGI PHP process, not really LSWS related, you need to use option "--enable-debug" when you compile the PHP binary to include the symbol table, then use command "gdb <path/to/php> <corefile>" to exam the core file, then type command "bt", submit a bug...
  4. M

    Best configuration for PHP LiteSpeed SAPI

    Hi Jefferson, We did some performance test today. Our test result shows that the scalability of poll is very bad when concurrent level is high, and LiteSpeed PHP has worse performance than FCGI PHP, when epoll is used, LiteSpeed PHP always win. The poll() implementation in 2.6 Kernel is...
  5. M

    bug in .htaccess-interpretation? (2.1.1)

    I got another report that .htaccess stop working after LSWS run for a while, please try a restart, see if it works for a while, then stop working again. Thanks!
  6. M

    Flooding and Many request::Outbound and/or inbound Bandwidth

    LiteSpeed should be able to handle this kind of attack very well. Please take a look at: http://www.litespeedtech.com/docs/HowTo_QA.html#qa_dos Set Connection soft limit to 10 and hard limit to 30, Bandwidth limit will help as well. Please keep us posted. :-)
  7. M

    bug in .htaccess-interpretation? (2.1.1)

    Thomas, It work pretty well for me. :-) Looks like it is not because <files> section. Have you checked the error.log? George
  8. M

    mod_rewrite stopped working on 2.1 upgrade

    So the rewrite is to redirect a request for a none-existing file to another file, right? Can you please PM me your rewrite rule used? Thanks.
  9. M

    corrupted double-linked list with RHEL4

    Sure, we will double check the memory allocations/deallocations in lsphp.
  10. M

    mod_rewrite stopped working on 2.1 upgrade

    Can you please give us an example? You can try turn on rewrite logging, see if anything logged in the error.log.
  11. M

    Why set eaccelerator.optimizer = 0 ?

    We don't have accurate answer for this, you need to try. :-)
  12. M

    Unset cookies before 302 redirect with phpLsapi

    Thank you for the bug report. Does the unset always work if no Location header? Can this be tested with wget or lynx? It will be great if you can provide a test script.
  13. M

    Why set eaccelerator.optimizer = 0 ?

    Due to the dramatic changes in PHP 5, the optimizer in eaccelerator or mmcache may not work properly, so we turn it off by default. Feel free to turn it on. :-)
  14. M

    corrupted double-linked list with RHEL4

    After searching on the internet I found this, http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/RELEASE-NOTES-en.html#id850584 I think you can try increasing the CGI process memory limit under "Server"->"Security" tab.
  15. M

    lsapi & eaccelerator (or mmcache)

    The gzip compression problem should be fixed in 2.1.1 along with the wrong CGI environment variable. LiteSpeed PHP has been updated as well. The README file is under php/sapi/litespeed/. Thank you for the bug report.
  16. M

    If-None-Match in php

    Thank you for the bug report, will be fixed soon.
  17. M

    gzip for static files with no write permissions

    LiteSpeed needs write permission to create a copy of the compressed static file under the same directory. If you prefer not to give write permission to the server process, you can create them manually, just rename "*.gz" file to "*.lsz".
  18. M

    lsapi & eaccelerator (or mmcache)

    In order for LSAPI PHP sharing on eaccelerator shared memory, You need to set environment variable PHP_LSAPI_CHILDREN to match the value of "max connections", and set 'Instances' to '1', please read the README file about this.
  19. M

    Does lsws has multiviews function?

    rewrite rule should be: RewriteCond /home/www/torrent/$1.php -f RewriteRule ^/(.*)$ /$1.php You are accessing URL '/', this does not work, you should use directory indexing instead, add "index.php" or whatever index file used to "Directory Indexes". if you access "/index" URL, the above...
  20. M

    Does lsws has multiviews function?

    Is URL Rewrite enabled? Did you restart the server after configuration changes? To debug the rewrite rule, you can turn on the rewrite log by setting Log Level to '9', then check lsws/log/error.log It works for me.
Top