WebPagetest Forums
Multiple agents on the same machine\host - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Multiple agents on the same machine\host (/showthread.php?tid=16070)



Multiple agents on the same machine\host - veresa - 05-20-2020 11:37 PM

Hi,

We have a pretty simple setup, one WPT server and 2 WPA each being hosted by one server, all on Linux Centos. We would like to scale up a bit the number of agents, from 2 to 5 for example. Is it possible to install 2 or more agents on the same server or does every agent need to be installed separately? If it is possible, what does this mean from the resource point of view?

Thank you,
Alex


RE: Multiple agents on the same machine\host - pmeenan - 05-21-2020 01:55 AM

Each agent needs to be run on a dedicated "machine". They can be multiple VM's on a single physical server but there can't be multiple agents running within the same OS instance. Things like network throttling and video capture don't play nicely with multiple instances.


RE: Multiple agents on the same machine\host - pmeenan - 05-21-2020 01:57 AM

If you're on Centos you could use KVM to run agent VM's on the same server and leave the web server running on the bare metal (just watch your CPU utilization to make sure you don't oversubscribe the server).


RE: Multiple agents on the same machine\host - veresa - 05-21-2020 05:59 AM

Thank you Patrick for the quick reply.