fd-limits.xml.ja revision dfe339c9e97132514c8d5cb7d6743e909f4825f1
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<!-- English Revision: 125275 -->
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen Copyright 2002-2005 The Apache Software Foundation or its licensors,
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen as applicable.
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen Licensed under the Apache License, Version 2.0 (the "License");
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen you may not use this file except in compliance with the License.
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen You may obtain a copy of the License at
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen Unless required by applicable law or agreed to in writing, software
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen distributed under the License is distributed on an "AS IS" BASIS,
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen See the License for the specific language governing permissions and
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen limitations under the License.
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<parentdocument href="./">$B%P!<%A%c%k%[%9%H(B</parentdocument>
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <p>$B$?$/$5$s$N%P!<%A%c%k%[%9%H$r1?MQ$9$k>l9g!"$b$7!"(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B3F%P!<%A%c%k%[%9%H$4$H$K0[$J$k%m%0%U%!%$%k$,;XDj$7$F$"$k$H!"(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen Apache $B$,%U%!%$%k5-=R;R(B (<cite>$B%U%!%$%k%O%s%I%k(B</cite>$B$H$b8F$P$l$^$9(B)
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B$r;H$$@Z$C$F$7$^$&$3$H$,$"$j$^$9!#(BApache $B$,;HMQ$9$k%U%!%$%k(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B5-=R;R$N?t$O!"3F%(%i!<%m%0%U%!%$%k$K$D$-(B 1 $B$D!"B>$N%m%0%U%!%$%k$N(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B%G%#%l%/%F%#%V$K$D$-(B 1 $B$D!"$5$i$KFbIt$G;HMQ$9$k(B 10 $B$+$i(B 20$B!"(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B$N9g7W$K$J$j$^$9!#(BUnix $B%*%Z%l!<%F%#%s%0%7%9%F%`$G$O%W%m%;%9$4$H$K(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B;HMQ2DG=$J%U%!%$%k5-=R;R$N?t$r@)8B$7$F$$$^$9!#$?$$$F$$$N>l9g$O(B 64 $B$G!"(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $BIaDL$OBg$-$JCM$N%O!<%I%j%_%C%H$^$GA}$d$9$3$H$,$G$-$^$9!#(B</p>
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <p>Apache $B$OI,MW$K1~$8$F>e8B$r3HBg$7$h$&$H;n$_$^$9$,!"(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B0J2<$N$h$&$J>l9g$K$O$&$^$/$$$+$J$$$+$b$7$l$^$;$s!#(B</p>
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <li>$BMxMQ$7$F$$$k%7%9%F%`$G(B <code>setrlimit()</code>
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <li>$B%7%9%F%`>e$G(B <code>setrlimit</code>(RLIMIT_NOFILE) $B$,F0:n$7$J$$(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen ($B$?$H$($P(B Solaris 2.3 $B$N$h$&$K(B)$B!#(B</li>
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <li>$BMW5a$5$l$k%U%!%$%k5-=R;R$N?t$,(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <li>$B%7%9%F%`$K%U%!%$%k5-=R;R$K4X$7$FJL$N@)8B$,B8:_$7$F$7$^$C$F$$$k!#(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen $B$?$H$($P!"(Bstdio $B%9%H%j!<%`$G$O%U%!%$%k5-=R;R$r(B 256 $B0J>e;H$($J$$(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen (Solaris 2)$B!"$J$I!#(B</li>
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen <p>$BLdBj$,H/@8$7$?;~$K<h$jF@$kBP=hJ}K!$O<!$N$H$*$j(B:</p>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen <li>$B%m%0%U%!%$%k$N?t$r8:$i$9!#(B<directive type="section"
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen $B%;%/%7%g%s$G%m%0%U%!%$%k$r;XDj$;$:!"%a%$%s$N%m%0%U%!%$%k$K$N$_5-O?$9$k!#(B
9198e12ca32db7812b2a79b5922233ec80890306Tom Gundersen href="#splitlogs">$B%m%0%U%!%$%k$NJ,3d(B</a>$B$rFI$s$G$/$@$5$$!#(B)</li>
5256e00e8b9015dd1a976d647fc71dc7efbd8cf8Tom Gundersen $B$b$7!"A0=R$N(B 1 $B$^$?$O(B 2 $B$N>l9g$G$"$l$P!"(B
5256e00e8b9015dd1a976d647fc71dc7efbd8cf8Tom Gundersen Apache $B$r5/F0$9$kA0$K%U%!%$%k5-=R;R$rA}$d$7$^$9!#(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen ulimit -S -n 100<br />
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen exec httpd</code>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<section id="splitlogs"><title>$B%m%0%U%!%$%k$NJ,3d(B</title>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<p>$BJ#?t$N%P!<%A%c%k%[%9%H$N%m%0$rF1$8%m%0%U%!%$%k$K<}=8$7$h$&$H$7$F$$$k$H$-$K$O!"(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B3F%P!<%A%c%k%[%9%H$K$D$$$FE}7WE*$J2r@O$r<B9T$9$k$?$a$K8e$G%m%0%U%!%$%k$r(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$BJ,3d$7$?$/$J$k$+$b$7$l$^$;$s!#$3$l$O0J2<$N$h$&$K$7$F<B8=$G$-$^$9!#(B</p>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<p>$B$^$:!"%P!<%A%c%k%[%9%H$N>pJs$r%m%0$N%(%s%H%j$KDI2C$9$kI,MW$,$"$j$^$9!#(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B$3$l$O(B <directive module="mod_log_config">LogFormat</directive>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B%G%#%l%/%F%#%V$N(B <code>%v</code> $BJQ?t$r;H$&$3$H$G$G$-$^$9!#(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B$3$l$r%m%0$N%U%)!<%^%C%HJ8;zNs$N@hF,$KDI2C$7$^$9(B:</p>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom GundersenLogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost<br />
f6f8d466bd6ce5f737d66a076c1f9e40d8ec9d7fTom Gundersen<p>$B$3$l$O(B common log format $B$N%m%0$r:n@.$7$^$9$,!"$=$l$>$l$N9T$N@hF,$K(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen(<directive module="core">ServerName</directive>
f6f8d466bd6ce5f737d66a076c1f9e40d8ec9d7fTom Gundersen$B%G%#%l%/%F%#%V$K=q$+$l$F$$$k$b$N(B) $B$,IU2C$5$l$^$9!#(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen($B%m%0%U%!%$%k$N%+%9%?%^%$%:$N>\:Y$K$D$$$F$O(B <a
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersenhref="/mod/mod_log_config.html#formats">Custom Log Formats</a> $B$r(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$BFI$s$G$/$@$5$$!#(B)</p>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<p>$B%m%0%U%!%$%k$r3FItJ,(B ($B%P!<%A%c%k%[%9%HKh$K(B 1 $B%U%!%$%k(B) $B$KJ,$1$?$$$H$-$O!"(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<code><a href="/programs/other.html">split-logfile</a></code>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B$r;H$C$F9T$J$&$3$H$,$G$-$^$9!#%W%m%0%i%`$O(B Apache $BG[I[$N(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<code>support</code> $B%G%#%l%/%H%j$K$"$j$^$9!#(B</p>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<p>$B0J2<$N$h$&$J%3%^%s%I$G$3$N%W%m%0%i%`$r<B9T$7$^$9(B:</p>
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen<p>$B$3$N%W%m%0%i%`$O%P!<%A%c%k%[%9%H$N%m%0%U%!%$%k$NL>A0$H$H$b$K<B9T$5$l!"(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B%m%0%U%!%$%k$K8=$l$k$=$l$>$l$N%P!<%A%c%k%[%9%HKh$K0l$D$N%U%!%$%k$r:n@.$7$^$9!#(B
3175fcdec5d748e8db85a3e7fe1cb67f5f6a865dTom Gundersen$B$=$l$>$l$N%U%!%$%k$O(B <code>$B%[%9%HL>(B.log</code> $B$H$$$&L>A0$K$J$j$^$9!#(B</p>