Host Monitor Web Interface Fails Every 1 -2 hours

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
davephan
Posts: 14
Joined: Fri Oct 19, 2007 1:53 pm

Host Monitor Web Interface Fails Every 1 -2 hours

Post by davephan »

Host Monitor Web Interface Fails Every 1 -2 hours.

When attempting to log on to the web interface with a web browser, the following error is reported on the web browser:

Response from HostMonitor's web service:

Error: Cannot Read Data

Possible reasons:
- Host Monitor is not running
- RCI Interface is disabled
- HM Web Service configured incorrectly (wrong TCP port or IP address)
- Network problem


None of the above reasons are the cause of the problem.


The Host Monitor web problem is fixed by automatically running the following script every one hour:

net stop "KS Web Service"
tasklist|find /i "hostmon.exe"
if errorlevel==0 Taskkill /IM hostmon.exe /F
sleep 30
net start "KS Advanced Host Monitor"
net start "KS Web Service"

This script basically recycles the Host Monitor web service. This allow Host Monitor web interface to run reliably for an hour, perhaps up to two hours. When the Host Monitor web component is recycled, there is an outage for several minutes while the service stops and starts. Is there a way that the Web interface could run reliability?

The server is configured to run hundreds of tests per hour. Is there a practical limit to the number of tests that should be run? Is there a minimum system resources that are needed?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please provide more information?
- What Windows do you use?
- Service Pack?
- HostMonitor version?
- Do you use ODBC logging or ODBC test method? If yes, what ODBC driver do you use?
- Do you have installed some antivirus monitors, personal firewall, content monitoring software? Non stanard winsock components?

Could you check resource usage for each process when this problem appears again? You may use standard Windows Task Manager to check Handles, GDI and USER objects. What is the total resource usage on the system? How many handles/threads/GDI objects used by hostmon.exe and webservice.exe processes?
The server is configured to run hundreds of tests per hour. Is there a practical limit to the number of tests that should be run? Is there a minimum system resources that are needed?
Normally test, actions, logging should not lead to any problems. However some functions depend on 3rd party software (e.g. ODBC driver) so anything is posible.

Regards
Alex
davephan
Posts: 14
Joined: Fri Oct 19, 2007 1:53 pm

Post by davephan »

Operating System: Windows 2003
SP2
Host Monitor 8.26
No ODBC logging or tests
Trend Micro Office scan anti-virus
No firewall software
No non-standard winsock components

System
Handles: 2,396
GDI: 2,651
Processes: 60

Hostmon.exe process
Handles: 2,271
Threads: 1,858
GDI: 0

webservices.exe process
Handles: 109
Threads: 5
GDI: 0
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Operating System: Windows 2003 SP2
Host Monitor 8.26
Pretty stable OS and HostMonitor version. Could you try to disable antivirus?
Hostmon.exe process
Handles: 2,271
Threads: 1,858
Looks like there is a problem. Try to disable antivirus. If this will not help, could you send your configuration files to us?

Also this counter looks pretty strange: "System Handles: 2,396".
Are you sure? May be 23,960?

Regards
Alex
Post Reply