WebPagetest Forums
EC2 AMI Linux Agent only runs 1 test, then disappears - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: EC2 AMI Linux Agent only runs 1 test, then disappears (/showthread.php?tid=15091)



EC2 AMI Linux Agent only runs 1 test, then disappears - Roamer - 10-23-2017 10:20 PM

Hi all,

I've been trying to setup a private instance for a few days now, and I'm having a problem where by I can run a test in say eu-west-1-linux, the agent instance starts up,appears in both getTesters.php and getLocations.php, gets the work from the server, completes and posts back the results to the server, and then the agent continues to hit the getwork.php url but never gets handed another test, even though there is one waiting.

Also, once it has run one test, it disappears from the getTesters.php page, and the getLocations.php page, even though the instance is still up and running....

Any ideas anyone?

Added some screengrabs of the getTesters.php and getLocation.php output for eu-west-1-linux


RE: EC2 AMI Linux Agent only runs 1 test, then disappears - Roamer - 10-24-2017 12:11 AM

Just a bit more info, I've just seen that after running a test successfully, the agent appears as an "Idle Agent" for a very short period of time, then disappear and the number of Idle agents goes to zero.

Also, just noticed that tmp/ec2_instances.dat STILL shows:

$ more ec2-instances.dat
{"ami-a3a81dd0":{"count":1},"ami-a600d6df":{"count":1}}

... even though there are ZERO running agent instances :-S

-John.