WebPagetest Forums
webpagetest agent restarts - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: webpagetest agent restarts (/showthread.php?tid=12233)



webpagetest agent restarts - ash - 05-10-2013 05:18 PM

Hi,

I have a problem. One of my agent machines restarts everyday after many hours of operating properly. I tried to figure out why it happens but with no results. Can anybody help me please?

The agent configuration:

[Configuration]
Startup Delay=0

debug=1

Log File=c:\webpagetest\log\log
Timeout=60
use current account=1

; Where to get work from
Url Files Url=http://[myinternaldomain].com:88/work/
Location=KRK1
Location Key=ABBAQQ122334

Reboot Interval=0

What I see in the log is:

2013/05/09 21:29:32 -1 9 1 20 0 Debug Uploading 22 byte file C:\ProgramData\urlblast\130509_TB_35071efc01a09804910bc9a93bd3f009-1.zip
2013/05/09 21:29:32 -1 9 1 20 0 Debug Flushing DNS cache
2013/05/09 21:29:32 -1 9 1 20 0 Debug DnsFlushResolverCache returned 1
2013/05/09 21:29:32 -1 9 1 20 0 Debug Executing 'ipconfig.exe /flushdns'
2013/05/09 21:29:32 -1 9 1 20 0 Debug Execution failed 'ipconfig.exe /flushdns'
2013/05/09 21:29:32 -1 9 1 20 0 Debug Launching... user='PLJASUD', path='C:\webpagetest\pagetest.exe', command line='"C:\webpagetest\pagetest.exe"'
2013/05/09 21:29:32 -1 9 1 18 0 Error Failed to launch browser '?^?fenough storage is available to process this command.
' - C:\webpagetest\pagetest.exe
2013/05/09 21:29:33 -1 9 1 20 0 Debug Uploading 22 byte file C:\ProgramData\urlblast\130509_TB_35071efc01a09804910bc9a93bd3f009-1.zip
2013/05/09 21:59:33 -1 9 1 20 0 Debug Stop Capture
2013/05/09 21:59:33 -1 9 1 2 0 System Reboot
2013/05/09 21:59:33 -1 9 1 1 1 Log Files Upload
2013/05/09 21:59:33 -1 9 1 4 0 CPU String Intel® Core™ i5 CPU M 560 @ 2.67GHz
2013/05/09 21:59:33 -1 9 1 5 2660 CPU MHz
2013/05/09 21:59:33 -1 9 1 6 3891 Total RAM (MB)
2013/05/09 21:59:33 -1 9 1 7 152625 Disk Size (MB)
2013/05/09 21:59:33 -1 9 1 8 111519 Disk Free (MB)
2013/05/09 21:59:33 -1 9 1 9 6 OS Version Windows 7 Service Pack 1 (6.1.7601 SP 1.0 Suite 0x00000100 Product 1)
2013/05/09 21:59:33 -1 9 1 10 0 Computer Name [...]
2013/05/09 21:59:33 -1 9 1 19 0 Info Screen: 1280 x 800 - 32 bpp
2013/05/09 21:59:33 -1 9 1 11 9 IE Version 9.0.8112.16421
2013/05/09 21:59:33 -1 9 1 12 356 URLBlast Version 2.11.0.356


RE: webpagetest agent restarts - braincracking - 05-10-2013 10:13 PM

Hi

it's not clearly said in the documentation, but the agents are configured to automatically reboot, to free up memory : https://sites.google.com/a/webpagetest.org/docs/private-instances


RE: webpagetest agent restarts - ash - 05-10-2013 10:16 PM

But it happens only to one of my agent machines and I really struggle to figure out what is the difference. Same version of the agent, same operating system etc.


RE: webpagetest agent restarts - pmeenan - 05-10-2013 11:28 PM

I believe urlblast will automatically reboot if it gets 3 serious failures in a row (dns lookup, etc) on the assumption that something is wrong with the network or machine. My bet is that whatever caused the "enough storage is available to process this command" error in the log was enough to trigger the reboot.

Is space available on all of the drives? Theoretically it should stop getting work if there is < 100MB available anyway but something strange is going on with launching the browser.


RE: webpagetest agent restarts - ash - 05-13-2013 05:01 PM

Thanks Patrick!

I'll try to figure out what causes this message in the log.

For sure there is enough storage available.


RE: webpagetest agent restarts - ash - 05-17-2013 12:48 AM

Finally I figured out that the problem is because of "Out of memory" windows error message.