On Fri, Nov 13, 2020 at 04:42:20AM -0800, Joshua Kim wrote: > I am Joshua Kim from University of Delaware. I am new to DSpace. We have > had some issue in garbage collection in Tomcat. How would any of you manage > garbage collection regularly? Restart Tomcat every week or something else?
We do weekly server restarts here. (This also ensures that the daily drizzle of Gentoo Linux package updates is taken up by all processes within a week.) We are subject to a corporate security scanner that hammers our sites once a month. It seems to leave a lot of uncollectable garbage behind, sometimes filling the heap 100%. So we also use 'monit' to attempt a connection every few minutes, and kill/restart Tomcat if it doesn't get a satisfactory response. 'monit' is also watching our available storage and will send me a message when it runs low, also usually due to those scans and the flood of log records that they create. We also use 'munin' to record periodic samples of things like storage utilization, web response times, concurrent database sessions, etc. It makes nice graphs for spotting trends and developing problems. Psi Probe is sometimes handy for observing current Tomcat activity and memory usage. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/20201116164214.GE29197%40IUPUI.Edu.
signature.asc
Description: PGP signature
