From: Erik H. <eri...@uc...> - 2011-12-12 19:43:50
|
At Mon, 12 Dec 2011 12:36:18 +0000, Matjaž Kragelj wrote: > > Hi everyone, > > > I'll go straight to the problem: > > We have (on VMware) a server (Quad-core AMD Opteron, 2.4Ghz, (4 processors), 20GB RAM, Windows server 2008 R2, 64 bit) > Apache Tomcat 7.0.23 and aplications Web Curator Tool and 2 instances of Wayback machine (version 1.6 and 1.6.1) > Apache Tomcat 6 - for Solr Lucine - full text search > > Tomcat 7 has 9GB Ram, Tomcat 6 has 5Gb. > I tried with several initial and maximum memory pool in tomcat (from 6GB max to 13Gb max) but it is pretty much the same after an hour or so. > Last few days Wayback reindexed data (89GB, 28.000 files in sub directories) and I had to stop all other applications for a few days, because the process (create index for 27.000 files took almost 3 days) > > So, the problem we have is very, very slow Tomcat. We prectically get timeout every time using WCT. It takes a whole minute to get welcome screen.Wayback is also very very slow. Now, wher Tomcat (7 and 6) got 13.5 gb together, windows consuption of RAM is approx 15GB. > > Java opts is: > -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9004 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xms768m -Xmx13000m > > JVM version is 1.6.0_21-b07 > I just tried with disabling Paging file, we'll see the difference.. > > I have a jsp script which shows the consumption of Java - here is a static html file: http://www.nuk.uni-lj.si/java.htm > > My question is - is this normal? Am I doing something wrong or do I really need more than 20GB of RAM to run Wayback machine and WCT on the same machine. > > If anyone has an idea - please share it with me. > If anyone needs more data to understand the situation - here I am.. Hi Matjaž, This might not help you much. We use wayback with CDX files with far less memory usage and quick response. I don’t know if this is possible with WCT, but you might want to give it a look. It is trickier to set up, but it works well. best, Erik |