Experimental Physics and Industrial Control System
|
Upvote from me. I would be very disappointed to see EPICS begin (or continue?) a slow slide towards becoming its own version of ’systemd’. The old-time UNIX philosophy of “do one thing simply and do it well” has held up well.
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.
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? 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.
Cheers, ~Ralph
|
- 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: EPICS across subnets Randall Cayford via Tech-talk
- Next:
EPICS R3.15.8 and asubRecord issue. Mike Westfall 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
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk
- Next:
Re: How to run IOC in docker containers properly Michael Davidsaver 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
<2020>
2021
2022
2023
2024
|
ANJ, 18 Jun 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|