--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscribe@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
TransferManager
provides a simple API for uploading content to Amazon S3, and makes extensive use of Amazon S3 multipart uploads to achieve enhanced throughput, performance and reliability.
When possible, TransferManager
attempts to use multiple threads to upload multiple parts of a single upload at once. When dealing with large content sizes and high bandwidth, this can have a significant increase on throughput.
TransferManager
is responsible for managing resources such as connections and threads; share a single instance of TransferManager
whenever possible. TransferManager
, like all the client classes in the AWS SDK for Java, is thread safe. Call TransferManager.shutdownNow()
to release the resources once the transfer is complete.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscribe@googlegroups.com.
SELECT pg_terminate_backend(pid)
FROM pg_stat_activity
WHERE datname = 'dspace'
AND pid <> pg_backend_pid()
AND state = 'idle'
AND state_change < current_timestamp - INTERVAL '5' MINUTE;
Just out of curiosity, is this still an issue for folks on this thread? Were you able to resolve your issues by setting up a connection pool in Tomcat using Alan Orth's instructions? The reason I ask is that when we upgraded from 5.4 to 6.3 we also moved the assetstore into S3. And since then there's been an almost constant stream of errors like this in the logs.
com.amazonaws.http.AmazonHttpClient @ Unable to execute HTTP request: Timeout waiting for connection from pool
org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
When that happened I set up a connection pool using the instructions in the DSpace 6 installation docs - https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-Externaldatabaseconnectionpool. And I set it up with what I thought were sufficiently high values for the maximum total connections (200) and maximum idle connections (50).
But the new setup has been in place for a few days now, and we're still seeing connection pool timeouts on a daily basis. Even though the maximum total connections is set to 200, we never see near that many postgres processes at any given time.
Is there some additional configuration to the JNDI Datasource that would help our situation? Or were there other things people did to improve the performance?
Thanks,
Nick
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.