aliveTimeout DesktopUI

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
DmSilkin
Posts:23
Joined: Wed Jun 03, 2020 9:26 am

aliveTimeout DesktopUI

Post by DmSilkin »

Hello! I have a question about config entry aliveTimeout in DesktopUI. In config.webclient the entry aliveTimeout = -100 was added to section [ui]. After that, i rebooted the webclient_http.ctl.
Then i start DekstopUI with -dbg Alive to see how alive-messages are provided.
In WCCOAui0.log i see this message:

Code: Select all

WCCOAui      (0), 2021.03.03 16:13:30.233,	Alive,	starting aliveThread alive timeout: 100 sec.
So, we have now 100 sec alive timeout. But then i open the WCCOAuiNUM.log and see next:

Code: Select all

...
WCCOAui      (44), 2021.03.03 16:14:09.753,	Alive,	Send TCP alive message to (SYS: 1273 Event -num 0 CONN: 1) (P)  @ SERVER-1...
  SysMsgType: KEEP_ALIVE  SubType: NONE  Additional data: <null>
WCCOAui      (44), 2021.03.03 16:14:09.769,	Alive,	Got TCP alive message from (SYS: 1273 Event -num 0 CONN: 1) (P)  @ SERVER-1...
  SysMsgType: KEEP_ALIVE  SubType: NONE  Additional data: <null>
WCCOAui      (44), 2021.03.03 16:14:09.770,	Alive,	Starting alive surveillance for (SYS: 1273 Event -num 0 CONN: 1) (P)
WCCOAui      (44), 2021.03.03 16:14:09.816,	Alive,	Got TCP alive message from (SYS: 1273 Event -num 0 CONN: 2) (P)  @ SERVER-2...
  SysMsgType: KEEP_ALIVE  SubType: NONE  Additional data: <null>
WCCOAui      (44), 2021.03.03 16:14:10.821,	Alive,	Got TCP alive message from (SYS: 1273 Event -num 0 CONN: 2) (P)  @ SERVER-2...
  SysMsgType: KEEP_ALIVE  SubType: NONE  Additional data: <null>
WCCOAui      (44), 2021.03.03 16:14:10.850,	Alive,	Got TCP alive message from (SYS: 1273 Event -num 0 CONN: 1) (P)  @ SERVER-1...
  SysMsgType: KEEP_ALIVE  SubType: NONE  Additional data: <null>
WCCOAui      (44), 2021.03.03 16:14:11.470,	Alive,	Got TCP alive message from (SYS: 1273 Data -num 0 CONN: 2) (P)  @ SERVER-2...
  SysMsgType: KEEP_ALIVE  SubType: NONE  Additional data: <null>
  ...
I get the alive messages much more often then 100/10=10 sec.
Is that behaviour correct or i understood the meaning of aliveTimeout not quite right?
Thanks in advance!

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: aliveTimeout DesktopUI

Post by leoknipp »

If a WinCC OA connection is established the server and client have a timeout setting.
According to both settings an aliveTimeout is used which fits both communication partners.
As the default value for the aliveTimeout is -10 you will see messages in a shorter interval.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1