Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›automation #44871

Acl/Python Issue

This evening, after a restart of the LSC_Acl process, the next lock acquisitions failed causing the LSC_Acl process to crash. This has often happened in the past (see for example #43109), but this usually happened after modifying the number of inputs of some ACL_SUM_CH or ACL_MATRIX_CH, while today I only added a filter. This enforces the suspicion that this is only due to the way the communication between Acl processes and their pythonic AclServer objects is done, as the Automation and personal IPython shells do not recognize the new underlying Acl process and try to communicate with the old one instead. Doing a simple LOAD on the Automation nodes can either work or not, and I do not understand why; what happens after a restart of an Acl process:

  • trying to communicate with it in a IPython shell never works, and it results in the output inside Attachment #1; the only cure is to delete the Python object and re-create it:
    • del LSC; LSC = AclServer('LSC_Acl');
  • doing the same with Metatron (which basically works in the same way from the Python point of view) can either work or not: doing a LOAD on a node makes it to reload the Acl process, as in LSC =AclServer('LSC_Acl'), but without deleting the old instance (it would make impossible to start the node process from scratch); sometimes (and for some random nodes) this works, sometimes it doesn't, and a few number of iterations are needed before all nodes are happy again.

What is puzzling me the most is the difference between the two cases, which should not be different at all; the only difference I can spot is that the Metatron nodes do not ask explicitly for a cm name upon initialization, as the IPython shells are needed to do instead.

Attachment #2 is the last part of the log of LSC_Acl in one case of crash, maybe it can be of help; I will investigate on the issue, but mostly on the Python side, as I am not knowledged enough on the Acl/cm side.

1 comment

bersanetti · 15 Feb 2019 · 02:45 #44875

This is the correct link to the entry: #43109.