linux/Documentation/sysctl/fs.txt
<<
>>
Prefs
   1Documentation for /proc/sys/fs/*        kernel version 2.2.10
   2        (c) 1998, 1999,  Rik van Riel <riel@nl.linux.org>
   3        (c) 2009,        Shen Feng<shen@cn.fujitsu.com>
   4
   5For general info and legal blurb, please look in README.
   6
   7==============================================================
   8
   9This file contains documentation for the sysctl files in
  10/proc/sys/fs/ and is valid for Linux kernel version 2.2.
  11
  12The files in this directory can be used to tune and monitor
  13miscellaneous and general thimgs in the 3 in th7
  
 of7   4
1   5F1or ge1eral t#Ltem, itr Liadvisabdocmonr">< v>
hon for the syscthimsouocecumentation/sysctl/fs.txt#L13" id="L13" lass="li1ne" name="L6">   6
1   7=1=====17="Documentation/sysctl/fs.txt#L12" id="L12" lass="li1ne" name="L8">   8
1   9T1his f1le co----------------------------------------------------------cumentation/sysctl/fs.txt#L2" id="L2" clclass="l2ne" name="L10">  102proc/20="Documentation/sysctl/fs.txt#L12" id="L12"2class="l2ne" name="L11">  112   2  he fi2es in- aio-max-nocumentation/sysctl/fs.txt#L13" id="L13"2class="l2ne" name="L13">  132iscel23s in- aio-nocumentation/sysctl/fs.txt#L13" id="L13"2lass="li2ne" name="L4">   4
2   5F2or ge25s in- jquot-maxcumentation/sysctl/fs.txt#L13" id="L13"2lass="li2ne" name="L6">   6
2   7=2=====27s in- s di-maxcumentation/sysctl/fs.txt#L13" id="L13"2lass="li2ne" name="L8">   8
2   9T2his f2le co-xthodi-maxcumentation/sysctl/fs.txt#L13" id="L13"3class="l3ne" name="L10">  103proc/30e co-xthodi-nocumentation/sysctl/fs.txt#L13" id="L13"3class="l3ne" name="L11">  113   2 3he fi3es in- nr_tioocumentation/sysctl/fs.txt#L10" id="L10"3lass="linne" name="L3">   3  iscel33s in- o
   4
3   5F3or ge35s in- *  te ued_hardL5"kecumentation/sysctl/fs.txt#L12" id="L12"3lass="li3ne" name="L6">   6
3   7=3=====37s in- suid_dumpabdocumentation/sysctl/fs.txt#L12" id="L12"3lass="li3ne" name="L8">   8
3   9T3his f39s in- suion-nocumentation/sysctl/fs.txt#L13" id="L13"4class="l4ne" name="L10">  104proc/40="Documentation/sysctl/fs.txt#L12" id="L12"4class="l4ne" name="L11">  114   2 4he fi42="Documentation/sysctl/fs.txt#L12" id="L12"4lass="li4ne" name="L3">   3 4iscel43s inaio-no & aio-max-no:cumentation/sysctl/fs.txt#L12" id="L12"4lass="linne" name="L4">   4
<   5F4or ge45s inaio-no  Li   6
4   7=4=====47s inr">chireaio-max-no7   8
4
  
 or 
 -siz3 icumentation/sysctl/fs.txt#L13" id="L13"4lass="li4ne" name="L9">   9T4his f49s inof7anyion 2.2.data stru*"u
  ocumentation/sysctl/fs.txt#L11" id="L11"5class="l5ne" name="L10">  105proc/50="Documentation/sysctl/fs.txt#L12" id="L12"5class="l5ne" name="L11">  115   2 5he fi52="Documentation/sysctl/fs.txt#L12" id="L12"5lass="li5ne" name="L3">   3 5iscel53s injaxtry-ighte:cumentation/sysctl/fs.txt#L12" id="L12"5lass="li5ne" name="L4">   4
5   5Foor ge5eral irom ;
   6
5   7=5=====57s instru*" {cumentation/sysctl/fs.txt#L2" id="L2" c5lass="li5ne" name="L8">   8
5   9T5his f59(c) 2009,   int nr_un andocumentation/sysctl/fs.txt#L4" id="L4" c6class="l6ne" name="L10">  106proc/60(c) 2009,   int age_limit;2009,    /* age th7seumeds */cumentation/sysctl/fs.txt#L4" id="L4" c6class="l6ne" name="L11">  116   2 6he fi62(c) 2009,   int dummy[2]ocumentation/sysctl/fs.txt#L4" id="L4" c6lass="li6ne" name="L3">   3 6iscel63s in} jaxtry_ight = {0, 0, 45, 0,}ocumentation/sysctl/fs.txt#L4" id="L4" c6lass="li6ne" name="L4">   4
6   5F6or ge65="Documentation/sysctl/fs.txt#L5" id="L5" c6lass="linne" name="L6">   6
<
ed thimdeolloc>
ed, thicumentation/sysctl/fs.txt#L5" id="L5" c6lass="li6ne" name="L7">   7=6=====67s innr_jaxtry7seemscmonbe 0lolle   8
6   9T6his f69(c)  and. Nr_un and7seemscmonbe ex+*"ly w/at ils  9  107proc/70(c) Age_limit  Lichi axtriircumentation/sysctl/fs.txt#L11" id="L11"7class="l7ne" name="L11">  117   2 7he fi72(c) nonzeromw/on shrink_dc>chi_pages() hastunon called thim   3 7iscel73s injc>chi isn'tppruned yetocumentation/sysctl/fs.txt#L11" id="L11"7lass="li7ne" name="L4">   4
7   5F7or ge75======================================================
   6
7   7=======77s injquot-max & jquot-no:cumentation/sysctl/fs.txt#L12" id="L12"7lass="li7ne" name="L8">   8
7   9T7his f79s in this di jquot-maxishowLichiimdiskcumentation/sysctl/fs.txt#L8" id="L8" clclass="l8ne" name="L10">  108proc/80(c) quota axtriirocumentation/sysctl/fs.txt#L11" id="L11"8class="l8ne" name="L11">  118   2 8he fi82s in this di jquot-no7showLi
ed disk quotacumentation/sysctl/fs.txt#L12" id="L12"8lass="li8ne" name="L3">   3 8iscel83s inaxtriireahim   4
8   5F8or ge85====If7chiimdisk quotasr Lineed low thicumentation/sysctl/fs.txt#L5" id="L5" c8lass="li8ne" name="L6">   6
8   7=8=====87="Doyou mt="&mwantcmonraise7   8
<   9T8his f89======================================================
  109proc/90="Documentation/sysctl/fs.txt#L12" id="L12"9class="l9ne" name="L11">  119   2 9he fi92="Documentation/sysctl/fs.txt#L12" id="L12"9lass="li9ne" name="L3">   3 9iscel93s in thi    < th7s di-max jaxoteLi   4
9   5F9or ge95s inof7error messageseaboutprunn3 iioutpof7s di hthileL, you mt="&cumentation/sysctl/fs.txt#L11" id="L11"9lass="li9ne" name="L6">   6
9   7=9=====97="Documentation/sysctl/fs.txt#L12" id="L12"9lass="li9ne" name="L8">   8
9   9Thhis f99====dy 6  10/pproc/pp="Dos di-no7daxotei
ed s di hthileL,   11
01roc/p1s inof7alloc>
ed butpun and7s di hthileL, ahim  12T02roc/p2="Dos di hthileL.p versi2.67alway ereports 0loLi  13m03roc/p3="Dos di hthileL --Dry cairenot o terror, itrjust meanLi   4
104roc/pf="Donumberhof7olloc>
ed s di hthileL ex+*"ly matchire   5F105roc/p5(c)  and s di hthileLocumentation/sysctl/fs.txt#L11" id="L11" 0lass="li10ne" name="L6">   6
106roc/pf="Documentation/sysctl/fs.txt#L7" id="L7" c10lass="li10ne" name="L7">   7=107roc/p7="DoAttemptscmonolloc>
e7mneexs di jescriptorLi   8
108roc/p8s inreporteimwi
hoprintk,DME.
   9T109roc/p9s inr">chid"ocumentation/sysctl/fs.txt#L11" id="L11" cclass="liine" name="L10">  10//proc1sys/fs==================================================
  11
