Purge vs reload vs restart thread vs restart process

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Purge vs reload vs restart thread vs restart process

  • Creator
    Topic
  • #54452
    Mike Strout
    Participant

      We have been having trouble in our environment lately when we try to enable changes to various interface components. I have been taught to do the following…

      Table change – purge cache for all processes that use the table

      tclproc change – reload proc at process level

      xlate change – purge cache for process that use xlate

      HL7 variant – purge cache for processes that use variant

      Alert – simply save alert

      On occassion, we have been having changes to tclprocs not always being activated after a reload. Are there some oddities that sometimes keep changes from being picked up, even sometimes when I restart the entire process?

      I would like to hear what other organizations do for each of the changes above.

      Thanks,

    Viewing 0 reply threads
    • Author
      Replies
      • #81538
        James Cobane
        Participant

          Mike,

          Normally, what you have listed will invoke the change.  Stopping and starting a process will, without a doubt, invoke the change.  The only time I have seen issues with tcl changes not being invoked with a bounce of the process is when someone creates a backup of the existing proc file in the tclprocs directory, and doesn’t rename it to end with something other than .tcl.  i.e. they copy the original proc file (my_proc.tcl) to my_proc.backup.tcl, then modify my_proc.tcl and bounce the process.  The problem is that the tclIndex file will contain two references to my_proc; one in the my_proc.backup.tcl and one in the my_proc.tcl.  When the process loads the proc, it may load it from the backup instead of the file you thought it was loading.

          Jim Cobane

          Henry Ford Health

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.