Connection to RCC always lost

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).
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

Connection to RCC always lost

Post by itelio »

Hello,

we're using KS Hostmon in Version 9.58 and we've the Problem that we always lose the Connection to the RCC Server.

We can login into HostMonitor via RCC, but all 3-4 Min the program hangs up (not responding) and then the Connection is lost.

We have it running on a Server 2008 R2 Std.

Changing the RCI Port and extending the timeout value to 40 was not a solution.

The syslog shows:

06.11.2014 17:19:16 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 17:30:30 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 17:30:30 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:19:16)
06.11.2014 17:30:30 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:19:16)
06.11.2014 17:30:30 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 17:41:41 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 17:41:41 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:30:30)
06.11.2014 17:41:41 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:30:30)
06.11.2014 17:41:41 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 17:52:54 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:41:41)
06.11.2014 17:52:54 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:41:41)
06.11.2014 17:52:54 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 17:52:54 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:04:10 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:52:54)
06.11.2014 18:04:10 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 17:52:54)
06.11.2014 18:04:10 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:04:10 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:15:23 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 18:04:10)
06.11.2014 18:15:23 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 18:04:10)
06.11.2014 18:15:23 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:15:23 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:23:22 RCI connection closed. Operator: admin_itelio (Connected at 06.11.2014 18:15:23)
06.11.2014 18:23:44 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:26:36 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 18:15:23)
06.11.2014 18:26:36 RCI connection terminated. Operator: admin_itelio (Connected at 06.11.2014 18:23:43)
06.11.2014 18:26:36 RCI connection established. Operator: admin_itelio IP: 127.0.0.1
06.11.2014 18:26:36 RCI connection established. Operator: admin_itelio IP: 127.0.0.1

Can an Update to the latest Version Fix this Error?

Any help would be apreciated.

Thanks :)
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

Connection to RCC always lost

Post by itelio »

Console log:

[06.11.2014 18:37:47] Cannot read data
[06.11.2014 18:48:38] Connection lost
[06.11.2014 18:48:38] Reconnecting...
[06.11.2014 18:48:38] Connecting... Ok. TCP Connection established
[06.11.2014 18:48:38] Authentication... Ok
[06.11.2014 18:49:01] RCC handshake... Ok
[06.11.2014 18:49:01] Ok
[06.11.2014 18:49:01] Cannot read data

:-/
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Could you please check if user account, used for RCC connection, has disabled option "Show tests in subfolders (recursive)". This option can be disabled using menu User -> GUI preferences...
Also, you may descrase "Status refresh rate" option, located on RCC connection dialog.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Also, please use Auditing Tool to check for possible problems (menu View->Auditing Tool)

Regards
Alex
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

re

Post by itelio »

Hello,

Thanks for your replies.

I tried all the ways to fix the Problem, but no suggestion works...

- Disable "Show tests in Subfolders"
- Decrease "Status refresh rate"

The Auditing Tool only criticises a missing Soundfile..

RCC Works for a time an then on a Click in the Gui the Application "crashes", window is white and in Title Bar (not responding) appears.

After 30 sec it works again. Probably reconnect.
There is no Eventog Entry in Windows Eventlog. :-?

[07.11.2014 07:58:16] Connection lost
[07.11.2014 07:58:16] Reconnecting...
[07.11.2014 07:58:16] Connecting... Ok. TCP Connection established
[07.11.2014 07:58:16] Authentication... Ok
[07.11.2014 07:58:44] RCC handshake... Ok
[07.11.2014 07:58:44] Ok
[07.11.2014 07:58:44] Cannot read data

[07.11.2014 08:09:39] Connection lost
[07.11.2014 08:09:39] Reconnecting...
[07.11.2014 08:09:39] Connecting... Ok. TCP Connection established
[07.11.2014 08:09:39] Authentication... Ok
[07.11.2014 08:10:02] RCC handshake... Ok
[07.11.2014 08:10:02] Ok
[07.11.2014 08:10:02] Cannot read data

[07.11.2014 08:20:52] Connection lost
[07.11.2014 08:20:52] Reconnecting...
[07.11.2014 08:20:52] Connecting... Ok. TCP Connection established
[07.11.2014 08:20:52] Authentication... Ok
[07.11.2014 08:21:24] RCC handshake... Ok
[07.11.2014 08:21:24] Ok
[07.11.2014 08:21:24] Cannot read data
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Do you have installed any Firewall/Antivirus software on HostMonitor or RCC system? Could you try to disable it and check if issue persists?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>After 30 sec it works again. Probably reconnect.

Sounds like HostMonitor system busy doing something...
Are you generating reports using network drives?
May be you store logs on network drive?
How many test items in the list?

Do you use ODBC logging or ODBC test method? If yes, what ODBC driver do you use?
Could you check resource usage for each process on HostMonitor system? 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 process?

Regards
Alex
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

Re

Post by itelio »

Hello :)

yes we, re generating Reports every 10 Minutes but on local disk.
We've noticed, that the CPU Usage of the virtual Machine goes up to 50% peak. This also every 10 Minutes.

I will set Reports time Intervall from 10 minutes to 30 min. for a while for testing.

Disabling Virusscan / Firewall doesn't solve the problem.

I'l report back how it works.

Greez
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

re

Post by itelio »

Ok now it's clear.
Ist definitively the reporting.

Image

Image

Image

Now i've set the Intervall up to 6h for reporting and it seems to to work now.
But why exist the bug?

Greez
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please answer other questions as well?

quote:
------------
How many test items in the list?
Do you use ODBC logging or ODBC test method? If yes, what ODBC driver do you use?
Could you check resource usage for each process on HostMonitor system? 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 process?

Regards
Alex
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

Re

Post by itelio »

Hi oh sorry :wink:

we have 2224 tests in 157 Folders
We dont use ODBC Logging
Die total ressource on CPU is always 0-2 %.
RAM : 36 %


hostmon.exe :
CPU - 00
Handles : 370
Threads: 28
USER objects: 0
GDI objects: 0

Regards :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor resources looks fine.
ODBC test methods?

As we see HostMonitor creates report for 3000 test items within 1-2 sec. This should not lead to RCC disconnect...

Could you send your settings to support@ks-soft.net?
HML file with tests + *.LST and *.INI files (you may skip connlist.lst - accounts)

Regards
Alex
itelio
Posts: 132
Joined: Thu Nov 06, 2014 11:37 am

re

Post by itelio »

Please see this case as solved. We disabled the reports.

Thanks to all :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Well, its not nice solution. HostMonitor should work fine with reports.
If you send files, we can try to reproduce the problem...

Regards
Alex
Guido39
Posts: 65
Joined: Tue Sep 17, 2002 6:00 pm

Post by Guido39 »

We've been trying to figure out RCC connection issues for over 6 months and after finding this post I disabled reports and it's working now. Three reports were running every 5 minutes including one that exported the status on about 3,000 tests. The CPU would spike for at least 30 seconds during this time and disconnect RCC. We're also running 9.58 on Windows 2008 R2. I have since enabled two reports that export bad/unknown and disabled tests and still working much better. I don't really need the report for all tests so I'm just going to leave it off.
Post Reply