manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erlend GarĂ¥sen <>
Subject Re: max_pred_locks_per_transaction
Date Wed, 06 Feb 2013 09:48:54 GMT

I have some time this week to investigate this further after I finally 
delivered a heavy job about SAML integration. I will look through the 
source code as well and try to log even more if necessary.

Maciej: Can you please send me a detailed description about your similar 

I previously mentioned that the "exclude from index" functionality in 
the exclusion tab could be the source of the problem, but that does not 
seem to be the case anymore after I got the same problem for another job 
without any settings there.

Just a guessing, but I think the source of the problem is problematic 
documents, for instance invalid XML documents which the crawler tries to 

Karl: If necessary, you can try to crawl these documents yourself, but 
first I need to isolate the problem to one particular host.

Thanks about the warnings about no backward compatibility for this test, 
so I will only use our test server where data integrity is not that 
important. I'm starting a new crawl right away and will report thereafter.


On 05.02.13 14.10, Karl Wright wrote:
> Ok, it is clear from this that most of your threads are waiting to get
> a connection, and there are no connections to be found.  This is
> exactly the problem that Maciej reported, which I created the
> CONNECTORS-638 ticket for.  There has to be a connection leak
> somewhere.  Obviously it is not a common situation, or the problem
> would arise almost right away; it probably occurs as a result of some
> error condition or pathway that is relatively uncommon.
> The diagnostic code that is now checked into trunk should work as follows:
> (1) First, checkout and build trunk.  Since there are schema changes
> in trunk vs. older versions of ManifoldCF, you cannot "go backwards"
> and run an older version on a particular database instance once you've
> run trunk.  Keep that in mind.
> (2) Add a line to the properties.xml file, as follows:
> <property name="org.apache.manifoldcf.database.connectiontracking"
> value="true"/>
> (3) Start the system up and let it run.
> (4) When it fails, you should start to see dumps in the log like this:
>              Logging.db.warn("Out of db connections, list of
> outstanding ones follows.");
>              for (WrappedConnection c : outstandingConnections)
>              {
>                Logging.db.warn("Found a possibly leaked db
> connection",c.getInstantiationException());
>              }
> ... which will dump where all the offending connections were
> allocated.  Hopefully this will point us at what the problem is.  If
> there seems to be no consistency here, I'll have to explore the
> possibility that there are bugs in the connection allocation/free
> code, but we'll see.
> Karl
Erlend GarĂ¥sen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050

View raw message