|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: g
Length: 5118 (0x13fe)
Names: »getrlimit.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/getrlimit.2«
└─⟦this⟧ »./usr/man/cat2/getrlimit.2«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c ┆ u_ a_ l System Call┆
0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 72 6c 69 6d 69 74 28 32 29 0a 0a 0a 0a ┆s getrlimit(2) ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x0080…00a0 20 20 67 65 74 72 6c 69 6d 69 74 20 2d 20 72 65 74 75 72 6e 73 20 73 79 73 74 65 6d 20 72 65 73 ┆ getrlimit - returns system res┆
0x00a0…00c0 6f 75 72 63 65 20 6c 69 6d 69 74 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 ┆ource limits S S S SY Y Y YN N ┆
0x00c0…00e0 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 ┆N NT T T TA A A AX X X X # ┆
0x00e0…0100 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 ┆# # #i i i in n n nc c c cl l l ┆
0x0100…0120 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 ┆lu u u ud d d de e e e < < < <s ┆
0x0120…0140 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 ┆s s sy y y ys s s s/ / / /t t t ┆
0x0140…0160 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2e 08 2e 08 2e 08 2e 68 08 68 ┆ti i i im m m me e e e. . . .h h┆
0x0160…0180 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e ┆ h h> > > > # # # #i i i in┆
0x0180…01a0 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 ┆ n n nc c c cl l l lu u u ud d d┆
0x01a0…01c0 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 ┆ de e e e < < < <s s s sy y y ys┆
0x01c0…01e0 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 72 08 72 08 72 08 72 65 08 65 08 65 08 65 73 08 73 08 73 ┆ s s s/ / / /r r r re e e es s s┆
0x01e0…0200 08 73 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 72 08 72 08 72 08 72 63 08 63 08 63 08 63 65 08 ┆ so o o ou u u ur r r rc c c ce ┆
0x0200…0220 65 08 65 08 65 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 ┆e e e. . . .h h h h> > > > ┆
0x0220…0240 20 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 72 08 72 08 72 08 72 6c 08 6c ┆ g g g ge e e et t t tr r r rl l┆
0x0240…0260 08 6c 08 6c 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 74 08 74 08 74 08 74 ┆ l li i i im m m mi i i it t t t┆
0x0260…0280 28 08 28 08 28 08 28 72 08 72 08 72 08 72 65 08 65 08 65 08 65 73 08 73 08 73 08 73 6f 08 6f 08 ┆( ( ( (r r r re e e es s s so o ┆
0x0280…02a0 6f 08 6f 75 08 75 08 75 08 75 72 08 72 08 72 08 72 63 08 63 08 63 08 63 65 08 65 08 65 08 65 2c ┆o ou u u ur r r rc c c ce e e e,┆
0x02a0…02c0 08 2c 08 2c 08 2c 20 72 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 70 08 70 08 70 08 70 29 08 29 08 ┆ , , , r r r rl l l lp p p p) ) ┆
0x02c0…02e0 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 72 ┆) ) i i i in n n nt t t t r┆
0x02e0…0300 08 72 08 72 08 72 65 08 65 08 65 08 65 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 75 08 75 08 75 ┆ r r re e e es s s so o o ou u u┆
0x0300…0320 08 75 72 08 72 08 72 08 72 63 08 63 08 63 08 63 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 ┆ ur r r rc c c ce e e e; ; ; ; ┆
0x0320…0340 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75 ┆ s s s st t t tr r r ru u u u┆
0x0340…0360 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 72 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 69 08 69 ┆c c c ct t t t r r r rl l l li i┆
0x0360…0380 08 69 08 69 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 ┆ i im m m mi i i it t t t * * * ┆
0x0380…03a0 2a 72 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 70 08 70 08 70 08 70 3b 08 3b 08 3b 08 3b 0a 0a 44 ┆*r r r rl l l lp p p p; ; ; ; D┆
0x03a0…03c0 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 ┆ D D DE E E ES S S SC C C CR R R┆
0x03c0…03e0 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 ┆ RI I I IP P P PT T T TI I I IO ┆
0x03e0…0400 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 4f 62 74 61 69 6e 73 20 74 68 65 20 6c 69 ┆O O ON N N N Obtains the li┆
0x0400…0420 6d 69 74 73 20 6f 6e 20 74 68 65 20 75 73 65 20 6f 66 20 73 79 73 74 65 6d 20 72 65 73 6f 75 72 ┆mits on the use of system resour┆
0x0420…0440 63 65 73 20 62 79 20 74 68 65 0a 20 20 20 20 20 70 72 6f 63 65 73 73 20 61 6e 64 20 65 61 63 68 ┆ces by the process and each┆
0x0440…0460 20 70 72 6f 63 65 73 73 20 69 74 20 63 72 65 61 74 65 73 2e 20 20 4c 69 6d 69 74 73 20 63 61 6e ┆ process it creates. Limits can┆
0x0460…0480 20 62 65 20 73 65 74 0a 20 20 20 20 20 6d 61 6e 75 61 6c 6c 79 20 62 79 20 75 73 69 6e 67 20 74 ┆ be set manually by using t┆
0x0480…04a0 68 65 20 5f 08 6c 5f 08 69 5f 08 6d 5f 08 69 5f 08 74 20 62 75 69 6c 74 2d 69 6e 20 5f 08 63 5f ┆he _ l_ i_ m_ i_ t built-in _ c_┆
0x04a0…04c0 08 73 5f 08 68 20 63 6f 6d 6d 61 6e 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 72 5f 08 65 5f ┆ s_ h command. The _ r_ e_┆
0x04c0…04e0 08 73 5f 08 6f 5f 08 75 5f 08 72 5f 08 63 5f 08 65 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 6f ┆ s_ o_ u_ r_ c_ e parameter is o┆
0x04e0…0500 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 0a 20 20 20 20 20 52 4c 49 4d 49 ┆ne of the following: RLIMI┆
0x0500…0520 54 5f 43 50 55 20 20 20 20 20 20 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 61 6d 6f 75 6e 74 20 6f ┆T_CPU the maximum amount o┆
0x0520…0540 66 20 63 70 75 20 74 69 6d 65 20 28 69 6e 20 6d 69 6c 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆f cpu time (in mil- ┆
0x0540…0560 20 20 20 20 20 20 20 20 20 20 6c 69 73 65 63 6f 6e 64 73 29 20 74 6f 20 62 65 20 75 73 65 64 20 ┆ liseconds) to be used ┆
0x0560…0580 62 79 20 65 61 63 68 20 70 72 6f 63 65 73 73 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 ┆by each process. The ┆
0x0580…05a0 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 69 73 20 61 62 6f 72 74 65 64 20 77 ┆ process is aborted w┆
0x05a0…05c0 68 65 6e 20 74 68 69 73 20 6c 69 6d 69 74 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆hen this limit is ┆
0x05c0…05e0 20 20 20 20 20 20 20 20 65 78 63 65 65 64 65 64 2e 0a 0a 20 20 20 20 20 52 4c 49 4d 49 54 5f 46 ┆ exceeded. RLIMIT_F┆
0x05e0…0600 53 49 5a 45 20 20 20 20 20 74 68 65 20 6c 61 72 67 65 73 74 20 73 69 7a 65 2c 20 69 6e 20 62 79 ┆SIZE the largest size, in by┆
0x0600…0620 74 65 73 2c 20 6f 66 20 61 6e 79 20 73 69 6e 67 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆tes, of any single ┆
0x0620…0640 20 20 20 20 20 20 20 20 20 66 69 6c 65 20 77 68 69 63 68 20 6d 61 79 20 62 65 20 63 72 65 61 74 ┆ file which may be creat┆
0x0640…0660 65 64 2e 20 20 54 68 65 20 70 72 6f 63 65 73 73 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ed. The process is ┆
0x0660…0680 20 20 20 20 20 20 20 20 20 20 61 62 6f 72 74 65 64 20 77 68 65 6e 20 74 68 69 73 20 6c 69 6d 69 ┆ aborted when this limi┆
0x0680…06a0 74 20 69 73 20 65 78 63 65 65 64 65 64 2e 20 20 48 6f 77 2d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆t is exceeded. How- ┆
0x06a0…06c0 20 20 20 20 20 20 20 20 20 20 20 65 76 65 72 2c 20 74 68 65 20 73 79 73 74 65 6d 20 73 65 6e 64 ┆ ever, the system send┆
0x06c0…06e0 73 20 61 20 53 49 47 58 46 53 5a 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆s a SIGXFSZ signal ┆
0x06e0…0700 20 20 20 20 20 20 20 20 20 62 65 66 6f 72 65 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 74 ┆ before the process is t┆
0x0700…0720 65 72 6d 69 6e 61 74 65 64 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆erminated. The ┆
0x0720…0740 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 20 6d 61 79 20 62 65 20 63 6f 72 72 65 63 74 65 64 20 61 ┆ problem may be corrected a┆
0x0740…0760 74 20 74 68 61 74 20 74 69 6d 65 2e 0a 0a 20 20 20 20 20 52 4c 49 4d 49 54 5f 44 41 54 41 20 20 ┆t that time. RLIMIT_DATA ┆
0x0760…0780 20 20 20 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 73 69 7a 65 2c 20 69 6e 20 62 79 74 65 73 2c 20 ┆ the maximum size, in bytes, ┆
0x0780…07a0 6f 66 20 74 68 65 20 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆of the data ┆
0x07a0…07c0 20 20 73 65 67 6d 65 6e 74 20 66 6f 72 20 61 20 70 72 6f 63 65 73 73 2e 20 20 54 68 69 73 20 64 ┆ segment for a process. This d┆
0x07c0…07e0 65 66 69 6e 65 73 20 68 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆efines how ┆
0x07e0…0800 20 66 61 72 20 61 20 70 72 6f 67 72 61 6d 20 6d 61 79 20 65 78 74 65 6e 64 20 69 74 73 20 62 72 ┆ far a program may extend its br┆
0x0800…0820 65 61 6b 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆eak with the ┆
0x0820…0840 20 20 20 5f 08 62 5f 08 72 5f 08 6b 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 20 20 54 68 65 20 73 ┆ _ b_ r_ k system call. The s┆
0x0840…0860 79 73 74 65 6d 20 64 6f 65 73 20 6e 6f 74 20 70 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ystem does not per- ┆
0x0860…0880 20 20 20 20 20 20 20 20 20 20 6d 69 74 20 74 68 69 73 20 6c 69 6d 69 74 20 74 6f 20 62 65 20 65 ┆ mit this limit to be e┆
0x0880…08a0 78 63 65 65 64 65 64 2e 0a 0a 20 20 20 20 20 52 4c 49 4d 49 54 5f 53 54 41 43 4b 20 20 20 20 20 ┆xceeded. RLIMIT_STACK ┆
0x08a0…08c0 74 68 65 20 6d 61 78 69 6d 75 6d 20 73 69 7a 65 2c 20 69 6e 20 62 79 74 65 73 2c 20 6f 66 20 74 ┆the maximum size, in bytes, of t┆
0x08c0…08e0 68 65 20 73 74 61 63 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 ┆he stack s┆
0x08e0…0900 65 67 6d 65 6e 74 20 66 6f 72 20 61 20 70 72 6f 63 65 73 73 2e 20 20 54 68 69 73 20 64 65 66 69 ┆egment for a process. This defi┆
0x0900…0920 6e 65 73 20 68 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 ┆nes how fa┆
0x0920…0940 72 20 61 20 70 72 6f 67 72 61 6d 27 73 20 73 74 61 63 6b 20 73 65 67 6d 65 6e 74 20 6d 61 79 20 ┆r a program's stack segment may ┆
0x0940…0960 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 64 65 ┆be extende┆
0x0960…0980 64 2c 20 65 69 74 68 65 72 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 62 79 20 74 68 65 20 73 ┆d, either automatically by the s┆
0x0980…09a0 79 73 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 6d 2c 20 6f ┆ys- tem, o┆
0x09a0…09c0 72 20 65 78 70 6c 69 63 69 74 6c 79 20 62 79 20 61 20 75 73 65 72 20 77 69 74 68 20 74 68 65 20 ┆r explicitly by a user with the ┆
0x09c0…09e0 5f 08 73 5f 08 62 5f 08 72 5f 08 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆_ s_ b_ r_ k ┆
0x09e0…0a00 20 20 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 20 20 54 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 ┆ system call. The process is ┆
0x0a00…0a20 61 62 6f 72 74 65 64 20 77 68 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆aborted when ┆
0x0a20…0a40 20 20 20 74 68 69 73 20 6c 69 6d 69 74 20 69 73 20 65 78 63 65 65 64 65 64 2e 0a 0a 20 20 20 20 ┆ this limit is exceeded. ┆
0x0a40…0a60 20 52 4c 49 4d 49 54 5f 43 4f 52 45 20 20 20 20 20 20 74 68 65 20 6c 61 72 67 65 73 74 20 73 69 ┆ RLIMIT_CORE the largest si┆
0x0a60…0a80 7a 65 2c 20 69 6e 20 62 79 74 65 73 2c 20 6f 66 20 61 20 5f 08 63 5f 08 6f 5f 08 72 5f 08 65 20 ┆ze, in bytes, of a _ c_ o_ r_ e ┆
0x0a80…0aa0 66 69 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 63 68 ┆file which┆
0x0aa0…0ac0 20 6d 61 79 20 62 65 20 63 72 65 61 74 65 64 2e 20 20 54 68 65 20 73 79 73 74 65 6d 20 64 6f 65 ┆ may be created. The system doe┆
0x0ac0…0ae0 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 6d ┆s not perm┆
0x0ae0…0b00 69 74 20 74 68 69 73 20 6c 69 6d 69 74 20 74 6f 20 62 65 20 65 78 63 65 65 64 65 64 2e 0a 0a 20 ┆it this limit to be exceeded. ┆
0x0b00…0b20 20 20 20 20 52 4c 49 4d 49 54 5f 52 53 53 20 20 20 20 20 20 20 74 68 65 20 6d 61 78 69 6d 75 6d ┆ RLIMIT_RSS the maximum┆
0x0b20…0b40 20 73 69 7a 65 2c 20 69 6e 20 62 79 74 65 73 2c 20 66 6f 72 20 61 20 70 72 6f 63 65 73 73 27 73 ┆ size, in bytes, for a process's┆
0x0b40…0b60 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 69 64 65 6e 74 20 ┆ resident ┆
0x0b60…0b80 73 65 74 2d 73 69 7a 65 2e 20 20 54 68 69 73 20 69 6d 70 6f 73 65 73 20 61 20 6c 69 6d 69 74 20 ┆set-size. This imposes a limit ┆
0x0b80…0ba0 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 61 6d 6f ┆on the amo┆
0x0ba0…0bc0 75 6e 74 20 6f 66 20 70 68 79 73 69 63 61 6c 20 6d 65 6d 6f 72 79 20 74 6f 20 62 65 20 67 69 76 ┆unt of physical memory to be giv┆
0x0bc0…0be0 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 20 61 20 70 72 ┆en to a pr┆
0x0be0…0c00 6f 63 65 73 73 2e 20 20 49 66 20 6e 6f 74 20 6d 75 63 68 20 6d 65 6d 6f 72 79 20 69 73 20 61 76 ┆ocess. If not much memory is av┆
0x0c00…0c20 61 69 6c 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 62 6c 65 2c ┆ail- able,┆
0x0c20…0c40 20 74 68 65 20 73 79 73 74 65 6d 20 74 61 6b 65 73 20 6d 65 6d 6f 72 79 20 66 72 6f 6d 0a 20 20 ┆ the system takes memory from ┆
0x0c40…0c60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 65 73 20 74 68 ┆ processes th┆
0x0c60…0c80 61 74 20 65 78 63 65 65 64 20 74 68 65 20 72 65 73 69 64 65 6e 74 20 73 65 74 2d 0a 20 20 20 20 ┆at exceed the resident set- ┆
0x0c80…0ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 7a 65 2e 20 20 54 68 65 20 73 79 73 ┆ size. The sys┆
0x0ca0…0cc0 74 65 6d 20 64 6f 65 73 20 6e 6f 74 20 70 65 72 6d 69 74 20 74 68 69 73 0a 20 20 20 20 20 20 20 ┆tem does not permit this ┆
0x0cc0…0ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6d 69 74 20 74 6f 20 62 65 20 65 78 63 65 65 ┆ limit to be excee┆
0x0ce0…0d00 64 65 64 2e 0a 0a 20 20 20 20 20 52 4c 49 4d 49 54 5f 41 42 4f 52 54 53 20 20 20 20 74 68 65 20 ┆ded. RLIMIT_ABORTS the ┆
0x0d00…0d20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 74 69 6d 65 73 20 61 6e 20 69 6d 61 67 65 ┆maximum number of times an image┆
0x0d20…0d40 64 20 70 72 6f 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 65 73 ┆d pro- ces┆
0x0d40…0d60 73 20 63 61 6e 20 62 65 20 72 65 73 74 61 72 74 65 64 20 64 75 65 20 74 6f 20 74 72 61 6e 73 61 ┆s can be restarted due to transa┆
0x0d60…0d80 63 74 69 6f 6e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ction ┆
0x0d80…0da0 20 20 61 62 6f 72 74 73 2e 20 20 49 66 20 74 68 69 73 20 6c 69 6d 69 74 20 69 73 20 65 78 63 65 ┆ aborts. If this limit is exce┆
0x0da0…0dc0 65 64 65 64 2c 20 65 76 65 6e 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆eded, even a ┆
0x0dc0…0de0 20 20 20 63 6f 6e 74 69 6e 75 6f 75 73 2d 6d 6f 64 65 20 20 70 72 6f 63 65 73 73 20 69 73 20 61 ┆ continuous-mode process is a┆
0x0de0…0e00 62 6f 72 74 65 64 2e 0a 0a 20 20 20 20 20 48 08 48 08 48 08 48 61 08 61 08 61 08 61 72 08 72 08 ┆borted. H H H Ha a a ar r ┆
0x0e00…0e20 72 08 72 64 08 64 08 64 08 64 20 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 ┆r rd d d d a a a an n n nd d d d┆
0x0e20…0e40 20 53 08 53 08 53 08 53 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 74 08 74 08 74 08 74 20 4c 08 ┆ S S S So o o of f f ft t t t L ┆
0x0e40…0e60 4c 08 4c 08 4c 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 74 08 74 08 74 08 ┆L L Li i i im m m mi i i it t t ┆
0x0e60…0e80 74 73 08 73 08 73 08 73 0a 20 20 20 20 20 41 20 72 65 73 6f 75 72 63 65 20 6c 69 6d 69 74 20 69 ┆ts s s s A resource limit i┆
0x0e80…0ea0 73 20 73 70 65 63 69 66 69 65 64 20 61 73 20 62 6f 74 68 20 61 20 73 6f 66 74 20 6c 69 6d 69 74 ┆s specified as both a soft limit┆
0x0ea0…0ec0 20 61 6e 64 20 61 0a 20 20 20 20 20 68 61 72 64 20 6c 69 6d 69 74 2e 0a 20 20 20 20 20 4f 6e 6c ┆ and a hard limit. Onl┆
0x0ec0…0ee0 79 20 74 68 65 20 60 60 73 6f 66 74 20 6c 69 6d 69 74 27 27 20 66 6f 72 20 74 68 65 20 52 4c 49 ┆y the ``soft limit'' for the RLI┆
0x0ee0…0f00 4d 49 54 5f 43 50 55 20 63 61 6e 20 62 65 20 65 78 63 65 65 64 65 64 2e 0a 20 20 20 20 20 54 68 ┆MIT_CPU can be exceeded. Th┆
0x0f00…0f20 65 20 73 79 73 74 65 6d 20 73 65 6e 64 73 20 61 20 53 49 47 58 43 50 55 20 73 69 67 6e 61 6c 20 ┆e system sends a SIGXCPU signal ┆
0x0f20…0f40 74 6f 20 74 68 65 20 70 72 6f 63 65 73 73 2c 20 77 69 74 68 20 6e 6f 0a 20 20 20 20 20 66 75 72 ┆to the process, with no fur┆
0x0f40…0f60 74 68 65 72 20 61 63 74 69 6f 6e 2e 0a 20 20 20 20 20 57 68 65 6e 20 74 68 65 20 60 60 68 61 72 ┆ther action. When the ``har┆
0x0f60…0f80 64 20 6c 69 6d 69 74 27 27 20 66 6f 72 20 61 20 72 65 73 6f 75 72 63 65 20 69 73 20 65 78 63 65 ┆d limit'' for a resource is exce┆
0x0f80…0fa0 65 64 65 64 2c 20 74 68 65 0a 20 20 20 20 20 61 63 74 69 6f 6e 20 74 61 6b 65 6e 20 64 65 70 65 ┆eded, the action taken depe┆
0x0fa0…0fc0 6e 64 73 20 6f 6e 20 74 68 65 20 72 65 73 6f 75 72 63 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 72 ┆nds on the resource. The r┆
0x0fc0…0fe0 6c 69 6d 69 74 20 73 74 72 75 63 74 75 72 65 20 73 70 65 63 69 66 69 65 73 20 74 68 65 20 68 61 ┆limit structure specifies the ha┆
0x0fe0…1000 72 64 20 61 6e 64 20 73 6f 66 74 20 6c 69 6d 69 74 73 20 6f 6e 20 61 0a 20 20 20 20 20 72 65 73 ┆rd and soft limits on a res┆
0x1000…1020 6f 75 72 63 65 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 72 6c 69 6d 69 74 20 ┆ource. struct rlimit ┆
0x1020…1040 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 72 6c 69 6d 5f 63 75 72 3b 20 ┆{ int rlim_cur; ┆
0x1040…1060 2f 2a 20 63 75 72 72 65 6e 74 20 28 73 6f 66 74 29 20 6c 69 6d 69 74 20 2a 2f 0a 20 20 20 20 20 ┆/* current (soft) limit */ ┆
0x1060…1080 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 72 6c 69 6d 5f 6d 61 78 3b 20 2f 2a 20 68 61 72 64 ┆ int rlim_max; /* hard┆
0x1080…10a0 20 6c 69 6d 69 74 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 7d 3b 0a 0a 20 20 20 20 20 49 08 49 ┆ limit */ }; I I┆
0x10a0…10c0 08 49 08 49 6e 08 6e 08 6e 08 6e 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e ┆ I In n n nf f f fi i i in n n n┆
0x10c0…10e0 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 20 4c 08 4c 08 4c 08 4c 69 08 69 ┆i i i it t t te e e e L L L Li i┆
0x10e0…1100 08 69 08 69 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 74 08 74 08 74 08 74 0a 20 20 20 20 20 41 ┆ i im m m mi i i it t t t A┆
0x1100…1120 6e 20 22 69 6e 66 69 6e 69 74 65 22 20 76 61 6c 75 65 20 66 6f 72 20 61 20 6c 69 6d 69 74 20 69 ┆n "infinite" value for a limit i┆
0x1120…1140 73 20 64 65 66 69 6e 65 64 20 61 73 0a 20 20 20 20 20 52 4c 49 4d 49 54 5f 49 4e 46 49 4e 49 54 ┆s defined as RLIMIT_INFINIT┆
0x1140…1160 59 20 28 30 78 37 66 66 66 66 66 66 66 29 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 ┆Y (0x7fffffff). R R R RE E E ET┆
0x1160…1180 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 ┆ T T TU U U UR R R RN N N N V V ┆
0x1180…11a0 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a ┆V VA A A AL L L LU U U UE E E E ┆
0x11a0…11c0 20 20 20 20 20 41 20 30 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 69 6e 64 69 63 61 74 65 73 20 ┆ A 0 return value indicates ┆
0x11c0…11e0 74 68 61 74 20 74 68 65 20 63 61 6c 6c 20 73 75 63 63 65 65 64 65 64 2c 20 65 69 74 68 65 72 0a ┆that the call succeeded, either ┆
0x11e0…1200 20 20 20 20 20 63 68 61 6e 67 69 6e 67 20 6f 72 20 72 65 74 75 72 6e 69 6e 67 20 74 68 65 20 72 ┆ changing or returning the r┆
0x1200…1220 65 73 6f 75 72 63 65 20 6c 69 6d 69 74 2e 20 20 20 41 20 72 65 74 75 72 6e 20 76 61 6c 75 65 0a ┆esource limit. A return value ┆
0x1220…1240 20 20 20 20 20 6f 66 20 2d 31 20 69 6e 64 69 63 61 74 65 73 20 74 68 61 74 20 61 6e 20 65 72 72 ┆ of -1 indicates that an err┆
0x1240…1260 6f 72 20 6f 63 63 75 72 72 65 64 2c 20 61 6e 64 20 61 6e 20 65 72 72 6f 72 20 63 6f 64 65 20 69 ┆or occurred, and an error code i┆
0x1260…1280 73 0a 20 20 20 20 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 67 6c 6f 62 61 6c 20 6c 6f 63 61 ┆s stored in the global loca┆
0x1280…12a0 74 69 6f 6e 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 2e 0a 0a 45 08 45 08 45 08 45 52 08 ┆tion _ e_ r_ r_ n_ o. E E E ER ┆
0x12a0…12c0 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 ┆R R RR R R RO O O OR R R RS S S ┆
0x12c0…12e0 53 0a 20 20 20 20 20 54 68 65 20 70 6f 73 73 69 62 6c 65 20 65 72 72 6f 72 73 20 61 72 65 3a 0a ┆S The possible errors are: ┆
0x12e0…1300 0a 20 20 20 20 20 5b 45 46 41 55 4c 54 5d 20 20 20 20 20 20 20 54 68 65 20 61 64 64 72 65 73 73 ┆ [EFAULT] The address┆
0x1300…1320 20 73 70 65 63 69 66 69 65 64 20 66 6f 72 20 5f 08 72 5f 08 6c 5f 08 70 20 69 73 20 69 6e 76 61 ┆ specified for _ r_ l_ p is inva┆
0x1320…1340 6c 69 64 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 ┆lid. S S S SE E E EE E E E A A ┆
0x1340…1360 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 ┆A AL L L LS S S SO O O O Us┆
0x1360…1380 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 31 29 3a 20 20 63 73 68 20 28 6c 69 6d 69 74 29 0a 20 20 ┆er Commands (1): csh (limit) ┆
0x1380…13a0 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 73 69 67 76 65 63 2c 20 73 65 74 ┆ System Calls (2): sigvec, set┆
0x13a0…13c0 72 6c 69 6d 69 74 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆rlimit March 1989 ┆
0x13c0…13e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 ┆ TX Programmer's ┆
0x13e0…13fe 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆Reference ┆