• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Issues with Valence jobs still being active after ending the tcp server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issues with Valence jobs still being active after ending the tcp server

    We run a nightly backup of our system and before we start it, we end the tcp server for all of our valence instances, and then bring them back online once the backup is over. We have been running into an issue overnight where an operator will try to run a transaction after the system comes back up, but the transaction fails because a data area used in the transaction still has a lock held from one of the Valence jobs by user QTMHHTTP.

    I noticed today that when i issue the ENDTCPSVR command, it immediately kills all of the jobs for valence aside from 4 jobs: all of them are for QTMHHTTP/VAL6LIVE and the functions they are running are 3 instances of VVFUSIONP and one of VVFUSIOND So i can only assume it would be one of these which could be holding the lock. Below is an example i recreated using our development environment.

    image.png

    Is there a way to guarantee that these get shutdown during our nightly process? right now I'm just doing a ENDTCPSVR SERVER(*HTTP) HTTPSVR(VAL6DEV) command for each of our instances and putting in a delay between each to make sure everything is finished before the next command.​

  • #2
    Hi Shawn,
    Best to use the VVSTOP command (with the appropriate Valence instance library at the top of your library list), as that signals the Fusion jobs servicing that instance to terminate, in addition to the Apache jobs. You can then likewise use VVSTART to start everything back up.
    Last edited by robert.swanson; 05-12-2025, 10:46 AM. Reason: typo

    Comment


    • #3
      Perfect, thank you!

      Comment

      Working...
      X