What I’ve said before and what you seem to be ignoring: start by monitoring the basics. Start by graphing performance metrics over time, inside the OS as well as at the hypervisor level. I’m guessing your VM packs a bit of a punch, but the software just isn’t using all that power because it isn’t tuned appropriately. Adding RAM does nothing if you aren’t configuring your applications to actually use it. Giving the VM a lot of CPU’s does nothing if the applications aren’t instructed to start more worker threads to distribute the load. Performance metrics will probably point to a possible problem area to focus on, allowing for some quick wins.
-
What is the output of this database query?
SELECT * FROM pg_settings WHERE source != 'default';
-
What is the output of this shell command (run while the system is feeling sluggish):
zammad run rails r 'p Delayed::Job.count'
-
What is the output of these shell commands?
zammad config:get WEB_CONCURRENCY
zammad config:get ZAMMAD_SESSION_JOBS_CONCURRENT