Back

Topic

[KB723]How to adjust the thread watchdog timeouts

Tags: Threads, Timeout, Watchdog

10 years ago
By RM
Options
Print
Applies to:

PcVue 8.10 and later


Summary:

How to adjust the thread watchdog timeouts.


Details:

Modification are made in PARAM.DAT, to the following lines:

WATCHDOGMAIN,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

WATCHDOGMAINWARNING,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

WATCHDOGTHREAD,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

WATCHDOGTHREADWARNING,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

The timeouts are in seconds. A timeout of 0 means use the default.

The threads corresponding to each field are as follows.

6.0 <= Version < 7.0

  1. // Manager startup
  2. // Not Used
  3. // Manager timer
  4. // Manager comm. Networking
  5. // Manager comm. Equipments (CimWay)
  6. // Manager variable
  7. // Manager HMI
  8. // Manager Alarm (lists)
  9. // Manager Historical
  10. // Manager “blank” (First)
  11. // Manager “blank” (Last)

7.0 <= Version < 8.0

  1. // Manager startup
  2. // Not Used
  3. // Manager timer
  4. // Manager comm. NetWorking
  5. // Manager comm. Equipments (CimWay)
  6. // Manager variable
  7. // Manager HMI
  8. // Manager Alarm (lists)
  9. // Manager Historical
  10. // Manager OPC Server
  11. // Manager “blank” (First)
  12. // Manager “blank” (Last)

8.0 and later

  1. // Manager startup
  2. // Not Used
  3. // Manager timer
  4. // Manager comm. NetWorking
  5. // Manager comm. equipments (CimWay)
  6. // Manager variable
  7. // Manager HMI
  8. // Manager Alarm (lists)
  9. // Manager historical
  10. // Manager OPC Server
  11. // Manager COM Configuration Server
  12. // Manager “toolkit”
  13. // Manager “toolkit
  14. // Manager “toolkit
  15. // Manager “toolkit
  16. // Manager “toolkit
  17. // Manager “toolkit
  18. // Manager “toolkit
  19. // Manager “toolkit
  20. // Manager Alarms
  21. // Manager Interop
  22. // Manager IEC 104 Server
  23. // Manager RPC
  24. // Manager GEO
  25. // Manager Architect

Monitoring of PcVue managers since version 15.2

Watchdog message

Every seconds, the startup manager send watchdog message to each manager and control that the duration for processing time of this message by the destination manager is lower than a timeout.

There is two timeouts, one for manage warning message and another to exit PcVue.

The value of these timeouts are defined in the C\param.dat file in the record WATCHDOGMAINWARNING and WATCHDOGMAIN.

Description of the record WATCHDOGMAINWARNING

It define the value of the timeout for the warning message.

Field number Description Value Default value if Value=0
1 header WATCHDOGMAINWARNING
2 Not used 0
3 Not used 0
4 Timer manager 0 60s (1mn)
5 Networking manager 0 60s (1mn)
6 Equipment manager 0 60s (1mn)
7 Variable manager 0 60s (1mn)
8 User Interface manager 0 60s (1mn)
9 Alarm list manager 0 60s (1mn)
10 Historical manager 0 60s (1mn)
11 OPC Server 0 60s (1mn)
12 Configuration server 0 60s (1mn)
13 Manager toolkit 1 0 60s (1mn)
14 Manager toolkit 2 0 60s (1mn)
15 Manager toolkit 3 0 60s (1mn)
16 Manager toolkit 4 0 60s (1mn)
17 Manager toolkit 5 0 60s (1mn)
18 Manager toolkit 6 0 60s (1mn)
19 Manager toolkit 7 0 60s (1mn)
20 Manager toolkit 8 0 60s (1mn)
21 Not used 0
22 Interop manager 0 60s (1mn)
23 104 server 0 60s (1mn)
24 RPC manager 0 60s (1mn)
25 Geolocalisation manager 0 60s (1mn)
26 Architect manager 0 600s
27 Not used 0 This field disappearon version 16

Description of the record WATCHDOGMAIN

It define the value of the timeout to exit PcVue.

