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  2020  2021  2022  2023  2024  2025  <2026 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  2025  <2026
<== Date ==> <== Thread ==>

Subject: CAS: Client accept error: Too many open files
From: "Hu, Yong via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 30 Jan 2026 16:39:43 +0000

Hi all,

I recently encountered an issue with a misbehaving Linux softIOC that caused Phoebus / CS-Studio to appear broken when opening certain OPIs.

Symptoms: The IOC was periodically logging the following error: CAS: Client accept error: Too many open files.

Whenever I opened an OPI containing PVs from that IOC, all CSS OPI screens turned pink, and all PVs appeared disconnected. However:

  • caget and camonitor returned correct PV values.

  • The CSS "Probe" tool also displayed PV values normally.

Troubleshooting: I traced the problematic IOC (xxx.x.xxx.xxx:38841) based on terminal output during the failure. The logs included the following error:

SEVERE [Thread 55] com.cosylab.epics.caj.CAJContext (getTransport) - Failed to create transport for: /xxx.x.xxx.xxx:38841

com.cosylab.epics.caj.impl.ConnectionException: Failed to connect to '/xxx.x.xxx.xxx:38841'.

    at com.cosylab.epics.caj.impl.CAConnector.connect(CAConnector.java:138)

    at com.cosylab.epics.caj.CAJContext.getTransport(CAJContext.java:1559)


Rebooting the IOC resolved the issue — at least temporarily.


Looking for Insight: A Google search didn’t yield much, so I asked ChatGPT, which suggested that a shared CA context might lead to a shared failure. That seems plausible, but I’d appreciate input from anyone familiar with Phoebus or CSS internals. Why would OPI screens appear completely broken while the "Probe" tool continues to retrieve PV values correctly?


Thanks in advance for your insights.

Yong 



Replies:
Re: CAS: Client accept error: Too many open files Ralph Lange via Tech-talk

Navigate by Date:
Prev: RE: EPICS codeathon at Diamond Mercado, Ronaldo (DLSLtd, RAL, TEC) via Tech-talk
Next: Stupid question of the day Graeme Winter 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  2025  <2026
Navigate by Thread:
Prev: RE: EPICS codeathon at Diamond Mercado, Ronaldo (DLSLtd, RAL, TEC) via Tech-talk
Next: Re: CAS: Client accept error: Too many open files Ralph Lange 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  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·