Performance Problems on dedicated Server

#1
A friend of mine operates a Dedicated Root Server with the OpenLiteSpeed Server in a Docker container to serve multiple clients with their respective websites (all WordPress).
All WordPress systems are on the latest version and use the LitespeedCache plugin in its latest version. Each of his clients has a database server, naturally with different databases (Mariadb 10.5.23). Additionally, we have set up a Redis Docker container, which acts supportively and significantly improves speed, especially in the wp-admin area.
Here are the specifications of his server:
DIST: Linux booba 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

CPU
Code:
Architecture:            x86_64
CPU op-mode(s):        32-bit, 64-bit
Address sizes:         48 bits physical, 48 bits virtual
Byte Order:            Little Endian
CPU(s):                  6
On-line CPU(s) list:   0-5
Vendor ID:               AuthenticAMD
Model name:            AMD EPYC 7702P 64-Core Processor
CPU family:          23
Model:               49
Thread(s) per core:  1
Core(s) per socket:  6
RAM
Code:
               total        used        free      shared  buff/cache   available
Mem:           15989        2074       10099         130        3815       13599
Swap:              0           0           0

The server is monitored using a combination of Prometheus (with Blackbox Exporter) and Grafana. I assist with web development but am not a server admin professional.

The following issue has arisen: According to Grafana Blackbox Exporter (checking if the site is reachable and in how many seconds), the client's websites gradually become slower over time, as if something is accumulating and slowing down the pages. While this only results in a few milliseconds delay in the WordPress frontend, it goes to seconds in the wp-admin area.

1705042674892.png
Here you can see the graph. In the beginning, there was a massive performance issue, so we restarted the server. After that, it slowly rises again to some highs, and again on 01/11, we restarted the server with some improvements in PHP settings and PHP opcache.




The only solution is to reset this by restarting the server. We have tried the following without success:
  • Updating Mariadb
  • Checking Mariadb configuration
  • Verifying Redis configuration
  • Updating Litespeed Server
  • Checking applications (ensuring all plugins are on the latest version)
  • Enable php-opcache
This issue is not isolated to one client but affects all simultaneously, as indicated by Grafana. Peaks are noticeable, and after these peaks, the performance often does not fully recover. Does anyone have any idea what could be causing this, or at least some clues or the right questions to ask? We've been searching for months without finding a solution.
 
Last edited:
#2
okay...again.
Newest Graph for 2 Days (Web Monitor, Prometheus Blackbox Exporter):
1705475031487.png
As you see, it's slowly increasing the load

CPU Chillin:
1705475114300.png

Ram Chillin:
1705475140642.png

Memory Stack:
1705475168527.png

Any ideas?
 
#3
So again, here is an Update (7 days view)
Web Monitor
1706861738154.png
As you can see, we are at the Limits (nearly 5 seconds on most customers)

1706861824894.png
1706861841638.png
1706861874650.png
1706861958752.png
Redis:
1706862081312.png
1706862123740.png
 

LiteCache

Active Member
#6
What is the problem? Try this!

Code:
 watch -n 60 'ps aux | grep -E "CPU|Memory|php" | awk "{print \$1, \$2, \$3, \$4, \$11}" >> logfile.log'
-n 60 == 60s intervall

I can tell you before a detailed analysis what the problem with the high server load is. The cause is most likely the combination of WordPress and LiteSpeed LScache plugin, or the cache warmup in combination with too many optimization functions. WordPress and especially WooCommerce have an above-normal consumption of resources. If the built-in crawler of the LScache plugin is used to warm up the cache and a high number of optimization functions have been activated, then this means maximum stress during the cache warmup for uncached URLs. I would be surprised if it were different.
 
Last edited:
#7
We had disabled the build-in crawler during earlier debugging.

