OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / draft / man5 / limits.5
1 .\"$Id: limits.5,v 1.5 2002/09/21 08:12:52 nakano Exp $
2 .\"
3 .\" Japanese Version Copyright (c) 2001 Maki KURODA
4 .\"     all right reserved,
5 .\" Translated Mon Nov  5 18:12:16 JST 2001
6 .\" by Maki KURODA <mkuroda@aisys-jp.com>
7 .\" Modified Tue 18 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
8 .\"
9 .TH LIMITS 5
10 .\"O .SH NAME
11 .SH Ì¾Á°
12 .\"O limits \- Resource limits definition
13 limits \- ¥ê¥½¡¼¥¹À©¸Â¤ÎÄêµÁ
14 .\"O .SH DESCRIPTION
15 .SH ÀâÌÀ
16 .\"O The
17 .\"O .I limits
18 .\"O file (/etc/limits by default or LIMITS_FILE defined config.h)
19 .\"O describes the resource limits you wish to impose.
20 .\"O It should be owned by root and readable by root account only.
21 .I limits
22 ¥Õ¥¡¥¤¥ë (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï /etc/limits¡£
23 ¤¢¤ë¤¤¤Ï config.h ¤ÇÄêµÁ¤·¤¿ LIMITS_FILE)
24 ¤Ë¤Ï¡¢ÀßÄꤷ¤¿¤¤¥ê¥½¡¼¥¹À©¸Â¤òµ­½Ò¤¹¤ë¡£
25 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï root ¤¬½êÍ­¤·¡¢
26 root ¥¢¥«¥¦¥ó¥È¤Î¤ß¤¬Æɤ߹þ¤ß²Äǽ¤È¤¹¤ë¤Ù¤­¤Ç¤¢¤ë¡¥
27 .PP
28 .\"O By default no quotas are imposed on 'root'. In fact, there is no way to impose
29 .\"O limits via this procedure to root-equiv accounts (accounts with UID 0).
30 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï root ¤ËÂФ¹¤ëÀ©¸Â¤ÏÀßÄê¤Ç¤­¤Ê¤¤¡£
31 ¼Â¤Ï¡¢root ¤ÈƱÅù¤Î¥¢¥«¥¦¥ó¥È (UID 0 ¤Î¥¢¥«¥¦¥ó¥È)
32 ¤ò¤³¤Î¼êÃʤˤè¤Ã¤ÆÀ©¸Â¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£
33 .PP
34 .\"O Each line describes a limit for a user in the form:
35 ³Æ¹Ô¤Ë¤Ï°Ê²¼¤Î·Á¼°¤Ç¥æ¡¼¥¶¤ËÂФ¹¤ëÀ©¸Â¤òµ­½Ò¤¹¤ë¡£
36 .sp
37 .I      user LIMITS_STRING
38 .PP
39 .\"O The \fBLIMITS_STRING\fP is a string of a concatenated list of resource limits.
40 .\"O Each limit consists of a letter identifier followed by a numerical limit.
41 \fBLIMITS_STRING\fP ¤Ï¥ê¥½¡¼¥¹À©¸Â¤ÎÄêµÁ¤òÏ¢·ë¤µ¤»¤¿Ê¸»úÎó¤Ç¤¢¤ë¡£
42 ³ÆÀ©¸Â¤ÎÄêµÁ¤Ï¡¢1 Ê¸»ú¤Î¼±Ê̻Ҥȡ¢¤½¤ì¤Ë³¤¯À©¸Â¿ôÃͤ«¤é¤Ê¤ë¡£
43 .PP
44 .\"O The valid identifiers are:
45 Í­¸ú¤Ê¼±Ê̻Ҥϰʲ¼¤ÎÄ̤ꡣ
46 .sp
47 .\"O A: max address space (KB)
48 A: ¥¢¥É¥ì¥¹¶õ´Ö¤ÎºÇÂçÃÍ (KB)
49 .br
50 .\"O C: max core file size (KB)
51 C: ¥³¥¢¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ÎºÇÂçÃÍ (KB)
52 .br
53 .\"O D: max data size (KB)
54 D: ¥Ç¡¼¥¿¥µ¥¤¥º¤ÎºÇÂçÃÍ (KB)
55 .br
56 .\"O F: maximum filesize (KB)
57 F: ¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ÎºÇÂçÃÍ (KB)
58 .br
59 .\"O M: max locked-in-memory address space (KB)
60 M: ¥á¥â¥ê¾å¤Ë¥í¥Ã¥¯¤Ç¤­¤ë¥¢¥É¥ì¥¹¶õ´Ö¤ÎºÇÂçÃÍ (KB)
61 .br
62 .\"O N: max number of open files
63 N: ¥Õ¥¡¥¤¥ë¥ª¡¼¥×¥ó¿ô¤ÎºÇÂçÃÍ
64 .br
65 .\"O R: max resident set size (KB)
66 R: ¥ì¥¸¥Ç¥ó¥È¥»¥Ã¥È¥µ¥¤¥º¤ÎºÇÂçÃÍ (KB)
67 .br
68 .\"O S: max stack size (KB)
69 S: ¥¹¥¿¥Ã¥¯¥µ¥¤¥º¤ÎºÇÂçÃÍ (KB)
70 .br
71 .\"O T: max CPU time (MIN)
72 T: CPU »þ´Ö¤ÎºÇÂçÃÍ (ʬ)
73 .br
74 .\"O U: max number of processes
75 U: ¥×¥í¥»¥¹¿ô¤ÎºÇÂçÃÍ
76 .br
77 .\"O K: file creation mask, set by \fBumask\fR(2).
78 K: \fBumask\fR(2) ¤Ë¤è¤êÀßÄꤵ¤ì¤ë¡¢¥Õ¥¡¥¤¥ëºîÀ®»þ¤Î mask
79 .br
80 .\"O L: max number of logins for this user
81 L: ¤³¤Î¥æ¡¼¥¶¤ÎƱ»þ¥í¥°¥¤¥ó¿ô¤ÎºÇÂçÃÍ
82 .br
83 .\"O P: process priority, set by \fBsetpriority\fR(2).
84 P: \fBsetpriority\fR(2) ¤Ë¤è¤Ã¤ÆÀßÄꤵ¤ì¤ë¥×¥í¥»¥¹Í¥ÀèÅÙ
85 .PP
86 .\"O For example, \fIL2D2048N5\fP is a valid \fBLIMITS_STRING\fP. For reading convenience,
87 .\"O the following entries are equivalent:
88 Î㤨¤Ð¡¢\fIL2D2048N5\fP ¤ÏÀµ¤·¤¤ \fBLIMITS_STRING\fP ¤Ç¤¢¤ë¡£
89 °Ê²¼¤Î 2 ¤Ä¤ÎÎã¤ÏÅù²Á¤Ç¤¢¤ë¡£2 ÈÖÌܤΤ褦¤ËÆɤ߰פ¯½ñ¤¯¤³¤È¤â¤Ç¤­¤ë¡£
90 .sp
91 .\"O username L2D2048N5
92 username L2D2048N5
93 .br
94 .\"O username L2 D2048 N5
95 username L2 D2048 N5
96 .PP
97 .\"O Be aware that after \fIusername\fP the rest of the line is considered a limit
98 .\"O string, thus comments are not allowed. A invalid limits string will be
99 .\"O rejected (not considered) by the login program.
100 \fIusername\fP °Ê¹ß¤Î¹Ô¤Î»Ä¤ê¤¬À©¸ÂÍѤÎʸ»úÎó¤È¤·¤Æ°·¤ï¤ì¤ë¤Î¤Ç¡¢
101 ¥³¥á¥ó¥È¤Ï½ñ¤¯¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£
102 login ¥×¥í¥°¥é¥à¤Ï¡¢Àµ¤·¤¯¤Ê¤¤À©¸Âʸ»úÎó¤ÏµñÀ䤹¤ë (̵»ë¤¹¤ë)¡£
103 .PP
104 .\"O The default entry is denoted by username "\fB*\fP". If you have multiple \fIdefault\fP
105 .\"O entries in your \fBLIMITS_FILE\fP, then the last one will be used as the default
106 .\"O entry.
107 ¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥ó¥È¥ê¤Ï¡¢¥æ¡¼¥¶Ì¾¤¬ "\fB*\fP" ¤È¤Ê¤Ã¤Æ¤¤¤ë¤â¤Î¤Ç¤¢¤ë¡£
108 \fBLIMITS_FILE\fP ¤ËÊ£¿ô¤Î\fI¥Ç¥Õ¥©¥ë¥È\fP¤òÅÐÏ¿¤¹¤ë¤È¡¢
109 ºÇ¸å¤Î¤â¤Î¤¬¥Ç¥Õ¥©¥ë¥È»ØÄê¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
110 .PP
111 .\"O To completely disable limits for a user, a single dash "\fB-\fP" will do.
112 ¤¢¤ë¥æ¡¼¥¶¤Ø¤ÎÀ©¸Â¤ò´°Á´¤Ë̵¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
113 ¥·¥ó¥°¥ë¥À¥Ã¥·¥å "\fB-\fP" ¤ò»ÈÍѤ¹¤ë¡£
114 .PP
115 .\"O Also, please note that all limit settings are set PER LOGIN.  They are
116 .\"O not global, nor are they permanent.  Perhaps global limits will come, but
117 .\"O for now this will have to do ;)
118 ¤µ¤é¤Ë¡¢Á´¤Æ¤ÎÀ©¸Â¤ÎÀßÄê¤Ï¡Ö¥í¥°¥¤¥óñ°Ì¡×¤ÇÀßÄꤵ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£
119 À©¸Â¤Ï¥°¥í¡¼¥Ð¥ë¤Ç¤Ï¤Ê¤¯¡¢±Ê³Ū¤Ç¤â¤Ê¤¤¡£
120 ¥°¥í¡¼¥Ð¥ë¤ÊÀ©¸Â¤Ï¤¤¤º¤ì²Äǽ¤Ë¤Ê¤ë¤À¤í¤¦¤¬¡¢
121 º£¤Î¤È¤³¤í¤Ï¡ÖTO DO¡×¤Ç¤¢¤ë¡£;)
122 .\"nakano ÆóÈÖÌܤÎʸ¤³¤ì¤Ç¤¤¤¤¤Î¤«¤Ê¤¢¡£
123 .\"O .SH FILES
124 .SH ¥Õ¥¡¥¤¥ë
125 /etc/limits
126 .\"O .SH SEE ALSO
127 .SH ´ØÏ¢¹àÌÜ
128 .BR login (1),
129 .BR setpriority (2),
130 .BR setrlimit (2)
131 .\"O .SH AUTHOR
132 .SH Ãø¼Ô
133 Cristian Gafton (gafton@sorosis.ro)