Search results

  1. H

    enable core dump

    I am on a DirectAdmin server, CloudLinux 9 with OLS 1.8.2, PHP Selector. In /usr/local/lsws/conf/httpd-phplimits.conf, I have added env LSAPI_ALLOW_CORE_DUMP=1 However, when testing with kill -SIGSEGV 1527388 The PID 1527388 was killed, but no core dump file was created. How...
  2. H

    Blocking admin GUI

    I am not using OLS admin GUI at https://myserver:7080 In CSF, I don't open that port either. However, when accessing https://myserver:7080, it's still showing the admin login screen. How can I block completely that GUI? Thanks.
  3. H

    OLS crashed without stack information

    OLS on one server was crashed. At [27/May/2024:06:59:10 +0700], web server with pid=1673370 received unexpected signal=11, a core file is created. A new instance of web server will be started automatically! Please forward the following debug information to bug@litespeedtech.com. Environment...
  4. H

    lsphp83.sock.11490.pid

    Sometimes I got warnings from LFD like Time: Sat May 25 13:57:30 2024 +0700 File: /tmp/lshttpd/lsphp83.sock.11490.pid Reason: Script, starts with #! Owner: apache:apache (989:989) Action: No action taken I tried to locate pid 11490 with ps aux, but no process with that ID. In...
  5. H

    litespeed service inactive, but web service is still running

    I see this issue many times recently. The OLS service has been running for a while, no change in its config. Suddenly, got a warning: litespeed.service is not active, cannot reload. systemctl status confirm its status is inactive. # systemctl status lsws × litespeed.service - The OpenLiteSpeed...
  6. H

    softLimit and hardLimit

    Wondering how to decide optimal numbers for those settings? Thanks.
  7. H

    Cgroups checking

    Following this KB, I don't have cgroups configured # ls /sys/fs/cgroup/cgroup.controllers ls: cannot access '/sys/fs/cgroup/cgroup.controllers': No such file or directory # cat /sys/fs/cgroup/cgroup.subtree_control cat: /sys/fs/cgroup/cgroup.subtree_control: No such file or directory However...
  8. H

    High CPU usage in 1.7.19?

    From the releases page, I see you just pushed new files 2 days ago. But instead of creating a new version 1.7.19.1, it seems you updated to the version 1.7.19, which was released 3 weeks ago? In the change log, there is a bug fix for high CPU usage. Is this bug appearing in 1.7.19? Or in older...
  9. H

    find those lsphp processes doing

    I have an account using too much CPU. When using top command, I can see some processes from that account using CPU. Trying to use strace, but I always end up with the same error # strace -p 3992731 strace: Process 3992731 attached --- SIGPROF {si_signo=SIGPROF, si_code=SI_KERNEL} ---...
  10. H

    PHP process ID in the server log

    The default server doesn't contain process ID. Then I modified the log format, adding %P (following this and this) to get process ID. On this server, I have CloudLinux. So, it has snapshot whenever an account is using over limitations. In lve-read-snapshot, there are PID, time when it's...
  11. H

    pCache is NULL, pInfo is 0x57e58c8, pReq is 0x57e5248, pPath is (nil).

    From version 1.7.19, I notice that message appearing in the OLS error_log. What does it mean, and why is it there? Thanks.
  12. H

    cannot kill OLS process

    My OLS returns 500 error. So I tried to restart with "systemctl restart openlitespeed". No message returns, but still 500 error from the domain log. Then I tried to kill process ID [root@main httpd]# ps aux |grep openlitespeed root 42160 0.0 0.0 112812 976 pts/0 S+ 17:12 0:00...
  13. H

    find failed config in shared host server

    In the /var/log/httpd/error_log, I get errors like this 2024-01-05 15:28:08.550639 [ERROR] [935383] [(null)] rewrite: unknown server variable while parsing: RewriteRule ^ %{REQUEST_SCHEME}://%1%{REQUEST_URI} [R=301,L] I guess it's coming from an account on the server, but I don't know which...
  14. H

    cannot download files with version 1.7.19

    I just upgraded my OLS from 1.7.18.1 to 1.7.19, and noticed that I cannot download files completely. The files are downloadable PDF files in a WooCommerce store. It was working fine before. But now, when customers click to download links, it started at 10+ MB/s then immediately reduced to 0. So...
  15. H

    more workers and less maxConns vs less workers and more maxConns

    Which one is giving better performance? For example, 1 worker with 200 maxConns or 4 workers with 50 maxConns? How to monitor the performance in each case? Thanks.
  16. H

    troubleshooting attacks (might be?)

    My server is suddenly having very high load, more than 250, while usually, it's less than 1. A lot of connections coming in. And ps command shows defunct php root 35253 0.0 0.0 40908 6536 ? S 20:50 0:02 openlitespeed (lshttpd - main) root 35254 0.0 0.0 30704 2872 ...
  17. H

    [STDERR] isnt bundle

    In /var/log/httpd/domains/my.domain.error.log, there are many lines like this 2023-09-06 22:07:20.494638 [NOTICE] [872288] [52.167.144.222:55985:HTTP2-1#my.domain-443] [STDERR] isnt bundle 2023-09-06 22:06:02.562809 [NOTICE] [872288] [188.130.210.127:57479#my.domain-443] [STDERR] is bundle...
  18. H

    random error and slowness

    Setup: OLS 1.7.17, PHP 5.6 and MariaDB 10.4. Server has 6 cores CPU with 16GB RAM, running on SSD disk array. (Yes, I know PHP and MariaDB are old, but customer's code is not ready for newer versions) The situation: 1. Slowness: - it's happening randomly, almost everyday. Each time it's only...
  19. H

    redirect with alias

    So, the customer has a domain domain1.com, hosting on server A. The domain1.com is redirecting 301 to domain2.com, running on server B. When I was running nginx apache, alias such as domain1.com/webmail was working fine. It's just directed to the real URL domain1.com/roundcube When I converted...
  20. H

    createEntry failed, may due to no permission to write file or file is updating

    I have a similar problem with this thread, the difference is that I am using DirectAdmin control panel. Currently, the folder /usr/local/lsws/cachedata is owned by apache:apache. Is that the correct config? Or should I change to webapps:webapps? Or any other reason for that error? Please...
Top