Search results

  1. M

    gzip and internal redirect

    ~# /opt/cpanel/ea-php56/root/usr/bin/lsphp -v PHP 5.6.40 (litespeed) same on both servers! It works with just ob_start(), but ob_gzhandler has worked fine for several years in conjunction with X-LiteSpeed-Location. I'm concerned there is some underlying issue somewhere. The only difference...
  2. M

    gzip and internal redirect

    I have two servers configured the same running Litespeed + PHP 5.6 via Cpanel EA4. All my PHP scripts use ob_start("ob_gzhandler") including my download scripts where I use the X-LiteSpeed-Location header. This works fine on one server, but my other server LiteSpeed doesn't seem to like the...
  3. M

    Shell function within PHP works on Apache but not Litespeed

    In Security tab, I set memory soft limit and hard limit to 0 and in lsphp5 the soft and hard limit to 1384M. Will I face any issues having the config like this? On my old server from which I am migrating, settings were 250M soft and 300M hard memory limit and I had no problems executing the...
  4. M

    Shell function within PHP works on Apache but not Litespeed

    I'm trying to run a java command within PHP through Litespeed but continually receive an error. However, the same script running on Apache returns the expected result. Litespeed and Apache have identical PHP builds: 5.3.23. Tried PHP suexec setting off and running as user The script...
  5. M

    Disk IO Issues - please help!

    I investigated this and kjournald is writing the most alongside pdflush: TASK PID TOTAL READ WRITE DIRTY DEVICES kjournald 593 1498 0 1498 0 dm-0 pdflush 27441 425 0 425...
  6. M

    Disk IO Issues - please help!

    I'm experiencing some serious disk IO issues on my web server and I can't seem to pinpoint the problem. During peak and off peak (to a lesser extent) my disk IO is maxing out constantly 98-100% and rarely drops below 80% even during off peak. I'm running 2-CPU Litespeed on 2 x Harpertown...
  7. M

    Recompiling PHP

    I have LSWS 4.0.12 installed with PHP 5.2.5. I need to add mysqli support, but LSWS admin only gives me the option of compiling 5.2.8 and higher, and the "Use configuration from previous build" button is not available. Is there a reason why I'm not able to recompile 5.2.5 via LSWS? If it's...
  8. M

    Configuring ulimit

    Thanks for your assistance mistwang - increasing the php memory limit does not make a difference. Again, Is there no way to set this soft/hard limit as "unlimited" rather than having to enter a number?
  9. M

    Configuring ulimit

    I tried that previously, but the default seems to be 256000 (250M), although I can't seem to find where this value is set on the server. /etc/profile only refers to root (unlimited) and normal users (200000). Is there no way to set this soft/hard limit as "unlimited" rather than having to enter...
  10. M

    Configuring ulimit

    Thanks for your reply NiteWave. I have tried increasing those values and ulimit -a does report the change, however it won't allow a higher setting than 2097151K which, surprisingly, isn't enough for my wine command to work. I'm getting "wine: failed to initialize: /usr/lib/wine/ntdll.dll.so...
  11. M

    Configuring ulimit

    I'm trying to execute a wine command via a php script and it's failing due to their not being enough virtual memory. My server's virtual memory is set at unlimited, yet if I run "ulimit -a" via PHP it's showing at 256000. Assuming this is controlled by Litespeed, how do I change it...
  12. M

    File upload problem and apache

    The error log is showing multiple instances of: Failed to generate the real time report! 2010-01-26 21:38:33.054 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/conf/secret/.cgid.sock.049! Please help!
  13. M

    File upload problem and apache

    I changed apache port offset to non-zero (I tried 1) and my websites did not load (httpd was not running at the time). I've waited a few minutes and Apache has started itself meaning my websites (and uploads) are now working, but under Apache, not LS. Could you please offer any other...
  14. M

    File upload problem and apache

    I have just done that, killed httpd and restarted lsws but httpd continues to restart!?
  15. M

    File upload problem and apache

    Ever since updated to 4.0.12, I've been experiencing some major problems with file uploads. The issue seems to be associated with Apache trying to run alongside LSWS. To get file uploads working temporarily, I have to kill all apache processes and then stop/start Litespeed. A few minutes later...
  16. M

    Problems accessing LSWS admin

    Upgrading to 4.0.12 again seems to have resolved the problem. Thanks
  17. M

    Problems accessing LSWS admin

    Hi there I recently transferred my files over to a new server and migrated my LSWS license. Prior to migrating, I had no problems accessing the LSWS control panel but after migrating, I upgraded to (what turned out to be) a problematic build of 4.0.12 so was forced to revert back to my...
  18. M

    Fatal error: Allowed memory size of 33554432 bytes exhausted

    I'm running Litespeed 2-CPU Enterprise edition (v3.3.11) on Linux x86 4GB RAM (web server only) and my users are reporting the following error on my forums: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16783 bytes) in /path/to/mysite/forum/showthread.php on...
  19. M

    High load problems - please help

    It is a private GB link and retransmission is around 0.00032%. Is there anything I could tweak in the lsphp5 config that I haven't already?
  20. M

    High load problems - please help

    I'm still struggling with my situation. I've just upgraded my web server to a Quad-core Clovertown (2-CPU), but although the load seems lower it's made no difference to speed. The site will intermittently load pages extremely slow as before. I've tried altering the lsphp5 variables (max...
Top