Author Topic: How to (steps) to increase GUI performance?  (Read 871 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to (steps) to increase GUI performance?
« on: February 06, 2024, 04:29:49 PM »
Hi there, I'm new to cwp and sorry about to ask it here before try to search inside the server, just trying to safe some time by trying to learn it!

Some times, I see the web gui (control panel) gets little slow to do some things, load pages and more. The server with is installed is a monster machine!

Where do I go to give more resources to make the GUI more faster, like more memory, and other things?

This use the main php over the system? Use other instance of webserver or the same as websites?

Thank you for the info!

Offline
****
Re: How to (steps) to increase GUI performance?
« Reply #1 on: February 06, 2024, 05:21:19 PM »
Whatever resources your server has allocated to CWP, it will use (cores, memory, disk).
CWP itself runs on PHP 7.2, its own compiled version that you shouldn't alter to avoid breaking things. Also its own instance of Apache.
Code: [Select]
/usr/local/cwpsrvYou can set the CLI version of PHP to be whatever you want, and for performance I would suggest using php-fpm for customizable versions of PHP per account.

Offline
*
Re: How to (steps) to increase GUI performance?
« Reply #2 on: February 06, 2024, 05:43:15 PM »
Thank you for reply.

Yes, sometimes it shows slow, websites (accounts / users) runs faster as I never seen, but inside CWP GUI, sometimes a little job like edit a dns file, when I click, get time like 2 or 3 seconds to open!

Server own 6 cores 12 threads, 32gb of ram, nvme disks.

That 7.2 php and his own apache version, can I tune it? Like... max_memory and other things we always tune in php and apache?

Offline
****
Re: How to (steps) to increase GUI performance?
« Reply #3 on: February 06, 2024, 05:47:18 PM »
It's not recommended to mess with the internal cwpsrv PHP as @overseer mentioned.

If you break it, the whole server will crap out, and you might have to reinstall it from scratch.
Not worth the risk.

Offline
*
Re: How to (steps) to increase GUI performance?
« Reply #4 on: February 06, 2024, 05:56:55 PM »
Thanks...

I see some configs over here, it shows already tunned.

Php 600M memory, and other configs too.

Thank you guys for the explanation!

^^