Search results

  1. H

    softLimit and hardLimit

    Wondering how to decide optimal numbers for those settings? Thanks.
  2. 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...
  3. 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...
  4. 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} ---...
  5. 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...
  6. 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.
  7. 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...
  8. 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...
  9. 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...
  10. 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.
  11. 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 ...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. H

    Program terminated with signal 11, Segmentation fault

    OLS 1.7.7 on my DirectAdmin / CloudLinux server seems to restart itself multiple times and creating core files. Any idea, please? Thanks. # /usr/local/lsws/bin/openlitespeed -v LiteSpeed/1.7.7 Open module versions: modgzip 1.1 cache 1.62 modinspector 1.1 uploadprogress 1.1...
  17. H

    multiple /tmp/lshttpd/bak_core/core

    It seems that OpenLiteSpeed keeps restarting many times. Each time, it creates /tmp/lshttpd/bak_core/core.xxxxx file. I am using version 1.7.5. The server load is just around 0.6, with 6 cores Xeon(R) Gold 6136. 16GB RAM, with no swap usage. Here is an example. Any idea, please? Thanks. # gdb...
  18. H

    VMemBuf::getReadBuffer(size_t&): Assertion `size <= 8192' failed.

    I just tried OLS on a DirectAdmin server. In /var/log/httpd/stderr.log, there are a lot of this error: 2020-06-13 13:47:27.587 [STDERR] openlitespeed (lshttpd - #01): util/vmembuf.cpp:815: char* VMemBuf::getReadBuffer(size_t&): Assertion `size <= 8192' failed. I am using OLS 1.7.1. Any idea...
Top