Skip to content

EPICS_PVA_NAME_SERVERS: handling reconnection #95

@swelborn

Description

@swelborn

I am having an intermittent issue with reconnection.

Here is my order of operations:

  1. Start consumer process:
EPICS_PVA_SERVER_PORT=11111 pvapy-hpc-consumer     --input-channel pvapy:image     --output-channel pvapy:image1     --processor-file /path/to/hpcDataProcessorExample.py     --processor-class HpcDataProcessor     --report-period 10     --log-level debug
  1. Start pvapy-mirror-server
EPICS_PVA_NAME_SERVERS=<IP of Consumer>:11111 EPICS_PVA_AUTO_ADDR_LIST='OFF' pvapy-mirror-server --channel-map "(pvapy:image2,pvapy:image1,pva,100)" --report-period 5
  1. Start sim server
pvapy-ad-sim-server -cn pvapy:image -nx 2560 -ny 2160 -dt uint16 --disable-curses -rt 13000 -fps 50

This works just fine. I am getting updates as reported by mirror server.

Now I shut down the consumer process and bring it back up with same command. Now I am getting no new updates to the mirror server. Thinking this is an issue with reconnection, I shut down mirror server and bring it back up. No updates (0 received).

Only way I can solve this is by shutting down both consumer AND mirror server, then starting them again.

BTW sim server and consumer are on the same machine, mirror server is on a different machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions