Wednesday, May 13, 2009

-bash: fork :resource temporarily unavailable

I was getting -bash: fork :resource temporarily unavailable on of the ESX host. I was not able to issue reboot/vmotion or anything with this ESX host.
I found huge memory error under hostd log

[2009-05-11 04:54:31.645 'Memory checker' 21138352 warning] Current value 127776 exceeds soft limit 122880.

[2009-05-11 04:55:01.664 'Memory checker' 126815152 warning] Current value 127776 exceeds soft limit 122880.

[2009-05-11 04:55:31.684 'Memory checker' 131939248 warning] Current value 127776 exceeds soft limit 122880.

[2009-05-11 04:56:01.702 'Memory checker' 37694384 warning] Current value 127776 exceeds soft limit 122880.


It was indication that service console is running out of memory. I checked my service console and it had 272MB. I looked at messages and found that HPSIM related messages.

I have recently deployed HPSIM on these ESX host. In the past I do know that HP SIM agent can create lots of problem



1 comment:

MeujaH said...

You need to increase of the ServiceConsole (up to 800 MB).

You also need to edit the file /etc/vmware/hostd/config.xml in the section < config > that contain the following line: < hostdWarnMemInMB >120< / hostdWarnMemInMB >
< hostdStopMemInMB >200< / hostdStopMemInMB >

After you have restart the mgmt-vmware service.