Previous Topic
Next Topic
Book Contents
Book Index

Queue Handler (dbn_qh.pl)


The queue handler (dbn_qh.pl) is responsible for processing the DBNet queue. The DBNet queue entries are processed in first in first out (FIFO) order. The queue handler scans the DBNet queue every 2 seconds and processes as many entries as possible each time. The number of entries that can be processed simultaneously is defined by the configuration parameter $qh_max_processes in $HOME/table/dbn_config. The default value of 32 should be sufficient for most systems. There are currently five different entry types that can be in the queue:
  1. CLNT commands are the entries that send data to another DBNet.
  2. FTPGET commands get data from other DBNet systems.
  3. EXEC commands run a user defined program.
  4. FILE commands append the data to a file.
  5. GROUP commands are logical groupings of the other four commands.
Each command has an expiration time, the command will be repeated until it completes successfullly or the expiration time is reached A command is considered successful when it completes and returns an exit value of 0.
In This Section
See Also