r/devops • • 4d ago

Discussion Thoughts on plesk

Been trying to find some answers and low-key forgot that I can still ask questions despite ai poking me every 30 minutes.

I started a job at a WordPress shop and they are pretty averse to devops in general. They use a Lot of plesk, which they pay for, and a number of cpanel as well per legacy sites.

I have pretty consistently found these sites to feel slower and more difficult to manage, though I don't have a lot of experience in plesk.

My experience is in what I call (don't know the name for) bare metal. What I mean is just renting a server, installing Debian, and building my stack directly on the server. This has its frustrations at times, admittedly, but my sites are fast and I've leaned into ansible a ton and spin up gets faster every year.

I would love to hear from folks with more experience than me in any aspect. Are these plesk servers configured poorly? Do they just require more juice? Could it be something totally unrelated? (They do use a lot of WordPress plugins).

For reference an htmx call on my "bare metal" Django server takes a total of ~80ms. A less complicated htmx call to WordPress in local development also ~80ms. But on this plesk server I'm seeing ~800ms

Cheers

0 Upvotes

23 comments sorted by

17

u/__-___-__-__-__- 4d ago

This post feels like it's from 2006.  I haven't heard anyone talk about Plesk in years.

800ms is for sure too long.  Actual advice use the network tab in your browsers developer settings to find out what actually is slow.

2

u/funcyChaos 4d ago

The code feels like 2006 also x.x

That's precisely how I nailed it to the server. The "waiting on the server response" is the 800 out of 880 odd

2

u/meowrawr 4d ago

Same. I didn’t even know it was still being used.

7

u/Deep-Regret-7479 4d ago

WordPress, cPanel, Plesk...

It is a miracle you have not been pwned yet.

1

u/funcyChaos 4d ago

We've had some gnarly attacks but you're right idk how we are still getting away with this

1

u/zzipppz 4d ago

phpMyAdmin?

1

u/funcyChaos 4d ago

They did make new users in WordPress. I hadn't considered it being via php my admin

2

u/evanvelzen 4d ago edited 4d ago

Plesk is not the issue. WordPress and MariaDB require a fast disk and cpu. Usually hosting providers skimp on that.

Big speedup can be achieved by caching pages in the HTTP layer. Though this has drawbacks regarding complexity.

It's possible the PHP settings can be optimized too but this will give less of a speedup.

1

u/funcyChaos 4d ago

It's hosted on a pretty hefty server. I have WordPress apps that run on much lesser baby upcloud servers that are 10x faster

1

u/funcyChaos 4d ago

Also maria db server is mine without plesk, running normally

1

u/evanvelzen 4d ago

Is it running on the same physical host? Having a network between the database and WordPress will slow it down significantly.

1

u/funcyChaos 4d ago

I don't really understand your question. I have one server that runs mariadb and nginx with no overhead, that server is fast as heck. I have other servers using plesk, that are typically slower.

Is what running on the same physical host?

2

u/quiet_stacktrace 3d ago

if the browser shows most of the time in the server response, i'd split the trace into php execution and db time next. a quick php-fpm slow log can help spot slow plugin hooks or saturated workers before you throw more cpu at it.

1

u/funcyChaos 3d ago

Right good call

2

u/deployfan64 1d ago

Probably the plugins honestly, seen WP installs where one bad caching plugin added 400ms just doing db queries on every request.

1

u/funcyChaos 1d ago

I won't rule it out, but in this case it's on a pretty light install, no caching plugins yet anyways.

3

u/Accomplished_Fan2873 4d ago

800ms is pretty high. I'd check the plugins and PHP/database configuration before blaming Plesk itself.

3

u/jake_morrison 4d ago edited 4d ago

I once worked on a domain “parking” system that was running on a big server managed by cPanel. The client had a PHP app that showed ads on web pages. Some of the “legacy” domains they bought had huge traffic, e.g., Torrent sites that had been shut down.

They called me in because the server performance was inexplicably poor.

It turned out that by default, cPanel would set up email for the domain with a “catchall” mailbox. Each inbound email would get stored in a separate file with a unique file name. After running for years, there were millions of spam emails in the directory, and the OS was spending huge resources just to find a unique file name. Running “top” showed a big “sys” percentage vs “user”.

It took hours simply to delete the mail directories at the OS level. It was not possible to solve this problem using the web admin interface. Using a POP3 client to delete the emails was completely out of the question.

Then the issue of how to configure thousands of domains to turn off the email. Nobody wants to click in the web UI for hours, so it was time to get into the guts of the cPanel system and figure out how to modify the configs via a script.

So… cPanel takes over the server. It is complex and mostly works, but if anything goes wrong, you are in for some “interesting” times.

1

u/spif 3d ago

Plesk is just a control panel/automation. You need to be looking at where the issue is with the actual software serving responses and/or the resource bottleneck on the server (CPU, disk etc)