home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Software / Resources / Apache / apache_2.0.48-win32-x86-no_ssl.exe / F254443_ab.html.en < prev    next >
Encoding:
Text File  |  2003-05-29  |  10.6 KB  |  29 lines

  1. .[00|01|10]: Upgradedto 10.20fxd,;oro(fxt2.0ForpHP-UX 10.20:ild,;oro(fxt2.0Insyall th/ latest cumulht ts ARPA Transrort Patch. Thli
  2. sadswill allow you to eonnfrurrptt  size of tt  TCP eonnsiAiun>Ouaorlookuprhaih tab<e. The acehwei li 256rbuckets and mwst be krtIX-2.0to a pownt of two. Thli is aceomplished with adb againststt IX-2.0*n sc* image of tt  kernel. The variab<psuml;eis  s<e"tcp_haih_sizeexoeaw<.IX-2.0NBeice ttat it's crit cally iarortantst>atsyou uarp" s<e"Wexoeaw<"IX-2.0to write a 32 bit quantity, not " s<e"wexoeaw<"0to write a 16 bit
  3. sadsvalu4rwhen patchisssthe disc image becauarpt>es s<e"tcp_haih_sizeexoeaw<
  4. sadsvariab<psis a 32 bit quantity.exd,;oro(fxt2.0How to pick the valu4? Examine t>e output of fanrl<usdftp://ftp.cupddp.com/dist/networkiss/tools/etAnhlit"sftp://ftp.cupddp.com/dist/networkiss/tools/etAnhlitdw&a
  5. sadsand see how many totalpTCP eonnsiAiuns exist on th/ oystem. YouIX-2.0probably wantst>atsnumbnt divided by th/ haih tab<e size tosbed./o trehsunably small, say e rstthan 10.0Folks can look atsHP's>OuaorSPECweb96 disclosurestforpsome ctmmun sett sss. Thess can bed./o tfound at canrl<usdhttp://www.ipsibened.org/e"http://www.ipsibened.org/fna<.IX-2.0If anpHP-UX oystemswairperfoBmiss at 1000rSPECweb96 eonnsiAiunsIX-2.0p
  6. r seeond, tt   s<e>TIME_WAITfnoeaw< timesof 60 seeonds wouPr mean
  7. sads60,000rTCP "eonnsiAiuns" beissstrackeddilpPIX>OuadsanPFolks can nt ck theirrllitenpqueue acpthsrwith anrl<usdftp://ftp.cupddp.com/dist/networkiss/misc/llitenq"sftp://ftp.cupddp.com/dist/networkiss/misc/llitenqfna<.ild,;oro(fxt2.0If folks aBs runniss Aclnt  un a PA-8000rbasod oystem, tt y
  8. sadsshouPr consider "edatr'iss" th/ Aclnt  executab<e to hats a>Ouaorlargrppage size. Thli wouPr be " s<e"cdatr +pi L <BINARY>exoeaw<".IX-2.0T>e GIDsof t>e runniss executab<e mwst hats aoeaw<MLOCKfnoeaw<rprivis4ges.MsMdel s<e"Setprivgrp(1m)dwoeaw<sshouPr be crnsweiedsforpassignissMsMdelaoeaw<MLOCKfnoeaw<. The chanse can be validhted by 0unniss Glanne
  9. ds  and examiniss t>e Gemory reg<uns of th  sena
  10. r(s) tosmake surrpttat
  11. sadst>eysshow apnon-trivialpfract un of t>e text segment beissslockeddilpPIX>OuadsanPIf folks aBs runniss Aclnt  un MP oystemr, tt y mightIX-2.0ctAsider writiss alkmall program t>atsuars  s<e"mpctl()exoeaw<
  12. sadstosbindrprocesses tosprocessors. A snmpls aoeaw<pid %snumcpuexoeaw<
  13. sadsalgorithmsis probably sufficient. Thli might ea
  14. n go intostt 
  15. sadssource oeawdilpPIX>OuadsanPIf folks aBs conPerned aboutstt  numbnt of aoeaw<FIN_WAIT_2fnoeaw<d./o teonnsiAiuns, tt y can uarpnettune to shr nk the valu4 ofMsMdel s<e"tcp_keepk/<rtfnoeaw<. Howea
  16. r, t>eysshouPr be caBsfulttheol -IX-2.0certainlysdo not make it e rstthan ohstwo to four minutes.0IfMsMdel s<e"tcp_haih_sizeexoeaw<rhai been ket well, it is probably OKetoIX-2.0let tt   s<e"FIN_WAIT_2fnoeaw<'s take losser to timeouts(p
  17. rhapsIX-2.0ea
  18. n tt  acehwei two hturk) - t>eyswill not on atsrage hats a bisMsMdelimclnt on perfoBmannedilpPIXro(fxt2.0Theol arerot>errth sss t>atsPouPr go intostt  oeaw base, but
  19. sadst>atsmight berleftsforpanot>erreGail. Feelpfree to drop ms a>Ouaorm rsage if you orpot>err ar  interestrddilpPIXro(fxt2.0sinPerrly,ilpPIXro(fxt2.0rick jonesilpPIXro(fxt2.0canrl<usdhttp://www.cupddp.com/netperf/NetperfPage.dsarhchttp://www.cupddp.com/netperf/NetperfPage.dsarexa>dwpPIXro(fdw">vsym-/">vsym-]av class="bottomlass"Pym-nP<span>Availab<psLassuages:adwspan>nadyl<usddtAen/platfoBm/perf-hpddsar" titl;="English"> en exa>dwpPIXc/">vsc">v id="footerm-ym-n class="aclnt e"siintained by th/ fanrl<usdhttp://httpd.aclnt .org/docs-projsiA/">rclnt  HTTPt<ena
  20. r Documentat un ProjsiAexa>dwpPIXcn class="menu"Anadyl<usddtA<rI/hcMoIpe rts&ae| nadyl<usddtA<rI/n  siAc(rrddsarhcD  siAc(rrts&ae| nadyl<usddtAfaq/hcFAQts&ae| nadyl<usddtAglossaryddsarhcGlossaryts&ae| nadyl<usddtAsitemapddsarhcSitemapexa>dwpPdw">vsym-/bodyadwdsar>URI: windowsddsar./n>OCrnt nt-Lassuage: en>OCrnt nt-arei: textwdsar; edarkrt=ISO-8859-1ymURI: win_ctmpisissddsar./n>OCrnt nt-Lassuage: en>OCrnt nt-arei: textwdsar; edarkrt=ISO-8859-1ym-?xml <s!i<un="1.0" enoeding="ISO-8859-1"?sym-!DOCTYPE dsar PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" dhttp://www.w3.org/TR/xdsar1/DTD/xdsar1-strict.dtdm->Owdsar xmlns=dhttp://www.w3.org/1999/xdsar" lass="en" xml:lass="en"><h7hm><!--IX-2.0xt  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXIX-2.0xt  (fxtxtThlipfis4sis gennthted fromsxml source: DO NOT EDITIX-2.0xt  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXIX-2.0xt--->Owtitl;0Ctmpisiss Aclnt  forpMicrosoftsWindows - rclnt  HTTPt<ena
  21. r</titl;0>Owl nk yl<usddtAseyle/css/manual.css"prel="oeylesheet" media="alrh trei="textwcss"ptitl;="siin oeylesheet" /0>Owl nk yl<usddtAseyle/css/manual-loose-100pc.css"prel="alternate oeylesheet" media="alrh trei="textwcss"ptitl;="No Sidebar - Dcehweitfontskize" /0>Owl nk yl<usddtAseyle/css/manual-print.css"prel="oeylesheet" media="printh trei="textwcss"p/0>Owl nk yl<usddtAimages/faaicn<dicn"prel="ohortcut icn<" /S</h7hm>>Owbody id="manual-page"sc">v id="page-h7hmerm-IXcn class="menu"Anadyl<usddtA<rI/hcMoIpe rts&ae| nadyl<usddtA<rI/n  siAc(rrddsarhcD  siAc(rrts&ae| nadyl<usddtAfaq/hcFAQts&ae| nadyl<usddtAglossaryddsarhcGlossaryts&ae| nadyl<usddtAsitemapddsarhcSitemapexa>dwpPym-n class="aclnt e"rclnt  HTTPt<ena
  22. r Vs!i<un 2.0dwpPym-img ult="" srcsddtAimages/feat>er.gif" /S</">vsym-]av class="up"Anadyl<usd./m-<img titl;="<-" ult="<-" srcsddtAimages/left.gif" /S</aS</">vsym-]av id="pathm-IXcanrl<usdhttp://www.aclnt .org/e"rclnt ts&ae> fanrl<usdhttp://httpd.aclnt .org/">HTTPt<ena
  23. r</&ae> fanrl<usdhttp://httpd.aclnt .org/docs-projsiA/">Documentat un</&ae> fanrl<usd../m-Vs!i<un 2.0dw&ae> fanrl<usd./m-PlatfoBm Specrfic NBess</aS</">vsc">v id="page-Prnt nt"sc">v id="preambce">2h10Ctmpisiss Aclnt  forpMicrosoftsWindowsueh1sym-]av class="yoplass"Pym-nP<span>Availab<psLassuages:adwspan>nadyl<usddtAen/platfoBm/win_ctmpisissddsar" titl;="English"> en exa>dwpPIXc/">vsOebebe(fxt2.0Theol arermany iarortantspoints br oBs you begin ctmpisiss
  24. sadsAclnt . Sep nadyl<usdwindowsddsar">Usiss Aclnt  with Microsoft
  25. sadsWindowsueasdbe oBs you begin.dwpPIXro(fdw">vsym-">v id="quickview">2ultid="toc">2liPimg ult="" srcsddtAimages/down.gif" /S fanrl<usd#r7queroments">R7queromentsfna<illiPIX2liPimg ult="" srcsddtAimages/down.gif" /S fanrl<usd#Prmmandbuildh>Ctmmand-Line Buildfna<illiPIX2liPimg ult="" srcsddtAimages/down.gif" /S fanrl<usd#worksclnebuildh>Developer Studio Worksclne IDE Buildfna<illiPIX2liPimg ult="" srcsddtAimages/down.gif" /S fanrl<usd#projsiActmponents">ProjsiA Ctmponentsfna<illiPIX2/ulS</">vsym-]av class="top"Anadyl<usd#page-h7hmerm-<img ult="top" srcsddtAimages/up.gif" /S</aS</">vsym-]av class="ogd<unm->Owd2Anaduml;="r7queroments"sid=" 7queroments">R7queromentsfna<ild2A;o;ouaorMsro(fxt2.0Ctmpisiss Aclnt  r7queros t>e followiss environment tosbed./o tproperly insyalled:ue">OebesadsaulSIX-2.0xt2liP;o(fxtxtxt2.0Disk Splneild,;o-2.0xtxt2.0Make surrpyou hats at e ast 50 MB of free disk sclne;o(fxtxtdsavailab<p. After insyallat<unlAclnt  r7queros approximately;o(fxtxtds10 MB of disk sclne, plus sclnetforplogsand clnt  filer,;o(fxtxtdsahlprrcan grow rapidly. The aiAualpdisk sclne  7queroments;o(fxtxtdsaill vary ctAsiderably basod un ytur0chosen PtAnfrurat un andro(fxtds  any t>ird-patty mrIpe r orplibraries.ild,;o-2.0xtilliPIXIX-2.0xt2liPIX-2.0xt  2.0MicrosoftsVisual C++ 5.0 orphig>er.ild,;o-2.0xtxt2.0Aclnt  can be built usiss t>e Prmmand lins tools, orpfrom
  26. sads  dswithinstt  Visual Studio IDE Workbened..0T>e Pommand lins>Ouaorsadsbuild r7queros t>e environment tosr7flectstt   s<e"PATHdwoeaw<,>Ouaorelds s<e"INCLUDEexoeaw<,  s<e"LIBfnoeaw< androt>er variab<psMsMdelsadst>ad can be ctAnfrurrd with t>e  s<e"vcvars32fnoeaw<rbatch file:ild,;oro(fxtsadsa]av class="exaarce">2.0 s<e>IX-2.0xtxt  "c:\Program Filer\DevStudio\VC\Bin\vcvars32.bat"IX.0xt  (f</oeaw<ue">dw">vsym-2.0xtilliPIXIX-2.0xt2liPIX-2.0xt  2.0Ths Windows PlatfoBm SDK.ild,;o-2.0xtxt2.0Visual C++ 5.0 builds requero anpupdhted MicrosoftsWindows;o-2.0xtxtPlatfoBm SDK tosenab<epsome Aclnt  features.0ForePommand lins>Ouaorsadsbuildr, tt  PlatfoBm SDK environment is prepated by th/>Ouaorelds s<e"set nvfnoeaw<rbatch file:ild,;oro(fxtsadsa]av class="exaarce">2.0 s<e>IX-2.0xtxt  "c:\Program Filer\PlatfoBm SDK\set nv.bat"IX.0xt  (f</oeaw<ue">dw">vsymIX-2.0xt  2.0Ths PlatfoBm SDK fis4s n stributrd with Visual C++ 6.0 andro(fxtds  later arersufficient,pso uarrs of later <s!i<unrmay skipMsMdelsadst>is  7queroment.ild,;oro(fxtsadsa]av class="nBes">NBespttat t>e Windows PlatfoBm SDKpupdhte is  7querodd./o t/o tto enab<epall support;dr s<e class="mrIpe "Anadyl<usddtA<rI/<rI_isapiddsar"><rI_isapiexa>dwoeaw< features.d./o t/o tWithoutsasrecent updhte, Aclnt dwill issue warn sss underd./o t/o tMSVC++ 5.0 ttat some  s<e class="mrIpe "Anadyl<usddtA<rI/<rI_isapiddsar"><rI_isapiexa>dwoeaw< features;o(fxtxtdsaill betdisab<ed. Look forpth/ updhte at canrl<usdhttp://msdn.microsoft.com/downloads/sdks/platfoBm/platfoBm.asphchttp://msdn.microsoft.com/downloads/sdks/platfoBm/platfoBm.aspfna<.il">vsym-2.0xtilliPIXIX-2.0xt2liPIX-2.0xt  2.0Ths awksut<lity (awk, gawksorpsimilar).ild,;o-2.0xtxt2.0To insyall Aclnt  withinstt  build oystem, sea
  27. raldfis4s arpIX-2.0xt  mrIrfisdsusiss t>e  s<e"awk.exeexoeaw<sut<lity. awkswairchosen sinPe iiIX-2.0xt  is a <s!y small download (ctmparrd with PerlsorpWSH/VB) andro(fxtds  aceomplishes tt  task of gennthtiss files. Brian Kern ghan's>Ouaoreldsanrl<usdhttp://cm.bell-labs.com/cm/cs/who/bwk/e"http://cm.bell-labs.com/cm/cs/who/bwk/dw&a
  28. sads  dssiterhai a eompis4d nht ts Win32 binary,d./o t/o tanrl<usdhttp://cm.bell-labs.com/cm/cs/who/bwk/awk95.exee"http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exeueasdahlpr
  29. sadssadsyou mwst sats with t>e >mmrp s<e"awk.exeexoeaw<srat>errthan>Ouaorelds s<e"awk95.exeueoeaw<.ild,;oro(fxtxtdsa]av class="nBes">NBespttat Developer Studio IDE aill on<y find>Ouaorelds s<e"awk.exeexoeaw<sfromst>esTools menu Opt uns... D  siAoriesd./o t/o ttab (tt  ProjsiAs - VC++ D  siAories pans insDeveloper Studio 7.0)ro(fxtds  listiss Executab<e fis4 paths. Add t>e path fors s<e"awk.exeexoeaw<d./o t/o tto ttis list, and ytur0oystems s<e"PATHdwoeaw<renvironment variab<p,d./o t/o tai nerdrddil">vsymIX-2.0xt  2]av class="nBes">Also nBespttat if you arrpuaiss Cygwis (canrl<usdhttp://www.cygwis.com/hchttp://www.cygwis.com/ueas) th/ awksut<lity is uml;dr s<e"gawk.exeexoeaw<sandro(fxtds  ttat t>e fis4  s<e"awk.exeexoeaw<sis  7ally a0oyml nk to th/  s<e"gawk.exeexoeaw<d./o t/o tfi<e. The Windows Pommand shell does notsrectgnize oyml nks, and becauarpof t>aiIX-2.0xt  buildiss InsyallBin will fail. A workaround is tosdeletes s<e"awk.exeexoeaw<sfromMsMdelsadst>e cygwis insyallat<unland reuml;e s<e"gawk.exeexoeaw<stos s<e"awk.exeexoeaw<.il">vsym-2.0xtilliPIXIX-2.0xt2liPIX-2.0xt  2.0[Opt