Code Monkey home page Code Monkey logo

orr's People

Contributors

carueda avatar lewismc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

orr's Issues

JVM not getting enough memory in the container

@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

ontologies don't contain versions

When you download an ontology, it is a particular version of the ontology. However, the version is not visible within the ontology. Exported hosted ontologies ideally could contain the ORR version in the versionIRI attribute.

License

@graybeal, @lewismc, @brandonnodnarb :

John: we haven't associated any license to the ORR related software repositories. Are you OK with using Apache2? I'll go ahead with adding Apache2 if I don't hear any objections within say a couple days from now.

faster startup

On the COR instance I noted a rather long delay for the orr service to completely be up and running:

$ docker logs -f orr
...
WARNING .. org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom 
Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [144,668] milliseconds.
...

https://wiki.apache.org/tomcat/HowTo/FasterStartUp#Entropy_Source suggests:

There is a way to configure JRE to use a non-blocking entropy source by setting the following system property: -Djava.security.egd=file:/dev/./urandom

which is mentioned in docker-library/tomcat#12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.