<1roc/ef="Documentation/sysctl/fs.txt#L12" id="L12"  class="liine" name="L12">  12TThe f1les innr_tioo:cumentation/sysctl/fs.txt#L12" id="L12"1 class="liine" name="L13">  13mmisce1laneoucumentation/sysctl/fs.txt#L12" id="L12"1 lass="li11ne" name="L4">   4
11   5F11or g11eral olloc>
e. Defa        < tsc/p24*/p24 (/pf8576)hwhich should becumentation/sysctl/fs.txt#L5" id="L5" c1 lass="li11ne" name="L6">   6
11L.pA*"ual limit deioods oh7RLIMIT_NOFILEcumentation/sysctl/fs.txt#L5" id="L5" c1 lass="li11ne" name="L7">   7=11====117s inr"souocealimitocumentation/sysctl/fs.txt#L11" id="L11"1 lass="li11ne" name="L8">   8
11   9T11his 119======================================================
  1012proc120="Documentation/sysctl/fs.txt#L12" id="L12"12class="l12ne" name="L11">  1112  12Thhe f122="Documentation/sysctl/fs.txt#L12" id="L12"12class="l12ne" name="L13">  1312isce123s inAsmwi
hos di hthileL, 
eLi   4
12   5F12or g125="Documentation/sysctl/fs.txt#L5" id="L5" c12lass="li12ne" name="L6">   6
12   7=12====127s inhthilers.  t Linux < should be 3-4ptimecal="">ri   8
12   9T12his 12le coneed thpthodi stru*"cmonhthile   1013proc130e cooutpof7thodiL, you need monincr READry ca      1113   2 13he f132s in this di thodi-no umentatio  13miisce133s inthodi-ighte,s o we'll skip moni/at s di..ocumentation/sysctl/fs.txt#L11" id="L11"13lass="li13ne" name="L4">   4
13   5F13or g135s inIhodi-ighte umentatio   6
13   7=13====137s innr_free_thodiLeahimp
  hrinkocumentation/sysctl/fs.txt#L11" id="L11"13lass="li13ne" name="L8">   8
13   9T13his 139s inNr_thodiL staods tl filesnumberhof7thodisfiles intem ha cumentation/sysctl/fs.txt#L12" id="L12"14class="l14ne" name="L10">  1014proc140="Doolloc>
ed, ry cato tuneslt="&ly mneex  1114
eLi   2 14he f142="Documentation/sysctl/fs.txt#L12" id="L12"14lass="li14ne" name="L3">   3 14isce143s inNr_free_thodiLerep
  ctls    4
1<   5F14or g14eral t#Ltem needscmonprunei
3 icumentation/sysctl/fs.txt#L13" id="L13"14lass="li14ne" name="L6">   6
14   7=14====147="Documentation/sysctl/fs.txt#L12" id="L12" 4lass="li14ne" name="L8">   8
14   9T14his 149s incumentation/sysctl/fs.txt#L8" id="L8" c15class="l15ne" name="L10">  1015proc150="Doo
  1115   2 15he f152="DoSome s dir#Ltems ohly support 16-bit UIDLeahimGIDL,t;">hough   3 15isce153s inUIDLeahimGIDLeaeex32 bits. W/on ohe of7   4
15   5F1oor g15eral mono s xed nux < berneexbe3 iiwri
ton    6
15   7=15====157s inT/ose t#L7" s7ollow you    8
15   9T15his 159s incumentation/sysctl/fs.txt#L8" id="L8" c16class="l16ne" name="L10">  1016proc16ys/fs==================================================
  1116   2 16he f162(c) *  te ued_hardL5"ke:cumentation/sysctl/fs.txt#L12" id="L12"16lass="li16ne" name="L3">   3 16isce16aneoucumentation/sysctl/fs.txt#L12" id="L12"16lass="li16ne" name="L4">   4
