Hello,
I have developed a code to check the health of multiple IS (40 servers) from a single IS via remote invoke.
All the servers to be monitored are defined as ‘Remote Servers’ on the monitoring IS.
Monitoring is defined for below on the monitoring IS,
Monitors all Integration Servers status
Monitors all JDBC, SAP & MQ adapter connection status
Monitors all JDBC, SAP & MQ listener status
Monitors the queue length of all clients
Monitors the connectivity to Broker from IS
Monitors all broker servers
Monitors all file polling ports
Monitors both Memory & Thread usage on all Integration Servers
Schedule tasks on all Integration Servers
Monitors Broker/Local Triggers on all Integration Servers
Monitors the trigger throttle settings on all Integration Servers
All these monitoring activities run fine individually.
The problem arises when these are scheduled to run at specific intervals.
The schedule tasks run fine for couple of hours and then end up in error as below.
java.lang.OutOfMemoryError:unable to create new native thread
Memory initially assigned to the monitoring IS was 256.
As I encountered this error, I changed the memory to 1024 by changing the server.bat as below.
But still the error was the same. After sometime IS does not respond and finally shuts down.
set JAVA_MIN_MEM=1024M
set JAVA_MAX_MEM=1024M
set JAVA_MAX_PERM_SIZE=128M
Thread usage was well within the limit during this process.
If anyone has encountered this type of error, could you please share your thoughts.
Below are additional details.
IS version:
7.1.2.0
Extended Settings:
watt.server.cronMaxThreads=5
watt.server.cronMinThreads=2
watt.server.scheduler.maxWait=60
watt.server.scheduler.threadThrottle=75
watt.server.threadPool=75
watt.server.threadPoolMin=10
System:
Microsoft Windows Server 2003 R2
#webMethods-General#Integration-Server-and-ESB#webMethods