Support Questions

Find answers, ask questions, and share your expertise

Ambari agent not coming up

avatar
Expert Contributor

ambari agent hung and gives error '/usr/sbin ambari-agent : fork : cannot allocate memory'

1 ACCEPTED SOLUTION

avatar
Expert Contributor

It is resolved now.. ambari-agent file got corrupted.

View solution in original post

7 REPLIES 7

avatar

Do yo have enough memory in the box ? what is free -m (buffer/cache) showing up ?

avatar
Expert Contributor

Yes I have 256 GB box and only 10-15GB is occupied

avatar

Anshul, what is output for "free -g" and also output for "df -h"?

avatar
Expert Contributor

total used free shared buffers cached Mem: 251 2 249 0 0 0 -/+ buffers/cache: 1 250 Swap: 7 0 7

avatar
Expert Contributor

do you feel here any issues with ambari heap size??

avatar
Expert Contributor

Have you changed ambari-agent heap size? Plz paste the logs.

avatar
Expert Contributor

It is resolved now.. ambari-agent file got corrupted.