AW: Slide (2.1) - tuning. Make it faster and more stable.
"Thorsten Saile" <[email protected]> Fri, 10 Aug 2007 16:53:58 +0200
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
Hello=20Arne,=0D=0A=0D=0Athanks=20for=20youre=20usefull=20informations.= =20I=20will=20test=20it=20in=20the=20next=20week.=20Can=20you=20also=20gi= ve=20me=20your=20Connector=20parameters=20from=20the=20server.xml=20file?= =20This=20settings=20are=20very=20important.=20The=20Tomcat=20default=20V= alues=20for=20acceptCount=20and=20thread=20are=20to=20high.=20We=20have= =20reduced=20it=20to=20the=20follow:=0D=0A=0D=0A<Connector=20URIEncoding= =3D"UTF-8"=20acceptCount=3D"40"=20connectionTimeout=3D"20000"=20descripti= on=3D"non-SSL=20HTTP/1.1"=20disableUploadTimeout=3D"true"=20enableLookups= =3D"true"=20maxHttpHeaderSize=3D"8192"=20maxSpareThreads=3D"24"=20maxThre= ads=3D"40"=20minSpareThreads=3D"10"=20port=3D"11121"=20protocol=3D"HTTP/1= 1"=20redirectPort=3D"11123"=20/>=0D=0A=20=20=20=20=0D=0AThanks=20and=20a= =20nice=20Weekend=0D=0AThorsten=0D=0A=0D=0A-----Urspr=FCngliche=20Nachric= ht-----=0D=0AVon:=20Arne=20v.Irmer=20[mailto:[email protected]= e]=0D=0AGesendet:=20Dienstag,=207.=20August=202007=2010:27=0D=0AAn:=20Tho= rsten=20Saile;=20Slide=20Users=20Mailing=20List=0D=0ABetreff:=20Slide=20(= 2.1)=20-=20tuning.=20Make=20it=20faster=20and=20more=20stable.=0D=0A=0D= =0A=0D=0AHi=20Thorsten,=0D=0Awe=20use=20Tomcat=205.5.23=20and=20java=20ve= rsion=201.5.0_10=20and=20slide=202.1=20with=20a=20=0D=0ATx-filestore=20us= ing=20openSuSE=2010.2=20.=20Now=20everything=20works=20fine=20(~2000=20Us= er=20a=20day=20/=20~10=20Gb=20Transfer=20/=20~20000=20hits).=20But=20in= =20the=20beginning=20we=20had=20the=20=0D=0Asame=20problems.=0D=0A=0D=0AI= =20try=20to=20give=20some=20hints=20to=20increase=20the=20stability=20of= =20slide:=0D=0A1.=20You=20have=20to=20patch=20the=20slide-kernel.=20There= =20is=20a=20bug=20with=20concurrent=20=0D=0Aaccess.=20In=20the=20file=20= =0D=0Ajakarta-slide-server-src-2.1/src/share/org/apache/slide/store/Exten= dedStore.java=20=0D=0Aat=20line=20149=20an=20ordenary=20HashMap=20is=20us= ed.=20You=20have=20to=20change=20line=20149=20to:=0D=0A=20=20=20=20privat= e=20Map=20suspendedLocks=20=3D=20Collections.synchronizedMap(new=20HashMa= p());=0D=0ATo=20build=20the=20project=20use=20a=20build.properties=0D=0A#= =20-----=20Compile=20Control=20Flags=20-----=0D=0Acompile.debug=3Don=0D= =0Acompile.deprecation=3Doff=0D=0Acompile.optimize=3Don=0D=0Acompile.targ= et=3D1.4=0D=0Abuild.compiler=3Dmodern=0D=0AAfter=20that=20just=20change= =20the=20slide-kernel-2.1.jar=20in=20the=20distro=20of=20slide=20=0D=0Ath= at=20you=20are=20currently=20using.=20(Look=20at=20=0D=0Ahttp://jakarta.a= pache.org/slide/installation.html)=0D=0A2.=20Next=20turn=20off=20the=20"s= equential-mode"=20in=20the=20Domain.xml.=20This=20causes=20=0D=0Aslide=20= to=20wait=20with=20the=20next=20transaction=20until=20the=20current=20is= =20done.=20We=20=0D=0Ahad=20some=20dead=20lock=20with=20that.=20To=20turn= =20it=20of=20open=20your=20Domain.xml=20search=20=0D=0Afor=20<parameter= =20name=3D"sequential-mode">=20and=20replace=20it=20with=0D=0A=20=20=20= =20=20=20=20=20=20=20=20<parameter=20name=3D"sequential-mode">off</parame= ter>=0D=0A3.=20If=20you=20use=20clustering=20always=20and=20ever=20use=20= the=20udp=20protocol=20(its=20=0D=0Adefault).=20Look=20(linux)=20with=20f= rom=20time=20to=20time=20with=20lsof=20-p=20PID=20how=20many=20=0D=0Afile= s=20the=20slide-tomcat=20has=20open.=0D=0A4.=20Use=20Jconsole=20to=20moni= tor=20memory=20and=20thread=20management=20of=20the=20tomcat.=20=0D=0ATo= =20do=20so=20start=20tomcat=20with=20the=20option=20-Dcom.sun.management.= jmxremote=20(no=20needed=20for=20java=201.6).=20=20After=20that=20start= =20jconsole=20(an=20X-Server=20is=20=0D=0Arequired)=20and=20connect=20to= =20your=20tomcat.=20In=20the=20case=20of=20a=20problem=20you=20are=20=0D= =0Anow=20able=20to=20only=20restart=20slide=20in=20a=20running=20tomcat:= =20Go=20to=20the=20MBean-tab=20=0D=0Aand=20navigate=20to=20Catalina->WebM= odule->//tomcat/->none->none=20then=20use=20tab=20=0D=0AOperations=20and= =20press=20the=20Button=20reload.=0D=0AFor=20more=20information=20of=20th= e=20jconsole=20look=20at=20=0D=0Ahttp://java.sun.com/j2se/1.5.0/docs/guid= e/management/jconsole.html=0D=0A5.=20To=20make=20umlauts=20work=20use=20U= TF-8=20everywhere=20and=20use=20a=20tomcat=205.5=20and=20=0D=0Aslide=202.= 1.=0D=0A6.=20Use=20apache2=20with=20mod_jk=20and=20the=20ajp=20protocol.= =20You=20than=20are=20able=20to=20=0D=0Ause=20slide=20within=20a=20load-b= alance=20-worker.=20It=20is=20easy=20to=20configure.=20But=20=0D=0Alook= =203.=20!=20And=20configure=20the=20clustercacherefresher=20properly.=20I= f=20you=20make=20=0D=0Aa=20mistake=20your=20store=20will=20be=20lost.=0D= =0A=0D=0AThorsten,=20I=20hope=20this=20will=20help.=20More=20things=20may= =20be=20done,=20but=20I=20don't=20=0D=0Aremember.=0D=0A=0D=0AIs=20anyone= =20out=20there=20who=20has=20a=20problem=20with=20my=20hints=20or=20has= =20other=20good=20=0D=0Aslide-tunings.=20Make=20a=20post.=20I'm=20curious= =0D=0A=0D=0AYours=0D=0A=20Arne=0D=0A=0D=0A--=20=0D=0ADipl.-Phys.=20Arne= =20v.Irmer=0D=0AMedienzentrum=20Universit=E4t=20Dortmund=0D=0AAm=20Hauert= =2012a=0D=0A44227=20Dortmund=0D=0A=0D=0AThorsten=20Saile=20schrieb:=0D=0A= >=20Hello=20Arne,=0D=0A>=0D=0A>=20wich=20Java-Version,=20Application-Serv= er=20and=20Version=20do=20you=20use=20in=20your=20Slide-Envoirement.=20I= =20have=20many=20Problems=20with=20a=20few=20concurrent=20Users=20on=20To= mcat=205.5.17.=0D=0A>=0D=0A>=20Regards,=0D=0A>=20Thorsten=0D=0A>=0D=0A>= =20-----Urspr=FCngliche=20Nachricht-----=0D=0A>=20Von:=20Arne=20v.Irmer= =20[mailto:[email protected]]=0D=0A>=20Gesendet:=20Mittwoch,= =202.=20Mai=202007=2009:00=0D=0A>=20An:=20Slide=20Users=20Mailing=20List= =0D=0A>=20Betreff:=20Re:=20Project=20Status=0D=0A>=0D=0A>=0D=0A>=20We=20a= re=20using=20slide=20at=20the=20university=20of=20Dortmund=20now=20for=20= two=20years.=20=0D=0A>=20Thousands=20of=20users=20can=20be=20managed=20wi= th=20slide.=20On=20one=20hand=20slide=20isn't=20=0D=0A>=20maintained=20an= y=20more:=20As=20you=20mentioned=20no=20update=20was=20released.=20On=20t= he=20=0D=0A>=20other=20hand,=20some=20developer=20are=20still=20working= =20on=20the=20new=202.2=20release=20that=20can=20be=20checked=20out=20in= =20svn.=0D=0A>=20The=20documentation=20of=20the=20project=20could=20be=20= better,=20but=20the=20community=20is=20>=20active.=0D=0A>=20We=20do=20not= =20found=20an=20open=20source=20webdav-server=20that=20has=20implemented= =20webdav=20so=20completely=20as=20slide=20does.=0D=0A>=20Please=20tell= =20us=20what=20the=20result=20of=20your=20evaluation=20of=20slide=20is.= =20Why=20=0D=0A>=20do/don't=20you=20use=20slide?=20What=20are=20the=20alt= ernatives?=0D=0A>=0D=0A>=20Yours=0D=0A>=20=20Arne=0D=0A>=0D=0A>=20Virtual= =20Light=20schrieb:=0D=0A>=20=20=20=0D=0A>>=20We=20are=20currently=20in= =20the=20formative=20stages=20of=20a=20project=20that=20would=20=0D=0A>>= =20utilize=20SLIDE=20and=20have=20a=20few=20questions=20about=20the=20SLI= DE=20project.=20=20We=20=0D=0A>>=20have=20noticed=20that=20the=20SLIDE=20= project=20has=20not=20updated=20in=20over=20two=20=0D=0A>>=20years.=20=20= Is=20the=20SLIDE=20project=20active?=20=20Are=20defects=20acted=20upon=20= and=20=0D=0A>>=20corrected?=0D=0A>>=0D=0A>>=20Regards,=0D=0A>>=20Bill=0D= =0A>>=0D=0A>>=20_________________________________________________________= ________=0D=0A>>=20Mortgage=20rates=20near=20historic=20lows.=20Refinance= =20$200,000=20loan=20for=20as=20low=20>>=20as=20$771/month*=20=0D=0A>>=20= https://www2.nextag.com/goto.jsp?product=3D100000035&url=3D%2fst.jsp&tm= =3Dy&search=3Dmortgage_text_links_88_h27f8&disc=3Dy&vers=3D689&s=3D4056&p= =3D5117=20=0D=0A>>=0D=0A>>=0D=0A>>=0D=0A>>=20----------------------------= -----------------------------------------=0D=0A>>=20To=20unsubscribe,=20e= -mail:[email protected]=0D=0A>>=20For=20additi= onal=20commands,=20e-mail:[email protected]=0D=0A>>= =0D=0A>>=20=20=20=20=20=0D=0A>=0D=0A>=0D=0A>=20--------------------------= -------------------------------------------=0D=0A>=20To=20unsubscribe,=20= e-mail:[email protected]=0D=0A>=20For=20additi= onal=20commands,=20e-mail:[email protected]=0D=0A>=0D= =0A>=20Diese=20E-Mail=20enth=E4lt=20vertrauliche=20und/oder=20rechtlich= =0D=0A>=20gesch=FCtzte=20Informationen.=20Wenn=20Sie=20nicht=20der=20rich= tige=0D=0A>=20Adressat=20sind=20oder=20diese=20E-Mail=20irrt=FCmlich=20er= halten=20haben,=0D=0A>=20informieren=20Sie=20bitte=20sofort=20den=20Absen= der=20und=20vernichten=20Sie=0D=0A>=20diese=20Mail.=20Das=20unerlaubte=20= Kopieren=20sowie=20die=20unbefugte=20=0D=0A>=20Weitergabe=20dieser=20Mail= =20ist=20nicht=20gestattet.=0D=0A>=0D=0A>=20This=20e-mail=20may=20contain= =20confidential=20and/or=20privileged=20information.=0D=0A>=20If=20you=20= are=20not=20the=20intended=20recipient=20(or=20have=20received=20this=0D= =0A>=20e-mail=20in=20error)=20please=20notify=20the=20sender=20immediatel= y=20and=0D=0A>=20destroy=20this=20e-mail.=20Any=20unauthorised=20copying,= =20disclosure=20or=0D=0A>=20distribution=20of=20the=20material=20in=20thi= s=20e-mail=20is=20strictly=20forbidden.=0D=0A>=0D=0A>=20Sitz=20der=20Gese= llschaft=20/=20Head=20Office:=20Konstanz=20|=0D=0A>=20Gesch=E4ftsf=FChrer= =20/=20Managing=20Director:=20Siegfried=20Wagner=20|=0D=0A>=20Amtsgericht= =20/=20Registered=20at:=20Freiburg=20i.B.:=20HRB=20380976=0D=0A>=20=20=20= =0D=0A=0D=0A=0D=0A=0D=0ADiese=20E-Mail=20enth=E4lt=20vertrauliche=20und/o= der=20rechtlich=0D=0Agesch=FCtzte=20Informationen.=20Wenn=20Sie=20nicht= =20der=20richtige=0D=0AAdressat=20sind=20oder=20diese=20E-Mail=20irrt=FCm= lich=20erhalten=20haben,=0D=0Ainformieren=20Sie=20bitte=20sofort=20den=20= Absender=20und=20vernichten=20Sie=0D=0Adiese=20Mail.=20Das=20unerlaubte= =20Kopieren=20sowie=20die=20unbefugte=20=0D=0AWeitergabe=20dieser=20Mail= =20ist=20nicht=20gestattet.=0D=0A=0D=0AThis=20e-mail=20may=20contain=20co= nfidential=20and/or=20privileged=20information.=0D=0AIf=20you=20are=20not= =20the=20intended=20recipient=20(or=20have=20received=20this=0D=0Ae-mail= =20in=20error)=20please=20notify=20the=20sender=20immediately=20and=0D=0A= destroy=20this=20e-mail.=20Any=20unauthorised=20copying,=20disclosure=20o= r=0D=0Adistribution=20of=20the=20material=20in=20this=20e-mail=20is=20str= ictly=20forbidden.=0D=0A=0D=0ASitz=20der=20Gesellschaft=20/=20Head=20Offi= ce:=20Konstanz=20|=0D=0AGesch=E4ftsf=FChrer=20/=20Managing=20Director:=20= Siegfried=20Wagner=20|=0D=0AAmtsgericht=20/=20Registered=20at:=20Freiburg= =20i.B.:=20HRB=20380976