KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Host Monitor Web Interface Fails Every 1 -2 hours

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
davephan



Joined: 19 Oct 2007
Posts: 14

PostPosted: Mon Feb 08, 2010 11:13 am    Post subject: Host Monitor Web Interface Fails Every 1 -2 hours Reply with quote

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?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Mon Feb 08, 2010 11:20 am    Post subject: Reply with quote

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?

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
davephan



Joined: 19 Oct 2007
Posts: 14

PostPosted: Tue Feb 09, 2010 4:17 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Wed Feb 10, 2010 7:32 am    Post subject: Reply with quote

Quote:
Operating System: Windows 2003 SP2
Host Monitor 8.26

Pretty stable OS and HostMonitor version. Could you try to disable antivirus?

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index