Kbase 22044: Thread Numbers in the NameServer Log File
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/05/2002 |
|
SUMMARY:
This Knowledge Base clarifies the meaning of thread numbers in the NS (NameServer) log file.
EXPLANATION:
Take for example the following NS log file:
Thread-0>(May 9, 2002 20:25:59:077) Registering Broker
2c571170edfbf9c6:723d7c:ecdf6102ff:-7f24 WS.live6 web2/192.168.1.4 3050.
(8205)
Thread-0>(May 9, 2002 20:25:59:087) Broker
2c571170edfbf9c6:723d7c:ecdf6102ff:-7f24 Registered For Application
Service WS.live6. (8207)
Thread-1>(May 16, 2002 10:12:33:776) Broker
2c571170edfbf9c6:723d7c:ecdf6102ff:-7f24 WS.live6
web2/192.168.1.4 3050 has timed out. Timeout = 30 Last Check =
Thu May 16 10:10:47 EDT 2002
Thread-1>(May 16, 2002 10:12:33:796) Unregistering Broker
2c571170edfbf9c6:723d7c:ecdf6102ff:-7f24 WS.live6
web2/192.168.1.4 3050. (8210)
For the above NS log file, although we see thread 0 and 1, it does NOT mean there were 2 brokers registered. The NameServer does not allocate a separate thread for each broker that is registered, so there is no correlation between the number of brokers registered and the thread numbers. The NameServer uses one thread to handle all the interactions with the brokers, such as registrations (thread-0 in this case) and a separate thread to detect timeout conditions (thread-1 in this case).
There are two total threads possible in the NameServer log file.