16   5F16or g165="Dotime-of-check-time-of-us< race, most commohly snon th world-wri
abdocumentation/sysctl/fs.txt#L12" id="L12"16lass="li1nne" name="L6">   6
1<
  
 of ry caflawcumentation/sysctl/fs.txt#L12" id="L12"16lass="li16ne" name="L7">   7=16====167s iniscmoncromehpriv dige7boundaeiirew/on follow3 iia givon hardL5"k (i.e. acumentation/sysctl/fs.txt#L12" id="L12"16lass="li16ne" name="L8">   8
16   9T16his 169(c)  
 r#Ltems wi
houtpseparRted partifs.ts, ry castops unau
horized  anrscumentation/sysctl/fs.txt#L12" id="L12"17class="l17ne" name="L10">  1017proc170(c) froml"pinn3 i" vul in bdoc;"tuid/;"tgid s direagainst be3 iiupgraded bycumentation/sysctl/fs.txt#L12" id="L12"17class="l17ne" name="L11">  1117   2 17he f172="Documentation/sysctl/fs.txt#L12" id="L12"17lass="li17ne" name="L3">   3 17isce173s inW/on ;"tito "0", hardL5"k cr Rt  
 behavior is un
  tri uedocumentation/sysctl/fs.txt#L11" id="L11" llass="li17ne" name="L4">   4
17   5F17or g175====W/on ;"tito "1" hardL5"keato not be cr Rted by  anrs if7   6
17   7=1=====177="Documentation/sysctl/fs.txt#L12" id="L12" 7lass="li17ne" name="L8">   8
17   9T17his 179s incumentation/sysctl/fs.txt#L8" id="L8" c1lclass="l18ne" name="L10">  1018proc18ys/fs==================================================
  1118   2 18he f182(c) *  te ued_symL5"ke:cumentation/sysctl/fs.txt#L12" id="L12"18lass="li18ne" name="L3">   3 18isce18aneoucumentation/sysctl/fs.txt#L12" id="L12"18lass="li18ne" name="L4">   4
18   5F18or g185="Dotime-of-check-time-of-us< race, most commohly snon th world-wri
abdocumentation/sysctl/fs.txt#L12" id="L12"18lass="li18ne" name="L6">   6
18
  
 of ry caflawcumentation/sysctl/fs.txt#L12" id="L12"18lass="li18ne" name="L7">   7=18====187s iniscmoncromehpriv dige7boundaeiirew/on follow3 iia givon symL5"k (i.e. acumentation/sysctl/fs.txt#L12" id="L12"18lass="li1nne" name="L8">   8
1<   9T18his 189====incompleti lis  of hundredscof7exampleL acromeh  1019proc190="Doumentatiohttp://cve.mitrehref/cgi-bin/cvekey.cgi?keyword=/tmp">http://cve.mitrehref/cgi-bin/cvekey.cgi?keyword=/tmpneoucumentation/sysctl/fs.txt#L12" id="L12"19class="l19ne" name="L11">  1119   2 19he f192="DoW/on ;"tito "0", symL5"k follow3 iibehavior is un
  tri uedocumentation/sysctl/fs.txt#L11" id="L11" 9lass="li19ne" name="L3">   3 19isce19aneoucumentation/sysctl/fs.txt#L12" id="L12"19lass="li19ne" name="L4">   4
19   5F19or g195s ina sticky world-wri
abdoan be used, or w/on    6
19   7=19====197="Documentation/sysctl/fs.txt#L12" id="L12"19lass="li19ne" name="L8">   8
19   9T1hhis 199s incumentation/sysctl/fs.txt#L8" id="L8" c2cclass="l2nne" name="L10">  102pproc20ys/fs==================================================
  11201roc20f="Documentation/sysctl/fs.txt#L12" id="L12"2cclass="l20ne" name="L12">  12202roc2p2="Dosuid_dumpabdo:cumentation/sysctl/fs.txt#L12" id="L12"2cclass="l20ne" name="L13">  13203roc20aneoucumentation/sysctl/fs.txt#L12" id="L12"2class="li20ne" name="L4">   4
204roc20f="Dontain    < to tune and monqueed thimset    5F205roc2p5(c) l fo   6
206roc2pf="Documentation/sysctl/fs.txt#L7" id="L7" c20lass="li20ne" name="L7">   7=207roc2p7="Do0 - (defa   ) - tradifs.talibehaviour. Any *  cess which hastc/ahgedcumentation/sysctl/fs.txt#L12" id="L12"2class="li20ne" name="L8">   8
208roc208(c) 2009,   priv dige7levels or is executi ohly willenot be dumpedocumentation/sysctl/fs.txt#L11" id="L11"20lass="li20ne" name="L9">   9T209roc2p9s in1 - (debug) - olle*  cessiLedump cneexw/on pomeibdo.  thicoeexdump ircumentation/sysctl/fs.txt#L11" id="L11"2cclass="l2ine" name="L10">  102/proc210(c) 2009,   owned by   112<1roc211(c) 2009,   intended tl f;#Ltem debugg3 iisituaus.ts ohly. Ptrace is uncheckedocumentation/sysctl/fs.txt#L11" id="L11"2 class="l2ine" name="L12">  122The f212(c) 2009,   Ty cair thLecureloLiit tllowL regul="  anrs monexaminei  132misce21 (c) 2009,   re class of7priv digede*  cessiLocumentation/sysctl/fs.txt#L11" id="L11"2 lass="li21ne" name="L4">   4
21   5F21or g21eral 2009,   onyway, butpohly if7   6
21   7=21====217s in2009,   onDry calimit/fs.t,Dsno CVE-20y6-2451.) Ty camode  L7opproprihtecumentation/sysctl/fs.txt#L13" id="L13"2 lass="li21ne" name="L8">   8
21   9T21his 219(c) 2009,   environsctl, ahimei  1022proc220(c) 2009,   monir Rt7priv digedecoeexdumpsmwi
hocare,xl f;pecificpn be usedcumentation/sysctl/fs.txt#L13" id="L13"2lclass="l22ne" name="L11">  1122   2  hhe f222(c) 2009,   a pipi hthiler nfofully qualifid pa
h, a message willebe emi
todcumentation/sysctl/fs.txt#L13" id="L13"2lclass="l22ne" name="L13">  1322isce223(c) 2009,   mont#Llog warn3 iiaboutp   4
22   5F22or g225======================================================
   6
22   7=22====227s insuion-max & suion-no:cumentation/sysctl/fs.txt#L12" id="L12"2llass="li22ne" name="L8">   8
22   9T22his 229s in thsepnumberrere croli  1023proc230e cothuLi  1123   2 23he f232s inmoun
7mneexs dir#Ltems   132iisce233s intllowL you    4
23   5F23or g235======================================================
   6
23   7=23====237s inaio-no & aio-max-no:cumentation/sysctl/fs.txt#L12" id="L12"23lass="li23ne" name="L8">   8
23   9T23his 239s inaio-no showLi  1024proc240="Do
 queLtso  aio-max-no7tllowL you   1124   2 24he f242="Documentation/sysctl/fs.txt#L12" id="L12"24lass="li24ne" name="L3">   3 24isce243s in==================================================
   4
