EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: procServ under systemd service
From: Hinko Kocevar <[email protected]>
To: Ralph Lange <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 8 Feb 2018 10:46:47 +0100
On Thu, Feb 8, 2018 at 9:58 AM, Ralph Lange <[email protected]> wrote:
> On Thu, Feb 8, 2018 at 9:55 AM, Hinko Kocevar <[email protected]> wrote:
>>
>> On Wed, Feb 7, 2018 at 4:11 PM, Michael Davidsaver
>> <[email protected]> wrote:
>> > While Hinko hasn't detailed what action he's trying to perform, I did
>>
>> I have to run ipcrm after ADAndor based IOC segfaults, otherwise the
>> communication to the camera fails with Andor SDK error.
>
>
> Why don't you run ipcrm as part of starting up the IOC?
> (After the segfault is before the segfault...)

That's what I had in mind; have a shell script that systemd picks up
inside the service.
Script first calls ipcrm, then exec()'s the procServ with client IOC.

The problem I'm having is that procServ does not exit after child
exits (child is restarted) hence there are not calls to the ipcrm..

Maybe I should feed the shell script to the procServ altogether
instead of trying to do some things in systemd service and only
respawn IOC inside the procServ.

/Hinko


>
> ~Ralph
>



-- 
.. the more I see the less I believe.., AE AoR

Replies:
Re: procServ under systemd service Ralph Lange
References:
procServ under systemd service Hinko Kocevar
RE: procServ under systemd service Mazanec Tomáš
Re: procServ under systemd service Hinko Kocevar
Re: procServ under systemd service Ralph Lange
Re: procServ under systemd service Hinko Kocevar
RE: procServ under systemd service michael.abbott
Re: procServ under systemd service Hinko Kocevar
RE: procServ under systemd service michael.abbott
Re: procServ under systemd service Michael Davidsaver
Re: procServ under systemd service Hinko Kocevar
Re: procServ under systemd service Ralph Lange

Navigate by Date:
Prev: Data format using NDFileHDF5 steve.kinder
Next: Re: procServ under systemd service Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: procServ under systemd service Ralph Lange
Next: Re: procServ under systemd service Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·