10.3 and 3.1 CGI Timeout in WebTrac/eRecTrac
Problem
This is the message we get when trying to access WebTrac or eRecTrac on Mondays (every Monday, IT cycles the power and the router gets rebooted).
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
We have also seen this error in the wsrtlive.server.log file:
WTA: npp_enable_connections() failed with error number: -12. (6396)
Are these related? What can be done to fix?
Solution
You seem to have 2 separate issues.
1 CGI Timeouts on Mondays - Looking in the event viewer, we found this:
Event Viewer System:
NIC Agent: Connectivity has been lost for the NIC in slot 0, port 0. [SNMP TRAP: 18006 in CPQNIC.MIB] 4:19 am, event 1285
HP NC373i: The network link is down. Check to make sure the network cable is properly connected.
NIC Agent- connectivity restored 2 minutes after the power is cycled.
The power cycling is what is locking up the agents. Customer put the switch and the router on a battery back up this resolved the issue.
2 The WTA error in the WebSpeed log file - Error number -12 means 'NO_AVAILABLE_PORT'. The TCP port range for the WebSpeed agents are occupied by other processes (often Agents from a different WebSpeed Broker). If the TCP port range for the WebSpeed Agents, defined by srvrMaxPort and srvrMinPort, is too small or is being used by other Agents or processes the Broker will not be able to spawn new Agents.
To fix, change the port range used by the agents making the range bigger or define different port ranges for each WebSpeed broker. To make the modification, edit using Progress Explorer Tool. In Progress Explore go to Broker properties > Agent > General: The port range is defined by the 'Minimum Port Number' and the 'Maximum Port Number'.