Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 75839 invoked from network); 28 Oct 2004 08:14:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Oct 2004 08:14:22 -0000 Received: (qmail 52083 invoked by uid 500); 28 Oct 2004 08:14:08 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 52040 invoked by uid 500); 28 Oct 2004 08:14:07 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 52023 invoked by uid 99); 28 Oct 2004 08:14:07 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [64.4.47.52] (HELO hotmail.com) (64.4.47.52) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Oct 2004 01:14:04 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 28 Oct 2004 01:14:02 -0700 Received: from 81.5.130.210 by by9fd.bay9.hotmail.msn.com with HTTP; Thu, 28 Oct 2004 08:13:44 GMT X-Originating-IP: [81.5.130.210] X-Originating-Email: [jr_tyrrell@hotmail.com] X-Sender: jr_tyrrell@hotmail.com From: "James Tyrrell" To: lucene-user@jakarta.apache.org Bcc: Subject: RE: Indexing process causes Tomcat to stop working Date: Thu, 28 Oct 2004 09:13:44 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 28 Oct 2004 08:14:02.0277 (UTC) FILETIME=[15754550:01C4BCC6] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >From: "Armbrust, Daniel C." Right got back to work with newly created index to try these ideas, >So, are you creating the indexes from inside the tomcat runtime, or are you >creating them on the command line (which would be in a different runtime >than tomcat)? I'm creating them on the command line using a variation on the standard shown in the demo (has some additional optimisation input that is set to default until I can fix this bug). >What happens to tomcat? Does it hang - still running but not responsive? >Or does it crash? >If it hangs, maybe you are running out of memory. By default, Tomcat's >limit is set pretty low... It definately hangs when shutdown you can't access it, when re-started it just sits there trying to access port 8080 >There is no reason at all you should have to reboot... If you stop and >start tomcat, (make sure it >actually stopped - sometimes it requires a >kill -9 when it really gets hung) it should start working >again. >Depending on your setup of Tomcat + apache, you may have to restart apache >as well to >get them linked to each other again... Good news this did work, however I never see tomcat in top or even using ps -A | grep tomcat, the only way I've found tomcat is using ps -auwx | grep tomcat. The output is *after tomcat shutdown.sh run* ------- root 2266 0.0 3.8 243740 4860 pts/0 S Oct26 0:36 /opt/jdk1.4/bin/java -Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath /opt/jdk1.4/lib/tools.jar:/opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat -Djava.io.tmpdir=/opt/to root 16050 0.0 0.4 3576 620 pts/0 S 08:41 0:00 grep tomcat ------ I did however find two java proccesses running so I duitifully used kill -9 on both pid's, hey-presto when I restarted Tomcat it ran perfectly. So while I can work around this.... I think, I guess now the question becomes, does anyone have any advice as to what could be causing this? Bearing in mind I can still run java proccesses (even create new indexes) on the same machine so it is just Tomcat thats affected. Meanwhile, I will try as Dan suggested to raise the default memory of Tomcat significantly and run another index (it seems a likely culprit). Thanks for all the help thus far, its more than appreciated regards, JT >----Original Message----- >From: James Tyrrell [mailto:jr_tyrrell@hotmail.com] >Sent: Wednesday, October 27, 2004 10:49 AM >To: lucene-user@jakarta.apache.org >Subject: RE: Indexing process causes Tomcat to stop working > >Aad, > D'oh forgot to mention that mildly important info. Rather than >re-index I am just creating a new index each time, this makes things easier >to roll-back etc (which is what my boss wants). the command line is >something like I >have wondered about whether sessions could be a problem, but I don't think >so, otherwise wouldn't a restart of Tomcat be sufficient rather than a >reboot? I even tried the killall command on java & tomcat then started >everything again to no avail. > >cheers, > >JT > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: lucene-user-help@jakarta.apache.org > >--------------------------------------------------------------------- >To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: lucene-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org