Hello all,
Hello,
I am running into a puzzling problem with a softIOC on Linux. The IOC
is running on fairly standard x86 PC hardware under a custom Linux
distribution (buildroot/busybox/uclibc/base-3.14.11). The IOC is
normally started with /usr/bin/nohup, so that one can ssh to the unit,
restart the IOC and disconnect. This worked very well until I've
transitioned from older linuxthreads to NPTL. Now the IOC dies when it
gets SIGHUP, even when started under nohup.
A bit of digging showed that the IOC installs a handler and unblocks
SIGHUP when it calls epicsSignalInstallSigHupIgnore() during iocInit.
It seems to me it might be better to check first if SIGHUP is ignored
and only modify settings if it isn't.
--
Dmitry Teytelman
- Replies:
- Re: softIOC and SIGHUP Ralph Lange
- Navigate by Date:
- Prev:
Reservations at the Cronwe Plaza Long Island Dalesio, Leo
- Next:
RE: o.c.swt.widgets: Improve intensity graph drawing performance by using pixel lookup table. Szalata, Zenon M.
- 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:
Reservations at the Cronwe Plaza Long Island Dalesio, Leo
- Next:
Re: softIOC and SIGHUP 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
2018
2019
2020
2021
2022
2023
2024
|