🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #4

Exceed file size limit, but no SIGXFSZ

#4
From: Scott Elam
Date: Wed, 28 Oct 1992 21:03
16 lines
1079 bytes
I have a program that does:

    setrlimit(RLIMIT_FSIZE, ....) /* hard limit 1000, soft 100 */
    signal(SIGXFSZ, sigtrap)
    /* then fork() and execlp() */

Even though the child process dies when it tries to write a small
file, the signal handler never gets called.

Is this a Dynix (v4.1.4) problem or my imagination?
-- 
"Reality is just                                   Scott Elam                  
your imagination."                                 scotte@atlastele.com        
                                                   2904 SE Washington          
       -me?                                        Portland, OR 97214         
Technical Details
Message-ID: <1992Oct28.210308.11189@atlastele.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!psinntp!psinntp!adcmail!scotte

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sequent
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!psinntp!psinntp!adcmail!scotte
From: scotte@atlastele.com (Scott Elam)
Subject: Exceed file size limit, but no SIGXFSZ
Message-ID: <1992Oct28.210308.11189@atlastele.com>
Summary: setrlimit on file size not sending SIGXFSZ
Keywords: setrlimit file size signal SIGXFSZ dynix v3.1.4
Organization: Dis-...
Date: Wed, 28 Oct 1992 21:03:08 GMT
Lines: 16