- Edited
Hi, these two apps take up to 20%, this is just installed, without any of my personal apps, thanks
Hi, these two apps take up to 20%, this is just installed, without any of my personal apps, thanks
aaP_yindew
Hi, did it come down after waiting for a while? Still taking 20%?
aaPanel_Kern I installed in three servers about seven hours ago. Until now, they have had this problem. 20% occurs about every 10 seconds.
My servers' load average is about 0.2
aaP_yindew
hello, what is your system, what architecture
Debian11
Linux blog 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
Also, can you delete my picture, it's exposing some of my privacy. thanks
aaP_yindew
Ok, I will test it here, which command did you use to install it
aaPanel_Kern Thanks. wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh
aaP_yindew
Hi, what did you do? I reinstalled here and didn't find this problem
aaPanel_Kern
I'm using the same server as this to test where the problem is. I am installing one by one. As of now, there is no problem with pure panel, Nginx, Mysql.
aaP_yindew
Hello, I also installed these software here, and I will also pay attention to what causes this problem. Thanks for your feedback.
aaPanel_Kern In this installation, I didn't find any problems. But I noticed a detail. This problem all happens at 00:00, what's wrong with that?
This is another server that I have installed at the same time without any of my personal apps. The problem is the same. This cpu is poor. I had to turn him off.
aaPanel_Kern I rebooted the second panel mentioned above. The cpu usage is as follows. This situation is acceptable. But I don't know if this will happen again with the next 00:00.
aaP_yindew
Hello, is there any task for this panel Cron?
aaPanel_Kern Nothing worked, both are new systems with just the config environment via the panel.
aaP_yindew
Okay thank you. I'm testing it here.
aaPanel_Kern Hi. Another one installed yesterday also had this problem at 00:00.
aaP_yindew
Yes, we will test and fix it.
Hi, is there any progress?Thanks
aaP_yindew
Hi, testing and repairing.
Same problem, panel 6.8.23 on ubuntu 18.04.6 LTS(Py3.7.8)
At first I thought cron on ssl, but it starts at 00:10, and the load rises at 00:00.
Restarting the panel process solves the problem until the next 00:00
By the way, panel 6.8.19 on Ubuntu 18.04.1 LTS(Py3.7.8) does not have this problem.
Looking at the rate (3 seconds), there is a suspicion that the problem lies in the launch of the function:
def panel_status():
time.sleep(1)
panel_pid = get_panel_pid()
while True:
time.sleep(5)
if not panel_pid: panel_pid = get_panel_pid()
if not panel_pid: service_panel('start')
try:
f = Process(panel_pid).cmdline()[-1]
if f.find('runserver') == -1 and f.find('BT-Panel') == -1:
service_panel('start')
time.sleep(3)
panel_pid = get_panel_pid()
continue
except:
service_panel('start')
time.sleep(3)
panel_pid = get_panel_pid()
continue