Here's a little part of the logfile.log:
Code:
root@booba:~# watch -n 60 'ps aux | grep -E "CPU|Memory|php" | awk "{print \$1, \$2, \$3, \$4, \$11}" >> logfile.log'
root@booba:~# cat logfile.log
USER PID %CPU %MEM COMMAND
www-data 3254 0.2 0.2 lsphp
www-data 3445 2.7 0.8 lsphp
www-data 3446 12.3 0.9 lsphp
www-data 3448 15.0 1.1 lsphp
www-data 3450 4.3 0.5 lsphp
root 3575 0.0 0.0 watch
root 3576 0.0 0.0 watch
root 3577 0.0 0.0 sh
root 3579 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.1 0.2 lsphp
www-data 3445 8.3 1.3 lsphp
www-data 3446 6.1 1.2 lsphp
www-data 3448 5.2 0.8 lsphp
www-data 3450 3.3 1.0 lsphp
root 3575 0.0 0.0 watch
www-data 3605 8.8 1.0 lsphp
www-data 3626 4.4 0.9 lsphp
root 3627 0.0 0.0 watch
root 3628 0.0 0.0 sh
root 3630 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 5.6 1.4 lsphp
www-data 3446 5.7 1.6 lsphp
www-data 3448 6.3 1.0 lsphp
www-data 3450 3.5 1.5 lsphp
root 3575 0.0 0.0 watch
www-data 3605 4.8 1.1 lsphp
www-data 3626 3.0 0.9 lsphp
www-data 3643 1.5 0.7 lsphp
root 3647 0.0 0.0 watch
root 3648 0.0 0.0 sh
root 3650 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 4.3 1.3 lsphp
www-data 3446 4.4 1.2 lsphp
www-data 3448 5.7 1.0 lsphp
www-data 3450 4.8 1.6 lsphp
root 3575 0.0 0.0 watch
www-data 3605 6.0 1.5 lsphp
www-data 3626 2.0 1.1 lsphp
www-data 3643 4.6 1.1 lsphp
www-data 3669 0.0 0.1 lsphp
root 3670 0.0 0.0 watch
root 3671 0.0 0.0 sh
root 3673 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 4.0 1.5 lsphp
www-data 3446 3.6 1.3 lsphp
www-data 3448 7.0 1.4 lsphp
www-data 3450 4.1 1.2 lsphp
root 3575 0.0 0.0 watch
www-data 3605 4.6 1.5 lsphp
www-data 3626 1.5 1.1 lsphp
www-data 3643 5.1 1.3 lsphp
www-data 3669 0.0 0.1 lsphp
root 3690 0.0 0.0 watch
root 3691 0.0 0.0 sh
root 3693 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 3.9 1.4 lsphp
www-data 3446 3.0 1.3 lsphp
www-data 3448 6.0 1.2 lsphp:ts/****.de/html/wp-admin/admin-ajax.php
www-data 3450 3.6 1.5 lsphp
root 3575 0.0 0.0 watch
www-data 3605 4.0 1.7 lsphp
www-data 3626 2.1 1.2 lsphp:ts/****.de/html/wp-admin/admin-ajax.php
www-data 3643 4.4 1.3 lsphp
www-data 3669 1.4 0.7 lsphp
root 3741 0.0 0.0 watch
root 3742 0.0 0.0 sh
root 3744 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 3.6 1.4 lsphp
www-data 3446 2.9 1.4 lsphp
www-data 3448 5.5 1.5 lsphp
www-data 3450 3.2 1.4 lsphp
root 3575 0.0 0.0 watch
www-data 3605 3.3 1.7 lsphp
www-data 3626 2.0 1.2 lsphp
www-data 3643 3.3 1.3 lsphp
www-data 3669 1.9 1.0 lsphp
root 3760 0.0 0.0 watch
root 3761 0.0 0.0 sh
root 3763 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 3.4 1.5 lsphp
www-data 3446 2.6 1.4 lsphp
www-data 3448 5.0 1.7 lsphp
www-data 3450 3.2 1.5 lsphp
root 3575 0.0 0.0 watch
www-data 3605 3.4 1.3 lsphp
www-data 3626 2.4 1.3 lsphp
www-data 3643 2.8 1.2 lsphp
www-data 3669 1.4 0.8 lsphp
root 3798 0.0 0.0 watch
root 3799 0.0 0.0 sh
root 3801 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 3.0 1.4 lsphp
www-data 3446 2.4 1.5 lsphp
www-data 3448 4.4 1.7 lsphp
www-data 3450 3.3 1.3 lsphp
root 3575 0.0 0.0 watch
www-data 3605 3.4 1.6 lsphp
www-data 3626 2.4 1.5 lsphp
www-data 3643 3.0 1.6 lsphp
www-data 3669 1.6 1.2 lsphp
root 3813 0.0 0.0 watch
root 3814 0.0 0.0 sh
root 3816 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 2.8 1.4 lsphp
www-data 3446 2.2 1.5 lsphp
www-data 3448 4.3 1.6 lsphp
www-data 3450 3.0 1.2 lsphp
root 3575 0.0 0.0 watch
www-data 3605 3.2 1.3 lsphp
www-data 3626 2.1 1.5 lsphp
www-data 3643 3.1 1.7 lsphp
www-data 3669 1.6 0.9 lsphp
root 3826 0.0 0.0 watch
root 3827 0.0 0.0 sh
root 3829 0.0 0.0 grep
And now we've restarted the server to get better performance again....
1707120420412.png
 

LiteCache

Active Member
#8
If you run the watch command as root, you will only see the output of the processes that root executes. This should actually be logical that you will then receive the incorrect display of the processes.
 
#9
you mean, I need to execute it with the www-data?
But there aren't more information, even if I execute it on the docker container.

Code:
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.9 1.3 lsphp
www-data 3446 2.8 1.5 lsphp
www-data 3448 2.7 1.7 lsphp
www-data 3450 2.0 1.3 lsphp
www-data 3605 2.2 1.2 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 2.0 1.8 lsphp
www-data 3669 2.6 1.7 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5063 0.0 0.0 watch
www-data 5064 0.0 0.0 sh
www-data 5066 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.3 lsphp
www-data 3446 2.8 1.5 lsphp
www-data 3448 2.7 1.7 lsphp
www-data 3450 2.0 1.3 lsphp
www-data 3605 2.2 1.3 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 2.0 1.4 lsphp
www-data 3669 2.7 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5085 0.0 0.0 watch
www-data 5086 0.0 0.0 sh
www-data 5088 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.3 lsphp
www-data 3446 2.9 1.6 lsphp
www-data 3448 2.7 1.4 lsphp
www-data 3450 2.0 1.5 lsphp
www-data 3605 2.1 1.2 lsphp
www-data 3626 1.5 1.4 lsphp
www-data 3643 2.0 1.4 lsphp
www-data 3669 2.6 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5112 0.0 0.0 watch
www-data 5113 0.0 0.0 sh
www-data 5115 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.2 lsphp
www-data 3446 2.8 1.6 lsphp
www-data 3448 2.7 1.6 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.1 1.4 lsphp
www-data 3626 1.6 1.4 lsphp
www-data 3643 1.9 1.4 lsphp
www-data 3669 2.6 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5137 0.0 0.0 watch
www-data 5138 0.0 0.0 sh
www-data 5140 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.6 lsphp
www-data 3446 2.7 1.6 lsphp
www-data 3448 2.7 1.5 lsphp
www-data 3450 1.9 1.2 lsphp
www-data 3605 2.1 1.3 lsphp
www-data 3626 1.5 1.4 lsphp
www-data 3643 1.9 1.3 lsphp
www-data 3669 2.6 1.7 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5158 0.0 0.0 watch
www-data 5159 0.0 0.0 sh
www-data 5161 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.6 lsphp
www-data 3446 2.8 1.6 lsphp
www-data 3448 2.7 1.6 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.1 1.4 lsphp
www-data 3626 1.5 1.3 lsphp
www-data 3643 1.9 1.3 lsphp
www-data 3669 2.5 1.7 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5196 0.0 0.0 watch
www-data 5197 0.0 0.0 sh
www-data 5199 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.4 lsphp
www-data 3446 2.7 1.6 lsphp
www-data 3448 2.7 1.6 lsphp
www-data 3450 1.9 1.5 lsphp
www-data 3605 2.2 1.4 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 1.8 1.3 lsphp
www-data 3669 2.5 1.3 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5276 0.0 0.0 watch
www-data 5277 0.0 0.0 sh
www-data 5279 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.4 lsphp
www-data 3446 2.8 1.6 lsphp
www-data 3448 2.7 1.4 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.1 1.4 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 1.8 1.4 lsphp
www-data 3669 2.4 1.3 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5317 0.0 0.0 watch
www-data 5318 0.0 0.0 sh
www-data 5320 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.4 lsphp
www-data 3446 2.7 1.7 lsphp
www-data 3448 2.7 1.3 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.2 1.5 lsphp
www-data 3626 1.5 1.6 lsphp
www-data 3643 1.9 1.8 lsphp
www-data 3669 2.4 1.4 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5339 0.0 0.0 watch
www-data 5340 0.0 0.0 sh
www-data 5342 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.7 lsphp
www-data 3446 2.7 1.3 lsphp
www-data 3448 2.6 1.3 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.2 1.7 lsphp
www-data 3626 1.5 1.4 lsphp
www-data 3643 1.9 1.7 lsphp
www-data 3669 2.4 1.5 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5366 0.0 0.0 watch
www-data 5367 0.0 0.0 sh
www-data 5369 0.0 0.0 grep
root@booba:/home/www-data# cat logfile.log
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.9 1.4 lsphp
www-data 3446 3.1 1.5 lsphp
www-data 3448 2.6 1.5 lsphp
www-data 3450 2.1 1.4 lsphp
www-data 3605 2.4 1.5 lsphp
www-data 3626 1.4 1.2 lsphp
www-data 3643 2.1 1.4 lsphp
www-data 3669 2.5 1.8 lsphp
root 4776 0.0 0.0 watch
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 4888 0.0 0.0 watch
www-data 4889 0.0 0.0 sh
www-data 4891 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.9 1.7 lsphp
www-data 3446 3.1 1.6 lsphp
www-data 3448 2.6 1.6 lsphp
www-data 3450 2.0 1.4 lsphp
www-data 3605 2.3 1.6 lsphp
www-data 3626 1.4 1.3 lsphp
www-data 3643 2.1 1.5 lsphp
www-data 3669 2.5 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 4943 0.0 0.0 watch
www-data 4944 0.0 0.0 sh
www-data 4946 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.9 1.4 lsphp
www-data 3446 3.0 1.4 lsphp
www-data 3448 2.6 1.6 lsphp
www-data 3450 2.0 1.5 lsphp
www-data 3605 2.3 1.4 lsphp
www-data 3626 1.4 1.4 lsphp
www-data 3643 2.0 1.5 lsphp
www-data 3669 2.6 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 4967 0.0 0.0 watch
www-data 4968 0.0 0.0 sh
www-data 4970 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.3 lsphp
www-data 3446 2.9 1.4 lsphp
www-data 3448 2.6 1.6 lsphp
www-data 3450 2.1 1.5 lsphp
www-data 3605 2.3 1.3 lsphp
www-data 3626 1.4 1.4 lsphp
www-data 3643 2.0 1.5 lsphp
www-data 3669 2.5 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 4988 0.0 0.0 watch
www-data 4989 0.0 0.0 sh
www-data 4991 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.9 1.4 lsphp
www-data 3446 2.9 1.4 lsphp
www-data 3448 2.7 1.8 lsphp
www-data 3450 2.0 1.5 lsphp
www-data 3605 2.2 1.4 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 2.0 1.7 lsphp
www-data 3669 2.6 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5011 0.0 0.0 watch
www-data 5012 0.0 0.0 sh
www-data 5014 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.9 1.3 lsphp
www-data 3446 2.8 1.5 lsphp
www-data 3448 2.7 1.7 lsphp
www-data 3450 2.0 1.3 lsphp
www-data 3605 2.2 1.2 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 2.0 1.8 lsphp
www-data 3669 2.6 1.7 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5063 0.0 0.0 watch
www-data 5064 0.0 0.0 sh
www-data 5066 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.3 lsphp
www-data 3446 2.8 1.5 lsphp
www-data 3448 2.7 1.7 lsphp
www-data 3450 2.0 1.3 lsphp
www-data 3605 2.2 1.3 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 2.0 1.4 lsphp
www-data 3669 2.7 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5085 0.0 0.0 watch
www-data 5086 0.0 0.0 sh
www-data 5088 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.3 lsphp
www-data 3446 2.9 1.6 lsphp
www-data 3448 2.7 1.4 lsphp
www-data 3450 2.0 1.5 lsphp
www-data 3605 2.1 1.2 lsphp
www-data 3626 1.5 1.4 lsphp
www-data 3643 2.0 1.4 lsphp
www-data 3669 2.6 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5112 0.0 0.0 watch
www-data 5113 0.0 0.0 sh
www-data 5115 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.2 lsphp
www-data 3446 2.8 1.6 lsphp
www-data 3448 2.7 1.6 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.1 1.4 lsphp
www-data 3626 1.6 1.4 lsphp
www-data 3643 1.9 1.4 lsphp
www-data 3669 2.6 1.6 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5137 0.0 0.0 watch
www-data 5138 0.0 0.0 sh
www-data 5140 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.8 1.6 lsphp
www-data 3446 2.7 1.6 lsphp
www-data 3448 2.7 1.5 lsphp
www-data 3450 1.9 1.2 lsphp
www-data 3605 2.1 1.3 lsphp
www-data 3626 1.5 1.4 lsphp
www-data 3643 1.9 1.3 lsphp
www-data 3669 2.6 1.7 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5158 0.0 0.0 watch
www-data 5159 0.0 0.0 sh
www-data 5161 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.6 lsphp
www-data 3446 2.8 1.6 lsphp
www-data 3448 2.7 1.6 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.1 1.4 lsphp
www-data 3626 1.5 1.3 lsphp
www-data 3643 1.9 1.3 lsphp
www-data 3669 2.5 1.7 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5196 0.0 0.0 watch
www-data 5197 0.0 0.0 sh
www-data 5199 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.4 lsphp
www-data 3446 2.7 1.6 lsphp
www-data 3448 2.7 1.6 lsphp
www-data 3450 1.9 1.5 lsphp
www-data 3605 2.2 1.4 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 1.8 1.3 lsphp
www-data 3669 2.5 1.3 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5276 0.0 0.0 watch
www-data 5277 0.0 0.0 sh
www-data 5279 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.4 lsphp
www-data 3446 2.8 1.6 lsphp
www-data 3448 2.7 1.4 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.1 1.4 lsphp
www-data 3626 1.5 1.5 lsphp
www-data 3643 1.8 1.4 lsphp
www-data 3669 2.4 1.3 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5317 0.0 0.0 watch
www-data 5318 0.0 0.0 sh
www-data 5320 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.4 lsphp
www-data 3446 2.7 1.7 lsphp
www-data 3448 2.7 1.3 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.2 1.5 lsphp
www-data 3626 1.5 1.6 lsphp
www-data 3643 1.9 1.8 lsphp
www-data 3669 2.4 1.4 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5339 0.0 0.0 watch
www-data 5340 0.0 0.0 sh
www-data 5342 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
www-data 3254 0.0 0.2 lsphp
www-data 3445 1.7 1.7 lsphp
www-data 3446 2.7 1.3 lsphp
www-data 3448 2.6 1.3 lsphp
www-data 3450 1.9 1.4 lsphp
www-data 3605 2.2 1.7 lsphp
www-data 3626 1.5 1.4 lsphp
www-data 3643 1.9 1.7 lsphp
www-data 3669 2.4 1.5 lsphp
root 4885 0.0 0.0 sudo
root 4886 0.0 0.0 sudo
www-data 4887 0.0 0.0 watch
www-data 5366 0.0 0.0 watch
www-data 5367 0.0 0.0 sh
www-data 5369 0.0 0.0 grep
 
#11
I've tried it again with the webmin user, but there are no more Information. Only that lsphp process without anything. Or I'm missunderstood your answer.
 

LiteCache

Active Member
#12
You can only "watch" the current running processes only with the account/user you are logged-in. If you are logged-in as root, then ps aux command only shows processes that are executed by root.
 
#14
You can only "watch" the current running processes only with the account/user you are logged-in. If you are logged-in as root, then ps aux command only shows processes that are executed by root.
I know that command, but I don't know what you want me to do with that logging. There are no more information. Do you want me to execute wordpress php scripts with the lsphp binary with an other user?

btw. You know that deactivating the built-in crawler can easily bypassed and you can't prevent this bypass....?
no, I don't know that.
 

LiteCache

Active Member
#15
Do you want me to execute wordpress php scripts with the lsphp binary with an other user?
You must run the logging function as a user of your hosting to see which processes this user is running. You must see in logfile similiar like this:

Code:
USER PID %CPU %MEM COMMAND
litecach 39080 0.0 0.0 lsphp
litecach 53422 3.2 0.0 lsphp:ecach/cachecrawler.com/litecache/xxx.php
litecach 54118 22.5 0.0 lsphp
litecach 54466 16.8 0.0 lsphp
litecach 54571 0.0 0.0 watch
litecach 56489 17.8 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 56703 15.5 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 59396 15.5 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 60153 0.0 0.0 watch
litecach 60154 0.0 0.0 sh
litecach 60156 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
litecach 39080 0.0 0.0 lsphp
litecach 53422 2.5 0.0 lsphp:ecach/cachecrawler.com/litecache/xxx.php
litecach 54118 15.1 0.0 lsphp
litecach 54571 0.0 0.0 watch
litecach 56489 12.0 0.0 lsphp
litecach 56703 11.4 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 59396 7.0 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 62798 4.0 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 63057 5.8 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 64239 0.0 0.0 watch
litecach 64240 0.0 0.0 sh
litecach 64242 0.0 0.0 grep
USER PID %CPU %MEM COMMAND
litecach 2634 2.1 0.0 lsphp
litecach 2637 1.2 0.0 lsphp
litecach 2639 7.4 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 2640 7.5 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 3743 0.0 0.0 watch
litecach 3744 0.0 0.0 sh
litecach 3746 0.0 0.0 grep
litecach 39080 0.0 0.0 lsphp
litecach 53422 2.0 0.0 lsphp:ecach/cachecrawler.com/litecache/xxx.php
litecach 54571 0.0 0.0 watch
litecach 56489 9.4 0.0 lsphp:e/litecach/cachecrawler.com/yyy.php
litecach 62798 3.6 0.0 lsphp
Also, enable slow_query log to see if there are any MySQL queries that takes long time for result.
 
Top