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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Linux scan thread suspended |
From: | Pilar Gil Jaldo <[email protected]> |
To: | Mark Rivers <[email protected]>, "[email protected]" <[email protected]> |
Date: | Wed, 5 Sep 2018 16:22:05 +0200 |
Hello Mark, Thank you for your reply. I'm going to give a little bit more information about the system. It is a 64 bit machine running EPICS 3.13.7 with.. total used free shared
buffers cached I was speculating with a network problem because I have the same
system with the same configuration running outside the network and
I have never seen this error before. This error is just happing
since the other devices are requesting messages to the CA Network
without getting an answer from the offline devices. The possibility of a non zero terminated string would be also
strange because in the other running system everything is working
fine. Thank you very much in advance! Pilar On 05/09/18 16:02, Mark Rivers wrote:
Hi Pilar, I think your case is different from the tech-talk thread. In the tech-talk thread they said there was no IOC error mesage, but in your case you have a very clear IOC error message:epicsStrDup: mallocMustSucceed(1) - malloc failed Thread scan2 (0x9c2b038) suspending.This says to me that your IOC has run out of memory. I suspect there is a memory leak somewhere. Is this a 32 or 64 bit machine, and how much memory does it have? You could restart the IOC and use "top" to look at the memory usage with time. What version of EPICS are you using, and what devices does this IOC control? Mark -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Pilar Gil Jaldo Sent: Wednesday, September 5, 2018 8:36 AM To: [email protected] Subject: Linux scan thread suspended Hello everybody, I have a question regarding the reasons why a scan thread can be suspended. I have a running IOC and at a certain moment the IOC breaks with following message: epicsStrDup: mallocMustSucceed(1) - malloc failed Thread scan2 (0x9c2b038) suspending. I have found in the tech-talk messages following reason which seems to be the same problem that mine. https://epics.anl.gov/tech-talk/2013/msg00154.php The IOC is on a network where many devices are sending packages to the CA network, but nobody is answering because other devices are switched off (the traffic in the CA is very high). Is it possible that the segmentation fault is caused by a network congestion? Can the scan thread be suspended by a higher network traffic? Thank you very much in advance for your answers. Pilar Gil Jaldo --
Pilar Gil Jaldo
Embedded SW Engineer
This e-mail and any materials
attached hereto, including, without
limitation, all content hereof and thereof
are confidential and proprietary to Seven
Solutions,S.L and/or its affiliates, and
are *confidential*. Without the prior written consent
of Seven Solutions, this content may not (i)
be disclosed to any third party, (ii) be
reproduced, modified or otherwise used by
anyone other than current employees of Seven
Solutions or its affiliates. If you are not
the intended recipient or if this message
has been received in error, please
immediately notify us via e-mail and delete
it.
|