> Request are made to scanOnce by putting a request into a ring buffer.
> thus when scanOnce crashes the ring buffer ultimately fills up. This is
> what you are seeing.
Unwillingly.
> Note that NO epics tasks are automatically restarted when they crash.
> Sounds nice but can cause more problems than it solves.
The periodic scan tasks ARE automatically restarted. (See line 539 +-20 of
dbScan.c) Looks safe to me in that case. Generally I would agree with you.
> > We inserted a patch in scanOnce to check the precord argument for
> [...]
>
> So what did you find?
Due to oh-so-important measuring tasks we are not able to run further tests
on this IOC right now. During the measurements the IOC load is next to zero
- almost no devices are touched and the fault doesn't show up. Seems we'll
have to wait until the physicists are asleep.
> If you get a stack trace of crashed scanOnce task it should help.
We're trying to catch the task that is calling scanOnce() to see where the
crap comes from. I think the onceTask itself doesn't do too much
interesting things - it just reads from the ring buffer and calls
dbScanLock without checking the validity of the precord it got from the
buffer - then dies.
At least it's good to know that you're all out there ... ;-)
Ralph
--
__ Ralph Lange Email: [email protected]
/\ \ WWW: http://www.bessy.de/~lange
/ \ \ BESSY II
/ /\ \ \ Berliner Elektronenspeicherring- Snail: BESSY II
/ / /\ \ \ Gesellschaft fuer Synchrotron- Rudower Chaussee 5
/ / /__\_\ \ strahlung m.b.H. D-12489 Berlin, Germany
/ / /________\ Phone: +49 30 6392-4862
\/___________/ Control System Group Fax: ... -4859
- Replies:
- Re: IOC hangs (scanOnce crashes) Marty Kraimer
- Re: IOC hangs (scanOnce crashes) Chip Watson
- References:
- Re: IOC hangs (scanOnce crashes) Marty Kraimer
- Navigate by Date:
- Prev:
Re: IOC hangs (scanOnce crashes) Marty Kraimer
- Next:
Re: copying of monitored data Jeff Hill
- 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: IOC hangs (scanOnce crashes) Marty Kraimer
- Next:
Re: IOC hangs (scanOnce crashes) Marty Kraimer
- 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
|