manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Connectors Framework > How to Build and Deploy ManifoldCF
Date Mon, 15 Nov 2010 23:17:00 GMT
Space: Apache Connectors Framework (
Page: How to Build and Deploy ManifoldCF (

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  

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


Change your notification preferences:

View raw message