Search results

  1. S

    LSWS 5.0 and LiteMage Cache in shared hosting

    Hello, I am really excited to see the new LSWS 5.0 released and the addition of LiteMage and ESI caching. We plan to roll this out on our production servers shortly, but I have some concerns regarding how this works in a shared hosting environment. On a cPanel server running CloudLinux and...
  2. S

    503 Error caused by segfault in PHP strpos()

    Hi, I am struggling with some weird issues on a Magento site. For the most part it works fine, but certain actions cause a 503 error. I have enabled LSAPI core dumps and using gdb I have found the following: Core was generated by `lsphp5:/home/<user>/public_html'. Program terminated with...
  3. S

    LSCache disk usage

    I have a question regarding the LSCache. I notice that the cache grows very large over time. Initially, I was storing it on a RAM disk, but had to move it to a HDD as it used quite a lot of disk space. Right now it is 140 GB. Is there some way to limit the disk usage for the LSCache?
  4. S

    Run two versions of LiteSpeed side by side?

    Hello, I am eager to test how the new LSCache with ESI support in LSWS 5.0 would improve Magento performance. Is it possible to install the RC1 version alongside 4.2.10, but on a different port to do benchmarking and not affect clients? Will they interfere with each other?
  5. S

    Custom script handler stopped working after upgrade to v4.2.10

    Hello, We have a custom script handler configured for PHP 5.3 (5.4 default), which can be activated via .htaccess like this: AddType application/x-httpd-php53 .php This is working fine, however, after upgrading to LS 4.2.10 this stopped working. After switching back to 4.2.9 it works fine...
  6. S

    LiteSpeed Web server restarts automatically to fix 503 errors email

    Hello, Is it possible to disable the email alert: "LiteSpeed Web server "hostname" on "hostname" restarts automatically to fix 503 Errors ? I am getting a lot of these emails, I believe because some account is exceeding CloudLinux limits. I do not want all these emails sent to my mailbox, so...
  7. S

    Problems with LiteSpeed private cache

    Hi, I am having a hard time figuring out how the cache works, and how to configure it properly. From what I can see, not even the official documentation on your site seems to be correct. Case: I have a Magento ecommerce site and thus the global cache cannot be used. I have configured the cache...
  8. S

    LSPHP in suEXEC daemon mode and APC

    I noticed that if I turn off suEXEC daemon mode, the APC cache seems to flush constantly. Only a few MB's gets cached, and then it is emptied. Also, the "Uptime" value in the apc.php script seems to stay at 0 and 1. If I turn on suEXEC daemon mode, the cache fills to a couple of hundred MB's...
  9. S

    503 error after 36 seconds

    I have a problem where certain pages will not load. They seem to load for 36 seconds, and then boom.. 503 error and this in the logs: 2013-08-30 19:12:21.706 INFO [84.209.71.211:56635-0#APVH_domain.com] connection to [uds://tmp/lshttpd/lsphp5.sock.91919] on request #0, confirmed, 1...
  10. S

    APC and shm_size above 250MB throws error

    Hello, I am having a problem with APC in LiteSpeed. If I set apc.shm_size to anything above 251M, the page will not load and core dumps are generated in /usr/local/lsws/fcgi-bin Also, a lot of these entries show up in the error_log: [27-Aug-2013 20:41:22 UTC] PHP Fatal error: PHP...
  11. S

    CloudLinux and configuration options

    Hello, I am trying out CloudLinux on a new server and have a few questions regarding the configuration options in LiteSpeed: 1. What are the differences between LVE, CageFS and CageFS without suEXEC in Configuration > Server > General? What do you recommend for best performance/security...
  12. S

    [solved] Problem with SoapClient and LiteSpeed

    Hello, I am struggling with a strange problem. I have a script which makes a simple Soap request to my Magento API: try { $proxy= new SoapClient($host.'/index.php/api/soap/?wsdl',array('exceptions' => 1,'trace' => 1,"connection_timeout" => 120)); $sessionId= $proxy->login($apiuser...
  13. S

    [solved] Use different PHP versions on same server

    Hello, I have compiled both PHP 5.2 and 5.3 binaries using the LSWS console and followed the instructions here: http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:multiple_phps_in_control_panel_lsws I have created the external applications and configured the script...
  14. S

    [STDERR] Output file write error --- out of disk space?

    Hello, Recently, I have noticed a lot of these entries in the stderr.log file: 2011-09-09 15:04:40.274 [STDERR] Output file write error --- out of disk space? 2011-09-09 15:12:13.629 [STDERR] Output file write error --- out of disk space? 2011-09-09 15:12:13.657 [STDERR] Output file...
  15. S

    Problem with cPanel error log and LiteSpeed

    Hello, I am currently struggling with a problem related to the cPanel Error Log and LiteSpeed configured with suEXEC. I have set PHP to log errors to the server error_log in /usr/local/apache/logs/error_log. In LiteSpeed, the server error log level is set to Warning and the File Name =...
  16. S

    Configured POST variable limit exceeded

    Hi, I have recently started to see these in the server log: 2009-02-04 00:59:15.455 [NOTICE] [xxx.xxx.xxx.xxx:4595-0#APVH_xxx.xxx.xxx.xxx_xxx] [STDERR] ALERT - configured POST variable limit exceeded - dropped variable 'product[]' (attacker 'xxx.xxx.xxx.xxx', file...
  17. S

    More detailed stats for identifying scripts causing excessive load?

    Hello, With Apache, it is possible to see the exact scripts and urls that are generating traffic at any given time (cPanel -> Apache Status). I found this functionality very useful for idetifying scripts and accounts with high resource usage. I cannot seem to find an equivalent function in...
  18. S

    Error Log in cPanel not working after LiteSpeed installation

    Hello, After I replaced Apache with LiteSpeed, the Error Log section in users' cPanel is not showing anything. I am trying to figure out from where it extracts this information, and it seems that the errors are written to a file 'error_log' in each vhost's document root. How can I make...
  19. S

    Expat errors reported in stderr.log

    I have just switched from Apache to LiteSpeed, and now I'm seeing lots of these errors in sterr.log: expat reports error code 2 description: syntax error line: 1 column: 49 byte index: 49 total bytes: 0 data beginning 10 before byte...
  20. S

    Initial page load slow compared to Apache+mod_php?

    Hello, I am doing some tests with LSWS and the PHP LSAPI. From my experience, it takes a bit longer before a page is served on the first access compared to Apache with mod_php. I was under the impression that the LSAPI should be even faster than Apache+mod_php? The site is an eCommerce store...
Top