04-27-2009 06:15 AM
08-13-2010 04:45 AM
09-16-2010 11:18 AM
09-29-2010 08:37 AM
09-29-2010 11:21 AM
log4j.logger.org.alfresco.repo.activities.feed.local.LocalFeedGenerator=debug
If you're not causing Share activities to be posted (hence the table is empty) then you will see debug approx every 30 secs, such as:
15:58:25,611 DEBUG [feed.local.LocalFeedGenerator] >>> No work to be done for this job cycle: local
15:58:55,609 DEBUG [feed.local.LocalFeedGenerator] >>> No work to be done for this job cycle: local
15:59:25,610 DEBUG [feed.local.LocalFeedGenerator] >>> No work to be done for this job cycle: local
15:59:55,609 DEBUG [feed.local.LocalFeedGenerator] >>> No work to be done for this job cycle: local
If you *also* still see the warning message intermittently:
11:13:12,920 WARN [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Still busy …
then it implies that it (ie. previous job iteration) is still waiting to get a DB connection.09-29-2010 12:13 PM
>> @janv: All right, thank you very much for the tip. Increasing db.pool.max did help a little.I mean that I don't have that message as often as before. I've just realized the db.pool.max was not high enough.
What do you mean by "help a little" ?
>> Is it the warning message that causes the application to dead-lock ?I don't use Share at all, so my guess is the table will remain empty.
The warning message does not cause the deadlock. As per earlier post, it appears to be a symptom (not the underlying cause). It simply indicates that the previous execution of the activities feed generator job is still busy for some reason. That particular job runs regularly (by default, every 30 secs) hence might already be busy processing a large number of Share activities *or* waiting for a DB connection (even if the queries will be against an empty "alf_activity_post" table). The latter seems to be the case here. You can confirm this (ie. empty table) by temporarily adding the following debug:
If you're not causing Share activities to be posted (hence the table is empty) then you will see debug approx every 30 secs, such as:
If you hide the warning message or even explicitly disable the activities feed generator job then it is still possible that other threads could hang due to an exhausted DB connection pool.Now I understand much better the whole picture, thank you for the time spent.
Regards,
Jan
01-03-2011 05:55 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.