Hi, these two apps take up to 20%, this is just installed, without any of my personal apps, thanks

    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

      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

        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.

              7 days later

              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
                Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com