2<   5F24or g245="Documentation/sysctl/fs.txt#L5" id="L5" c24lass="li24ne" name="L6">   6
24   7=24====247="Do----------------------------------------------------------cumentation/sysctl/fs.txt#L2" id="L2" c24lass="li24ne" name="L8">   8
24   9T24his 249s inn/sysctl/fs.t tl filess directo/*        ke/binfmt_s anaircumentation/sysctl/fs.txt#L11" id="L11"25class="l25ne" name="L10">  1025proc250="Docton/sysctl/fs.txbinfmt_s an="L1ocumentation/sysctl/fs.txt#L11" id="L11"25class="l25ne" name="L11">  1125   2 25he f252="Documentation/sysctl/fs.txt#L12" id="L12"25lass="li25ne" name="L3">   3 25isce253s in3.s/*        ke/mque < - POSIX message que    4
25   5F2oor g255="Documentation/sysctl/fs.txt#L5" id="L5" c25lass="li25ne" name="L6">   6
25   7=25====257s incr Rt  
 of7oi  anrpspace  libraey i/at  implemlass     8
25   9T25his 259s inIn
erfaces specific>
  
.)cumentation/sysctl/fs.txt#L12" id="L12"26class="l26ne" name="L10">  1026proc260="Documentation/sysctl/fs.txt#L12" id="L12"26class="l26ne" name="L11">  1126   2 26he f262(c) r"souocese and by    3 26isce26aneoucumentation/sysctl/fs.txt#L12" id="L12"26lass="li26ne" name="L4">   4
26   5F26or g265="Domaximumpnumberhof7message que    6
2<   7=26====267s in/*        ke/mque    8
26   9T26his 269(c) rnelono
  
. Ty caattributi ofcumentation/sysctl/fs.txt#L10" id="L10"27class="l27ne" name="L10">  1027proc270(c) a que < must be less nelequal7  1127   2 27he f272="Do/*        ke/mque    3 27isce273s inmaximump7message size     < (it  Lieneed 7message que <'s attributi s"tidur3 icumentation/sysctl/fs.txt#L13" id="L13"2llass="li27ne" name="L4">   4
27   5F27or g275="Documentation/sysctl/fs.txt#L5" id="L5" c27lass="li27ne" name="L6">   6
27   7=2=====277s injefa    numberhof7messages th a que <     < if7attr par7   8
27   9T27his 279s incumentation/sysctl/fs.txt#L8" id="L8" c2lclass="l28ne" name="L10">  1028proc28ys/fs/*        ke/mque   1128   2 28he f282(c) exceed msgsize_max,    3 28isce28aneoucumentation/sysctl/fs.txt#L12" id="L12"28lass="li28ne" name="L4">   4
28   5F28or g285="Do--------------------------------------------------------cumentation/sysctl/fs.txt#L12" id="L12"28lass="li28ne" name="L6">   6
28   7=28====287="Dontainn be used umentatioconfigurRt  
 opus.ts tl filesepoll(7) in
erfaceocumentation/sysctl/fs.txt#L11" id="L11"28lass="li2nne" name="L8">   8
2<   9T28his 289====max_ anr_watchescumentation/sysctl/fs.txt#L9" id="L9" c29class="l29ne" name="L10">  1029proc290="Do----------------cumentation/sysctl/fs.txt#L12" id="L12"29class="l29ne" name="L11">  1129   2 29he f292="DoEneed epoll s di jescriptor to tstoresainumberhof7s discmonbe mon3toreicumentation/sysctl/fs.txt#L5" id="L5" c29lass="li29ne" name="L3">   3 29isce29aneoutl fevctl r"><3">ss. Each ohe of7   4
29   5F29or g29eral ollowed tl f">ch  anrocumentation/sysctl/fs.txt#L11" id="L11"29lass="li29ne" name="L6">   6
29   7=29====297="Dooh a 64bit oheocumentation/sysctl/fs.txt#L11" id="L11"29lass="li29ne" name="L8">   8
29   9T2hhis 299s inlow memsed,nn vidid tl files"watch"ncost th byteLocumentation/sysctl/fs.txt#L11" id="L11"3cclass="l3nne" name="L10">  103pproc300="Documentation/sysctl/fs.txt#L12" id="L12"3cclass="l30ne" name="L11">  11301roc30f="Do





 thiorigitaliLXR softwaeexby LXR commun3ty="Do, ry caexperisctl/l.
lxr@lvers.no="Do.


lxr.lvers.no kindly hoLted by umentatiohttp://www.reipill-lve*  .no">Reipill Lve*   AS="Do, *  vidirhof7Lversicons   3 iiahimtioraus.ts anrvices sinces1995.