Field number Description Value Default value if Value=0
1 header WATCHDOGMAIN
2 Not used 0
3 Not used 0
4 Timer manager 0 600s (10mn)
5 Networking manager 0 600s (10mn)
6 Equipment manager 0 3600 (1h)
7 Variable manager 0 600s (10mn)
8 User Interface manager 0 600s (10mn)
9 Alarm list manager 0 600s (10mn)
10 Historical manager 0 3600 (1h)
11 OPC Server 0 600s (10mn)
12 Configuration server 0 600s (10mn)
13 Manager toolkit 1 0 600s (10mn)
14 Manager toolkit 2 0 600s (10mn)
15 Manager toolkit 3 0 600s (10mn)
16 Manager toolkit 4 0 600s (10mn)
17 Manager toolkit 5 0 600s (10mn)
18 Manager toolkit 6 0 600s (10mn)
19 Manager toolkit 7 0 600s (10mn)
20 Manager toolkit 8 0 600s (10mn)
21 Not used 0
22 Interop manager 0 600s (10mn)
23 104 server 0 600s (10mn)
24 RPC manager 0 600s (10mn)
25 Geolocalisation manager 0 600s (10mn)
26 Architect manager 0 3600 (1h)
27 Not used 0 This field disappearon version 16

 

Duration for processing time of a message

The startup check the duration for processing time of all messages received by a manager and this for all managers.

There is two timeouts, one for manage warning message another to exit PcVue.

The value of these timeouts are defined in the C\param.dat file in the record WATCHDOGTHREADWARNING and WATCHDOGTHREAD.

Description of the record WATCHDOGTHREADWARNING

It define the value of the timeout for the warning message.

Field number Description Value Default value if Value=0
1 header WATCHDOGTHREDWARNING
2 Not used 0
3 Not used 0
4 Timer manager 0 90s (1mn30s)
5 Networking manager 0 90s (1mn30s)
6 Equipment manager 0 90s (1mn30s)
7 Variable manager 0 90s (1mn30s)
8 User Interface manager 0 90s (1mn30s)
9 Alarm list manager 0 90s (1mn30s)
10 Historical manager 0 90s (1mn30s)
11 OPC Server 0 90s (1mn30s)
12 Configuration server 0 90s (1mn30s)
13 Manager toolkit 1 0 90s (1mn30s)
14 Manager toolkit 2 0 90s (1mn30s)
15 Manager toolkit 3 0 90s (1mn30s)
16 Manager toolkit 4 0 90s (1mn30s)
17 Manager toolkit 5 0 90s (1mn30s)
18 Manager toolkit 6 0 90s (1mn30s)
19 Manager toolkit 7 0 90s (1mn30s)
20 Manager toolkit 8 0 90s (1mn30s)
21 Not used 0
22 Interop manager 0 90s (1mn30s)
23 104 server 0 90s (1mn30s)
24 RPC manager 0 90s (1mn30s)
25 Geolocalisation manager 0 90s (1mn30s)
26 Architect manager 0 600s (10mn)
27 Not used 0 This field disappearon version 16

Description of the record WATCHDOGTHREAD

It define the value of the timeout to exit PcVue.

Field number Description Value Default value if Value=0
1 header WATCHDOGTHREAD
2 Not used 0
3 Not used 0
4 Timer manager 0 900s (1mn30s)
5 Networking manager 0 900s (1mn30s)
6 Equipment manager 0 900s (1mn30s)
7 Variable manager 0 900s (1mn30s)
8 User Interface manager 0 900s (1mn30s)
9 Alarm list manager 0 900s (1mn30s)
10 Historical manager 0 900s (1mn30s)
11 OPC Server 0 900s (1mn30s)
12 Configuration server 0 900s (1mn30s)
13 Manager toolkit 1 0 900s (1mn30s)
14 Manager toolkit 2 0 900s (1mn30s)
15 Manager toolkit 3 0 900s (1mn30s)
16 Manager toolkit 4 0 900s (1mn30s)
17 Manager toolkit 5 0 900s (1mn30s)
18 Manager toolkit 6 0 900s (1mn30s)
19 Manager toolkit 7 0 900s (1mn30s)
20 Manager toolkit 8 0 900s (1mn30s)
21 Not used 0
22 Interop manager 0 900s (1mn30s)
23 104 server 0 900s (1mn30s)
24 RPC manager 0 900s (1mn30s)
25 Geolocalisation manager 0 900s (1mn30s)
26 Architect manager 0 3600 (1h)
27 Not used 0 This field disappearon version 16

 

Created on: 24 Oct 2014 Last update: 04 Sep 2024