Author Topic: Web panel very slow  (Read 707 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Web panel very slow
« on: April 07, 2020, 07:32:14 AM »
The CWP7Pro web panel (not the admin panel) is loading too slow for me. Those are the parameters of my vps:

CPU Model: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CPU Details: 4 Core (2200 MHz)
Distro Name: CentOS Linux release 7.7.1908 (Core)
Kernel Version: 3.10.0-1062.18.1.el7.x86_64
Platform: x86_64 kvm

And it also has 200GB SSD.

Is there a chance that the web server configuration might be affecting the loading speed of the web panel?

Offline
*
Re: Web panel very slow
« Reply #1 on: June 10, 2020, 04:57:23 PM »
We have CWP7pro running on our own built, very more powerful platform (10 cores of E5-2680, 16GB RAM, 500GB Enterprise SSD) and are getting the same issue. CWP Admin panel is fast but CWP User panel is very slow. This is a real shame as we really like this control panel. I wonder if there is anything that can be done to make the User panel any faster?  ::)
« Last Edit: June 10, 2020, 04:59:23 PM by ABC Hosts »

Offline
*
Re: Web panel very slow
« Reply #2 on: June 10, 2020, 05:21:58 PM »
It's something to do with your configuration/setup
Works fine for me albeit with only a few accounts on one server:

Quote
50GB SSD - multiple LVM partitions
2GB RAM (66% usage)
2GB swap (15% usage)
CPU Model: QEMU Virtual CPU version (cpu64-rhel6)
CPU Details: 2 Core (2500 MHz)
Distro Name: CentOS Linux release 7.8.2003 (Core)
Kernel Version: 3.10.0-1127.10.1.el7.x86_64
Platform: x86_64 kvm
 Apache version: Apache/2.4.41
PHP version: 7.3.18
MySQL version: 10.1.45-MariaDB

The above is a seriously cheap ($13/yr) VPS on a network not exactly renowned for performance.
« Last Edit: June 10, 2020, 06:00:31 PM by cynique »

Offline
*
Re: Web panel very slow
« Reply #3 on: June 10, 2020, 05:31:41 PM »
If you have any tips it would be much appreciated. The Admin panel is very fast but the user side panel is very slow. We have tried many settings and optimisations but no difference. It was slow from fresh installation then we tried differently Wesberver and PHP setting and different versions but all the same.

Offline
*
Re: Web panel very slow
« Reply #4 on: June 10, 2020, 05:57:09 PM »
A different server, literally at the other side of the World, takes a couple of seconds to load some user interface panels. It's not horrendously slow but isn't instantaneous.
Quote

30GB NVMe
4GB RAM (41% usage)
1GB swap (23% usage)
CPU Model: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
CPU Details: 4 Core (2600 MHz)
Distro Name: CentOS Linux release 7.8.2003 (Core)
Kernel Version: 3.10.0-1127.el7.x86_64
Platform: x86_64 kvm
 Apache version: Apache/2.4.41
PHP version: 7.3.14
MySQL version: 10.1.45-MariaDB 

vm.swappiness = 1
Separate partitions for /,/home,/backup,/tmp and preferably /var
Check mod_security logs and disable select rules, where they are triggered by CWP activity.
Try to limit the memory used by clamav/clamd - think there may be a post in a thread on here somewhere.
If you have a medium/large user base, then run periodic database optimisation, via a cron task.
Be careful of misinformation on the 'web of which there are plenty. ;)

Keep the main/root CWP page open and monitor CPU and disc I/O, whilst using the user panel - this may help to determine whether disc or CPU constrained. You may prefer to use 'top -c'. A simple debug for seasoned sysadmins.

« Last Edit: June 10, 2020, 06:09:38 PM by cynique »

Offline
*
Re: Web panel very slow
« Reply #5 on: June 14, 2020, 10:29:35 AM »
I also like the user panel very much.
I find that every time I change the menu item, the CWP CPU reaches 99%. I think that's why it's slow.
Can anyone give us advice on how to optimize the pnaeluser?