if you are facing issue where all DIA agents are getting disconnected from Solution Manager 7.2 due to error “Exception occurred” or “Processing RMI-P4 request failed. There are no resources to handle the request”. This means there are no more P4 threads are free to handle the request.
This issue is usually occurred in big landscape where more then 600-700 DIA agents are there.
P4 thread usage can be monitor via below method –
telnet localhost 5instance_number08
If the displayed value of the “Thread usage” stays at 100% for several minutes so there is an requirement to adjust/increase the threads/queue.
P4 Thread & Queue request size can be calculate as per below Blog –
Section – Connectivity Instability in Huge Landscapes – Quick Sizer Tool
There is an attached excel document which give you the correct parameters details as per DIA agents numbers.update the same in your landscape & restart the Java Instance.
SAP Note – 2370752 – Diagnostics Agents do not connect to SAP Solution Manager 7.2 due to error in the Default Trace ”Processing RMI-P4 request failed. There are no resources to handle the request.”
SAP also recommend to update the LM-SERVICE patch to latest one to avoid the disconnection issue & also implement Lightweight Ping note as below –
2599110 – Lightweight Ping
2574270 – LM-SERVICE 7.20 SP06 Patch 2
2599110 – LM Service Patch Update