Size the VPS around how long jobs wait and how long they take to finish during peak demand. Record queue wait, execution time and the age of the oldest pending job. On Linux, Pressure Stall Information exposes time spent waiting for CPU, memory and I/O in /proc/pressure/. Align those measurements with the service timeline. Linux kernel PSI
Step by step
Measure the queue before changing settings
Use a Linux test VPS with recorded job and run timestamps. Run a peak-like batch. Collect PSI, queue wait and duration.
date -Is; for resource in cpu memory io; do echo "$resource"; cat "/proc/pressure/$resource"; done
What to check · Match queue and pressure readings by timestamp. Compare how long the job waited with how long it ran.
If it goes wrong
If /proc/pressure is missing, check kernel support and permissions. Keep collecting queue durations while you find an equivalent resource signal.
Change concurrency only
Repeat the same batch with fewer browser workers. Keep input, volume, pilot account and source fixed.
A: 4 workers. B: 2 workers. Compare p95 wait, run time, oldest pending job and memory some avg10.
What to check · The paired runs show whether lower concurrency improved latency or merely increased backlog.
If it goes wrong
If PSI remains low, inspect provider timings and errors. A remote bottleneck calls for a different measurement.
Check service limits
On a systemd VPS with an existing test unit, read its effective limits before proposing values. Change limits in an approved window and rerun the batch.
systemctl show worker-name.service -p MemoryHigh -p MemoryMax
What to check · You can confirm the current settings and compare the batch. MemoryHigh is the main control and MemoryMax the final ceiling.
If it goes wrong
If other services suffer or jobs fail, restore the previous settings and repeat the smaller batch.
Put the NoBreakAds MCP to work
In a supported client, use NoBreakAds MCP to check upcoming runs and available history. Log scheduled and observed times for a pilot report. Compare them with the queue and VPS usage measured at those same times. Explore the NoBreakAds MCP · Create an account.
Related guide: Schedule Hermes Agent routines with the right time zone and destination
Change one variable per test
If the queue grows during browser jobs and memory pressure rises at the same time, run a controlled batch with fewer browsers in parallel. Compare latency and the impact on other services. systemd can help prioritize services and set resource limits. Its documentation suggests MemoryHigh= for primary control and MemoryMax= as a final cap. When local pressure stays low, also measure provider latency and errors. systemd resource control
Illustrative scenario
In a load test, the queue slows down the most when reports overlap with browser tasks. The team staggers the jobs and the queue moves faster on the same server.
Frequently asked questions
Does high CPU usage justify buying more vCPUs?
Correlate CPU, pressure, queue wait and job deadlines. Storage, memory or a remote API may be the bottleneck.
Should I raise concurrency for every agent at once?
Change a single workload class at a time so you can measure its effect and cost.
How can I distinguish queue delays from a slow provider response?
In a mock batch, a task enters at 9:00, starts at 9:02 and finishes at 9:12. Split two minutes of queue time from ten of execution. If eight of those ten minutes are spent waiting on a remote call and local pressure is low, record that interval and compare it with another run before sizing up.