usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.6k stars 614 forks source link

[BUG] Soft Lockup Errors on Ubuntu 22 with CyberPanel 2.3.8 #1355

Open Pushkraj19 opened 2 weeks ago

Pushkraj19 commented 2 weeks ago

Environment:

Issue Description: I'm experiencing recurring "soft lockup" errors on a server running CyberPanel 2.3.8 on Ubuntu 22. This issue appears to be related to processes involving PHP and systemd, which become unresponsive for extended periods and trigger kernel watchdog warnings.

Syslog Messages: Here are sample messages from /var/log/syslog related to the issue:

Nov  5 05:13:30 kernel: [85286.682476] watchdog: BUG: soft lockup - CPU#4 stuck for 23s! [php:161987]
Nov  5 05:13:48 kernel: [85303.940681] watchdog: BUG: soft lockup - CPU#1 stuck for 39s! [php:161983]
Nov  5 05:14:07 kernel: [85322.974601] watchdog: BUG: soft lockup - CPU#7 stuck for 31s! [systemd:1]
Nov  5 05:14:08 kernel: [85323.834498] watchdog: BUG: soft lockup - CPU#6 stuck for 36s! [rs:main Q:Reg:561]
Nov  5 05:14:38 kernel: [85354.727430] watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [php:162055]

Steps to Reproduce:

  1. Install CyberPanel 2.3.8 on a fresh Ubuntu 22 server.
  2. Configure PHP 8.2.
  3. Monitor /var/log/syslog for soft lockup errors.
  4. The error appears intermittently, seemingly triggered by routine PHP or systemd tasks.

Expected Behavior: No kernel errors or soft lockups should occur.

Observed Behavior: Frequent soft lockups affect server responsiveness and stability, requiring server reboots.

Troubleshooting Attempts:

Request: Please investigate the compatibility of CyberPanel 2.3.8 with Ubuntu 22, especially concerning PHP and system resource management. Let me know if there are any recommended patches, configurations, or debugging steps.

jumson commented 2 weeks ago

My system resource issues were happening because I was hacked. It caused my SSHD to also turn off and I had to pull up a VNC terminal. Check this out: https://github.com/usmannasir/cyberpanel/issues/1356

1356