The prometheus gets stuck with blank page after sometime of run with the timeout error msg. Please find the first lines of timeout msg fetched from the container logs
{"log":"time=\"2017-08-09T07:10:57Z\" level=warning msg=\"Scrape health sample discarded\" error=\"sample timestamp out of order\" sample=up{instance=\"running\", job=\"cadvisor\"} =\u003e
0 @[1502262641.977] source=\"scrape.go:587\" \n","stream":"stderr","time":"2017-08-09T07:11:01.95726599Z"}
{"log":"time=\"2017-08-09T07:11:10Z\" level=warning msg=\"Scrape duration sample discarded\" error=\"sample timestamp out of order\" sample=scrape_duration_seconds{instance=\"running\", job
=\"cadvisor\"} =\u003e 10.87713533 @[1502262641.977] source=\"scrape.go:590\" \n","stream":"stderr","time":"2017-08-09T07:11:15.76624904Z"}
{"log":"time=\"2017-08-09T07:11:09Z\" level=warning msg=\"Scrape sample count post-relabeling sample discarded\" error=\"sample timestamp out of order\" sample=scrape_duration_seconds{insta
nce=\"running\", job=\"cadvisor\"} =\u003e 186.450205515 @[1502262440.962] source=\"scrape.go:596\" \n","stream":"stderr","time":"2017-08-09T07:11:19.832195484Z"}
{"log":"time=\"2017-08-09T07:11:26Z\" level=error msg=\"could not describe instances: RequestError: send request failed\n","stream":"stderr","time":"2017-08-09T07:11:27.513669038Z"}
{"log":"caused by: Post
https://ec2.us-east-1.amazonaws.com/: net/http: TLS handshake timeout\" source=\"ec2.go:118\" \n","stream":"stderr","time":"2017-08-09T07:11:27.513705198Z"}
{"log":"time=\"2017-08-09T07:11:26Z\" level=error msg=\"could not describe instances: RequestError: send request failed\n","stream":"stderr","time":"2017-08-09T07:11:29.024310112Z"}
{"log":"caused by: Post
https://ec2.us-east-1.amazonaws.com/: net/http: TLS handshake timeout\" source=\"ec2.go:118\" \n","stream":"stderr","time":"2017-08-09T07:11:29.024341458Z"}
{"log":"time=\"2017-08-09T07:11:29Z\" level=error msg=\"could not describe instances: RequestError: send request failed\n","stream":"stderr","time":"2017-08-09T07:11:34.615989678Z"}
{"log":"caused by: Post
https://ec2.us-east-1.amazonaws.com/: net/http: TLS handshake timeout\" source=\"ec2.go:118\" \n","stream":"stderr","time":"2017-08-09T07:11:34.616029714Z"}
{"log":"time=\"2017-08-09T07:11:31Z\" level=error msg=\"could not describe instances: RequestError: send request failed\n","stream":"stderr","time":"2017-08-09T07:11:42.481535042Z"}
{"log":"caused by: Post
https://ec2.us-east-1.amazonaws.com/: net/http: TLS handshake timeout\" source=\"ec2.go:118\" \n","stream":"stderr","time":"2017-08-09T07:11:42.481569743Z"}
{"log":"time=\"2017-08-09T07:11:39Z\" level=error msg=\"could not describe instances: RequestError: send request failed\n","stream":"stderr","time":"2017-08-09T07:11:43.871243849Z"}
{"log":"caused by: Post
https://ec2.us-east-1.amazonaws.com/: net/http: TLS handshake timeout\" source=\"ec2.go:118\" \n","stream":"stderr","time":"2017-08-09T07:11:43.871275284Z"}
{"log":"time=\"2017-08-09T07:11:27Z\" level=warning msg=\"Scrape sample count sample discarded\" error=\"sample timestamp out of order\" sample=scrape_duration_seconds{instance=\"running\", job=\"cadvisor\"} =\u003e 10.87713533 @[1502262641.977] source=\"scrape.go:593\" \n","stream":"stderr","time":"2017-08-09T07:11:47.815350003Z"}
On the 2 core machine please find the current memory available
[root@host ]# free -m
total used free shared buffers cached
Mem: 7986 2516 5469 0 264 918
-/+ buffers/cache: 1334 6652
Swap: 0 0 0
[root@ip-host ~]# w
09:48:11 up 13 days, 18:15, 1 user, load average: 2.03, 2.15, 2.11
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
ec2-user pts/0 ip-10-75-1-214.e 05:06 1.00s 0.13s 0.00s sshd: ec2-user [priv]
Please find the top result
top - 09:49:09 up 13 days, 18:16, 1 user, load average: 2.01, 2.12, 2.10
Tasks: 140 total, 1 running, 139 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8%us, 1.7%sy, 0.0%ni, 19.7%id, 77.6%wa, 0.0%hi, 0.0%si, 0.2%st
Mem: 8178428k total, 2577656k used, 5600772k free, 270640k buffers
Swap: 0k total, 0k used, 0k free, 937604k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31115 root 20 0 426m 37m 12m S 1.0 0.5 3:04.77 cadvisor
3159 root 20 0 362m 14m 8852 S 0.7 0.2 148:27.94 docker-containe
3428 root 20 0 248m 47m 7480 S 0.7 0.6 158:10.85 agent
30932 root 20 0 182m 121m 0 S 0.7 1.5 5:32.94 prometheus