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  2018  2019  <20202021  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  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to run IOC in docker containers properly
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Ralph Lange <ralph.lange at gmx.de>, EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 18 Jun 2020 13:42:51 -0700
On 6/18/20 9:18 AM, Ralph Lange via Tech-talk wrote:
> On Thu, 18 Jun 2020 at 17:37, Michael Davidsaver <mdavidsaver at gmail.com <mailto:mdavidsaver at gmail.com>> wrote:
> 
> 
>     Why not bake procServ into the IOC executable?  It could still fork() off the a child process for the actual IOC, but without an execvp().
>     (or at worst, to re-exec the same executable)
> 
>     Of course fork() from a multi-threaded process needs some care.
>     As well as attention to FD_CLOEXEC.
> 
> 
> As you know, the traditional Linux approach is to break up applications with large complex functionality into small independent units that each serve a narrow scope of purpose and can be combined on the command line.
> procServ is following that approach.

Quite true.  And imo this should continue to be an option.
I guess I'm just not such an orthodox UNIX head to see this
as a reason not to try a new idea.

> Looking at the list of command line options and features of procServ (that were all added on user request btw.) - do you want all this being part of the IOC?

Those that apply.  Sure.

> Your idea sounds a lot like the CA Gateway's quirky server mode - that IMHO should be deprecated in favor of running it under procServ, to put an end to running two hardly distinguishable processes for each Gateway instance.

Ok, it was only a passing thought.

Attachment: signature.asc
Description: OpenPGP digital signature


References:
How to run IOC in docker containers properly xiao zhang via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Konrad, Martin via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Michael Davidsaver via Tech-talk
Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk
Re: How to run IOC in docker containers properly Michael Davidsaver via Tech-talk
Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: How to run IOC in docker containers properly Jeong Han Lee via Tech-talk
Next: Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
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  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to run IOC in docker containers properly Eric Norum via Tech-talk
Next: Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
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  2018  2019  <20202021  2022  2023  2024 
ANJ, 19 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·