Search results

  1. G

    /tmp/lshttpd filling up

    Hello, on a regular basis, /tmp/lshttpd grows to 1.3GB and fills up my /tmp space (which limit is set to 1.5GB). Any idea what could be going on there?
  2. G

    Not able to run xdebug from the browser

    I have added xdebug.so to /usr/local/lsws/lsphp80/etc/php/8.0/litespeed/php.ini, and I can trigger it without problem when doing: /usr/local/lsws/lsphp80/bin/lsphp .../public_html/index.php but for some reason, it does not trigger when I load a page in the browser (despite my using the browser...
  3. G

    xdebug version

    Which xdebug version ships with lsphp8*? is it v2 or v3?
  4. G

    fopen(/usr/local/lsws/logs/error.log): failed to open stream: Permission denied

    I was trying to use the log viewer in OLS webadmin and could not see any log entries. I looked at /usr/local/lsws/logs/error.log and I am seeing this: HTTP2-309#_AdminVHost] [STDERR] PHP Warning: fopen(/usr/local/lsws/logs/error.log): failed to open stream: Permission denied in...
  5. G

    Cloudflare enabling http/3 again in more zones

    Just got this email from Cloudflare: "Hello there, We are excited to let you know that we will enable support for HTTP/3 next month for one or more of your websites that use Cloudflare’s free plan. HTTP/3 is the latest version of HTTP, the protocol that your browser uses to talk to webservers...
  6. G

    Support for CORS headers for subdomains

    I was reading this stack overflow answer today and wondering if something similar can be implemented with OLS. Basically allowing CORS between a main domain and any subdomain. In Apache, a possible answer is this: but I'm guessing most of this is not supported by OLS.
  7. G

    Comodo Rules

    I saw that there is now a rule set for LiteSpeed. Is it valid for OLS or only for LiteSpeed Enterprise? Thanks for any insight.
  8. G

    OLS webadmin GUI does not ask for a restart when context is deleted

    I have observed that OLS webadmin GUI does not ask for a restart when context is deleted. I think it extends to anything being deleted. Whereas it always asks for a restart when something is being added or changed. Feels like a minor bug.
  9. G

    What is the best way to make changes without creating database / disk corruptions?

    I have come to the conclusion that I am not doing things quite right to avoid database / disk errors, when either restarting OLS, restarting lsphp processes, installing server updates... I think one of the things that trip me up are WP cron jobs that keep running from crontab files every so many...
  10. G

    How to always have a short server TTFB?

    When I run my sites through GTMetrix, I sometimes see a short server TTFB and other times it's much longer, several seconds. I do not understand why this is the case. It's as if there was some really long server startup time. This usually happens when no accesses have been done for a bit. Any...
  11. G

    Rewrite rule for xlmrpc.php not working

    I added the following to my site .htaccess file but I can still access xlmrpc.php and wp-trackback.php: # Disable xmlrpc and trackback <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/(xmlrpc|wp-trackback)\.php - [F,L,NC] </IfModule> What am I missing?
  12. G

    OLS v1.7.6 not available through apt upgrade & documentation

    I cannot see the v1.7.6 update through apt update/upgrade on Ubuntu 20.04 yet. Hope it's coming soon :) Additionally the upgrade documentation page sometimes mentioned 'OpenLiteSpeed' with majuscules when I believe it should just be 'openlitespeed' all lowercase.
  13. G

    LSMCD socket port question

    I am experimenting with LSMCD and configure it to use a unix socket: When trying to connect through the LSCache plugin, I tried to set port as 0 as advised in the documentation but that did not work. Somehow setting to the port to 11211 (which is the standard port when not using a unix socket)...
  14. G

    Inconsistent server response times (sometimes 5+ seconds)

    I am getting very inconsistent server response times. Wondering why that could be. For instance, I see the "waiting" part in GTMetrix for the main URL vary from 100ms to 5s, and even 25s at times. Similar variations with the WooCommerce get_refreshed_fragments Ajax POST request from 470ms to 5+...
  15. G

    One JS file takes much longer to download than anything else

    As seen in the waterfall below, the 561f5.js?caea7 files takes 833ms to transmit whereas (jpeg) files twice the size take less than 100ms. Wondering why this one file takes so much longer.
  16. G

    Connection keep-alive header

    I am wondering how OLS manages the 'Connection: Keep-Alive' header. I had added it to my custom headers and it was causing issues with HTTP/2, so I removed it. But I still see it reappear by itself: Is that something OLS could insert by itself based on settings?
  17. G

    What's the best way to restart the OLS server and make sure new configs are applied to all requests

    Doing a graceful restart does not kill/restart old openlitespeed/lsphp processes as far as I can see. This is what I am using:
  18. G

    curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

    I am getting the following error on two of my websites after adding the following custom headers: Chrome and Firefox do not seem to complain on desktop, but Safari returns an error on desktop/mobile and Chrome returns an error on mobile. I am open to the idea that I wrote something wrong in...
  19. G

    WP admin bar disappearing as if public cache page is being served

    Running OLS with Cyperpanel on Ubuntu 20.04. Wordpress websites with LSCache enabled. The WP admin bar disappears on both of my websites after some time, as if the public cached page is getting served instead of the private cache page. This only started to happen today. Any advice on how to...
  20. G

    Need advice on OLS config (520 errors + "please increase LSAPI_CHILDREN")

    I am running a few Wordpress websites with Cyperpanel (v2.0) and OLS (v1.7.5) on an Ubuntu 20.04 server (4GB, 2 vCPUs) at DigitalOcean. There are also a couple of nodeJS apps running on the same server. I just recently set up all the sites. I am the one generating most of the traffic right now...
Top