Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM not getting enough memory in the container #8

Open
carueda opened this issue Sep 2, 2020 · 1 comment
Open

JVM not getting enough memory in the container #8

carueda opened this issue Sep 2, 2020 · 1 comment
Assignees
Labels

Comments

@carueda
Copy link
Member

carueda commented Sep 2, 2020

@brandonnodnarb thanks again for the testing and exposing this issue.

@lewismc / @graybeal FYI

As indicated on slack, I suspect the issue is not enough memory given to the JVM, even though the container itself has plenty.

Below are some snippets from the log and some ctop screenshots.



2020-09-02 00:58:18.094 [http-nio-8080-exec-3] DEBUG org.mmisw.orr.ont.app.OntController -
createOntology:
 user:           AuthUser(brandon)
 uri:            http://synaptica.net/owl
 originalUri:    None
 name:           NASA STI Thesaurus
 version:        20200902T005818
 versionVisibility: Some(owner)
 versionStatus:  Some(unstable)
 log:            None
 date:           2020-09-02T00:58:18
 ownerName:      ~brandon
 ontFileWriter.format: ttl

2020-09-02 00:58:26.958 [http-nio-8080-exec-3] DEBUG org.mmisw.orr.ont.service.OntService - createOntology: md=Map(http://www.w3.org/2000/01/rdf-schema#comment -> List(Synaptica output using OWL syntax.), http://www.w3.org/2002/07/owl#versionInfo -> List(Synaptica OWL), http://www.w3.org/1999/02/22-rdf-syntax-ns#type -> List(http://www.w3.org/2002/07/owl#Ontology))  authorOpt=Some(brandon whitehead)


02-Sep-2020 01:07:05.050 WARNING [cluster-1-thread-1] com.mongodb.ServerStateNotifier.run Exception in monitor thread during notification of server description state change
	java.lang.OutOfMemoryError: GC overhead limit exceeded

Exception in thread "AsyncFileHandlerWriter-1259475182" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "http-nio-8080-ClientPoller-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "http-nio-8080-ClientPoller-1" java.lang.OutOfMemoryError: GC overhead limit exceeded
02-Sep-2020 01:10:47.569 SEVERE [http-nio-8080-exec-9] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Failed to complete processing of a request
	java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "http-nio-8080-exec-7" java.lang.OutOfMemoryError: GC overhead limit exceeded
02-Sep-2020 01:11:38.271 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run Unexpected death of background thread [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
	java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: GC overhead limit exceeded

image

During the registration processing:

image

@carueda carueda added the bug label Sep 2, 2020
@carueda carueda self-assigned this Sep 2, 2020
@carueda
Copy link
Member Author

carueda commented Sep 2, 2020

There're several references out there related with JVM resource use within containers ... I explored some quite a while ago, and one recent finding now that may be useful is this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant