Hello Arne, thanks for youre usefull informations. I will test it in the next week. Can you also give me your Connector parameters from the server.xml file? This settings are very important. The Tomcat default Values for acceptCount and thread are to high. We have reduced it to the follow:
<Connector URIEncoding="UTF-8" acceptCount="40" connectionTimeout="20000" description="non-SSL HTTP/1.1" disableUploadTimeout="true" enableLookups="true" maxHttpHeaderSize="8192" maxSpareThreads="24" maxThreads="40" minSpareThreads="10" port="11121" protocol="HTTP/11" redirectPort="11123" /> Thanks and a nice Weekend Thorsten -----Ursprüngliche Nachricht----- Von: Arne v.Irmer [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 7. August 2007 10:27 An: Thorsten Saile; Slide Users Mailing List Betreff: Slide (2.1) - tuning. Make it faster and more stable. Hi Thorsten, we use Tomcat 5.5.23 and java version 1.5.0_10 and slide 2.1 with a Tx-filestore using openSuSE 10.2 . Now everything works fine (~2000 User a day / ~10 Gb Transfer / ~20000 hits). But in the beginning we had the same problems. I try to give some hints to increase the stability of slide: 1. You have to patch the slide-kernel. There is a bug with concurrent access. In the file jakarta-slide-server-src-2.1/src/share/org/apache/slide/store/ExtendedStore.java at line 149 an ordenary HashMap is used. You have to change line 149 to: private Map suspendedLocks = Collections.synchronizedMap(new HashMap()); To build the project use a build.properties # ----- Compile Control Flags ----- compile.debug=on compile.deprecation=off compile.optimize=on compile.target=1.4 build.compiler=modern After that just change the slide-kernel-2.1.jar in the distro of slide that you are currently using. (Look at http://jakarta.apache.org/slide/installation.html) 2. Next turn off the "sequential-mode" in the Domain.xml. This causes slide to wait with the next transaction until the current is done. We had some dead lock with that. To turn it of open your Domain.xml search for <parameter name="sequential-mode"> and replace it with <parameter name="sequential-mode">off</parameter> 3. If you use clustering always and ever use the udp protocol (its default). Look (linux) with from time to time with lsof -p PID how many files the slide-tomcat has open. 4. Use Jconsole to monitor memory and thread management of the tomcat. To do so start tomcat with the option -Dcom.sun.management.jmxremote (no needed for java 1.6). After that start jconsole (an X-Server is required) and connect to your tomcat. In the case of a problem you are now able to only restart slide in a running tomcat: Go to the MBean-tab and navigate to Catalina->WebModule->//tomcat/->none->none then use tab Operations and press the Button reload. For more information of the jconsole look at http://java.sun.com/j2se/1.5.0/docs/guide/management/jconsole.html 5. To make umlauts work use UTF-8 everywhere and use a tomcat 5.5 and slide 2.1. 6. Use apache2 with mod_jk and the ajp protocol. You than are able to use slide within a load-balance -worker. It is easy to configure. But look 3. ! And configure the clustercacherefresher properly. If you make a mistake your store will be lost. Thorsten, I hope this will help. More things may be done, but I don't remember. Is anyone out there who has a problem with my hints or has other good slide-tunings. Make a post. I'm curious Yours Arne -- Dipl.-Phys. Arne v.Irmer Medienzentrum Universität Dortmund Am Hauert 12a 44227 Dortmund Thorsten Saile schrieb: > Hello Arne, > > wich Java-Version, Application-Server and Version do you use in your > Slide-Envoirement. I have many Problems with a few concurrent Users on Tomcat > 5.5.17. > > Regards, > Thorsten > > -----Ursprüngliche Nachricht----- > Von: Arne v.Irmer [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 2. Mai 2007 09:00 > An: Slide Users Mailing List > Betreff: Re: Project Status > > > We are using slide at the university of Dortmund now for two years. > Thousands of users can be managed with slide. On one hand slide isn't > maintained any more: As you mentioned no update was released. On the > other hand, some developer are still working on the new 2.2 release that can > be checked out in svn. > The documentation of the project could be better, but the community is > > active. > We do not found an open source webdav-server that has implemented webdav so > completely as slide does. > Please tell us what the result of your evaluation of slide is. Why > do/don't you use slide? What are the alternatives? > > Yours > Arne > > Virtual Light schrieb: > >> We are currently in the formative stages of a project that would >> utilize SLIDE and have a few questions about the SLIDE project. We >> have noticed that the SLIDE project has not updated in over two >> years. Is the SLIDE project active? Are defects acted upon and >> corrected? >> >> Regards, >> Bill >> >> _________________________________________________________________ >> Mortgage rates near historic lows. Refinance $200,000 loan for as low >> as >> $771/month* >> https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117 >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Diese E-Mail enthält vertrauliche und/oder rechtlich > geschützte Informationen. Wenn Sie nicht der richtige > Adressat sind oder diese E-Mail irrtümlich erhalten haben, > informieren Sie bitte sofort den Absender und vernichten Sie > diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. > If you are not the intended recipient (or have received this > e-mail in error) please notify the sender immediately and > destroy this e-mail. Any unauthorised copying, disclosure or > distribution of the material in this e-mail is strictly forbidden. > > Sitz der Gesellschaft / Head Office: Konstanz | > Geschäftsführer / Managing Director: Siegfried Wagner | > Amtsgericht / Registered at: Freiburg i.B.: HRB 380976 > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Sitz der Gesellschaft / Head Office: Konstanz | Geschäftsführer / Managing Director: Siegfried Wagner | Amtsgericht / Registered at: Freiburg i.B.: HRB 380976 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]