Kill java processes (dspace/webapps/oai)

41 views
Skip to first unread message

José Luis Silva

unread,
Nov 9, 2022, 3:25:19 PM11/9/22
to DSpace Technical Support
Hello community, I have a version 6.3 of dspace.

I checked the running processes and saw four 'java' processes exceeding %CPU, we increased the server CPU and memory to 10 vCPU and 18 GB RAM. This has no effect, the same processes are running above the threshold.

I tried 'kill -9' to kill these processes with their PID, but they immediately ran again.

Any recommendation? Does this mean a bigger problem?
-----
Hola comunidad, tengo una versión 6.3 de dspace.

Revisé los procesos en ejecución y observé cuatro procesos 'java' que superan el %CPU, aumentamos la CPU del servidor y la memoria a 10 vCPU y 18 GB de RAM.
Esto no tiene ningún efecto, los mismos procesos se ejecutan por encima del umbral.

Intenté 'matar -9' para terminar estos procesos con su PID, pero inmediatamente se ejecutaron nuevamente.

¿Alguna recomendación? ¿Significa esto un problema mayor?
repo_issue.png


repo_issue.png

Mark H. Wood

unread,
Nov 10, 2022, 8:14:26 AM11/10/22
to dspac...@googlegroups.com
On Wed, Nov 09, 2022 at 12:20:35PM -0800, José Luis Silva wrote:
> Hello community, I have a version 6.3 of dspace.
>
> I checked the running processes and saw four 'java' processes exceeding
> %CPU, we increased the server CPU and memory to 10 vCPU and 18 GB RAM. This
> has no effect, the same processes are running above the threshold.
>
> I tried 'kill -9' to kill these processes with their PID, but they
> immediately ran again.

I see two separate issues here.

1. *Possible* runaway processes. These could simply be doing work
that takes a lot of CPU for a significant amount of time, but would
eventually complete. The first thing to do is to find out what
application is running in each, then find out what that
application is doing. Check the appropriate log files to see if
there is a problem.

2. Killed processes are automatically re-created. This sounds like
those applications are running under a process monitor that is
configured to keep them running. There are many of these -- for
example, here we use 'monit' to start and restart daemons such as
Tomcat and Solr. If this is how those processes of yours are run,
then you'll need to find out what is monitoring them and use that
to control their states.

--
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
signature.asc

José Luis Silva

unread,
Nov 22, 2022, 4:23:44 PM11/22/22
to dspac...@googlegroups.com
Hi Mark, thanks for the answer. We are testing your recommendations. I´ll share the results.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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 view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/Y2z5LhSlFauImiS8%40IUPUI.Edu.
Reply all
Reply to author
Forward
0 new messages