[Zodb-checkins] CVS: StandaloneZODB/ZEO - start.py:1.32

Jeremy Hylton jeremy@zope.com
Tue, 23 Apr 2002 17:24:46 -0400


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv15486

Modified Files:
	start.py 
Log Message:
Ignore SIGXFSZ so that we get exceptions instead of core dumps when
the file limit is exceeded.


=== StandaloneZODB/ZEO/start.py 1.31 => 1.32 ===
             import signal
 
+            try:
+                signal.signal(signal.SIFXFSZ, signal.SIG_IGN)
+            except AttributeError:
+                pass
             signal.signal(signal.SIGTERM,
                           lambda sig, frame, s=storages: shutdown(s))
             signal.signal(signal.SIGINT,