Symptoms
IM server does not respond.
# curl -uadmin:****** -X GET http://192.168.xx.2:4465/paci/v1.0/vm2vf
curl: (7) couldn't connect to host
OACI IM log contains the error:
2015-06-21 14:10:04,363 () ERROR InstanceManager [RequestController-2] - Uncaught exeception encountered in thread: Thread[RequestController-2,10,main] java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[na:1.6.0_45]
at java.lang.Thread.start(Unknown Source) ~[na:1.6.0_45]
Cause
The underlying OS did not allow OACI service to create a new thread due to the nproc limit of PACI user.
Resolution
Set nproc limits for PACI user as unlimited in
/etc/security/limits.d/90-nproc.conf
:# Default limit for number of user's processes to prevent # accidental fork bombs. # See rhbz #432903 for reasoning. * soft nproc 1024 root soft nproc unlimited PACI soft nproc unlimited
- Restart OACI IM services per the article: How to restart OACI Instance Manager services?