Return-Path: Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: (qmail 40509 invoked from network); 15 Nov 2010 23:16:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 23:16:53 -0000 Received: (qmail 95466 invoked by uid 500); 15 Nov 2010 23:17:24 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 95422 invoked by uid 500); 15 Nov 2010 23:17:24 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 95415 invoked by uid 99); 15 Nov 2010 23:17:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 23:17:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 23:17:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAFNH0nG017985 for ; Mon, 15 Nov 2010 23:17:00 GMT Date: Mon, 15 Nov 2010 18:17:00 -0500 (EST) From: confluence@apache.org To: connectors-commits@incubator.apache.org Message-ID: <229530.6564.1289863020028.JavaMail.confluence@thor> Subject: [CONF] Apache Connectors Framework > How to Build and Deploy ManifoldCF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS) Page: How to Build and Deploy ManifoldCF (https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Build+and+Deploy+ManifoldCF) Comment: https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Build+and+Deploy+ManifoldCF?focusedCommentId=24186611#comment-24186611 Comment added by Farzad: --------------------------------------------------------------------- Made the changes, system is still having problems, running but very slow. I started the example with "java -Xms512m -Xmx102 4m -jar start.jar". Got two java dumps at 40K and 80K, emailed them along with my config files to connectors-user@incubator.apache.org. In reply to a comment by Karl Wright: It is clear then that your attempt to set up PostgreSQL with 400 database handles did not actually succeed, or my recommendation would not have helped. The performance is still very poor compared with my very cheap system, but your disks now look reasonably quick.  So let's try to figure out the problem. (1) The default of 30 threads sounds low for your system.  I'd up this to 100. (2) You don't want the maximum connections to be a bottleneck, either on the repository connection side or on the output connection side.  Set the max connections for both to 105. (3) Configure your postgreSQL to have at least 200 database handles available.  I know you tried to do this already, but for some reason you configuration did not work. (4) Set your properties.xml maximum database connections parameter to be 105, so that's not a bottleneck either. (5) You may want to give the JVM more memory than the default.  Perhaps you are garbage collecting too much.  If you are still using the quick-start, just add appropriate \-Xmx and \-Xms commands.  I'd start with 1024MB. If none of this helps, then we can figure out what the bottleneck is by getting a Java thread dump while the crawler is active.  How you do this depends on what operating system you are using.  But it should be possible from that thread dump to get an idea where all the threads are waiting.  Post it to connectors-user@incubator.apache.org. Thanks, Karl Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action