After update confluence to 6.13.1 have many connection UPDATE AO_92296B_AORECENTLY_VIEWED
➤ psql://postgres@postgres:5432/postgres
# :queries
runtime | pid | datname | usename | query
------------------+-------+------------+------------+--------------------------------------------------------------------------------------------
09:56:17.837023 | 29019 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
09:38:39.679915 | 7882 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
09:08:49.726505 | 7595 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
08:44:45.157807 | 9934 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
08:41:38.881429 | 15540 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
08:16:04.383338 | 7951 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
08:15:41.199733 | 13783 | confluence | confluence | UPDATE "AO_92296B_AORECENTLY_VIEWED" SET "LAST_VIEW_DATE" = $1 WHERE "ID" = $2
In logs confluence:
2019-03-13 18:02:15,925 ERROR [http-nio-8090-exec-12] [[Standalone].[localhost].[/].[noop]] log Servlet.service() for servlet [noop] in context with path [] threw exception
java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
How debug many connection?
How reduce connection?
Hello there! Thanks for reaching out Anton.
The table named AO_92296B_AORECENTLY_VIEWED contains data about recent pages that have been viewed. This table has data for roughly the last two months. Other detail is that the data stored there is only for each user_key + content_id that is unique.
For example, if User A visits Page A 35 times, there will be only one entry in this table.
Having a more constant updates on this table is normal.
However, I would like to clarify some points with you:
- Is your instance slower than before?
- Are your users facing any kind of issue during normal usage?
- Is there any issue that might stem from this database connection?
Looking forward to your reply Anton. Let us keep in touch!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
Is your instance slower than before?
No
Are your users facing any kind of issue during normal usage?
When use all connection in pool - confluence down work. After some time, thread pool of confluence got clogged with locked threads, trying to update AO_92296B...., whick locks all the external access to confluence entirely
Is there any issue that might stem from this database connection?
Everything works just fine exept those updates on AO_92....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello there Anton, thanks for replying!
We can try and check if this issue is being caused by some problematic data in your Confluence cache or even a plugin. We can first try and clear the plugin cache:
- Schedule a downtime for your instance
- Shutdown Confluence
- Go to the <confluence-home> folder
- Remove these folders:
- <confluence-home>/bundled-plugins
- <confluence-home>/plugins-cache
- <confluence-home>/plugins-osgi-cache
- <confluence-home>/plugins-temp
- <confluence-home>/bundled-plugins_language
- Start Confluence
- Check if the issue happens again
If the issue persists, we can try and disable all user installed plugins
- Click the Cog Icon at the top right corner
- Select Add-ons
- Scroll down to the bottom
- Click Enter Safe Mode
- Proceed to enter safe mode
- Check if the issue persists
Also, could you provide us with a little more information:
- The value of the parameter <property name="hibernate.c3p0.max_size">60</property> under confluence.cfg.xml file
- The maxThreads value under your server.xml
- The connection pool size of your PostgreSQL database
If you have a DataSource connection, the pool size will be located under your server.xml file, there should be no need to look elsewhere under the application. But we still need the info from your database.
Looking forward to your reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.