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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: procServ+devIocStats questions
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Tue, 24 Mar 2015 21:55:20 -0400
On 03/24/2015 08:30 PM, Alireza Panna wrote:
> Hello tech-talkers,
> 
> Currently I am using procServ and devIocStats to successfully
> restart/reboot linux and windows based iocs. I did have a couple of
> questions though
> 1. What is the limit on the log file that procServ generates

2GB on 32-bit Linux.  On a 64-bit system it will probably fill up your
disk before it hits any API limit.

Of course OS and system policies may limit this further (cf. "ulimit -f").

> and does
> the ioc stop running through procServ if this limit gets exceeded?

It keeps running (determined experimentally).

> 2. On windows when I run an epics based ioc using procServ, a blank
> terminal opens up seperately for procServ.exe. Is there a way to not
> display this. I am sure there is a way and I haven't searched hard enough!

Probably not without code changes, although someone with more MS
experience should confirm.

> 3. For pcaspy based iocs, it is fairly easy to exit the ioc by just
> adding another PV to exit the python server, however I haven't found an
> elegant way to restart the IOC  automatically similar to what procServ
> does. Any suggestions?

Run your python app in procServ?  It works for any process and is a
handy way to daemon-ize programs which weren't designed with this in mind.

Replies:
Re: procServ+devIocStats questions Kasemir, Kay
References:
procServ+devIocStats questions Alireza Panna

Navigate by Date:
Prev: procServ+devIocStats questions Alireza Panna
Next: Re: pyepics not updating pv.enum_strs after connection Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: procServ+devIocStats questions Alireza Panna
Next: Re: procServ+devIocStats questions Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·