freme-project / freme-ner

Apache License 2.0
6 stars 1 forks source link

FREME NER crashes #83

Closed jnehring closed 8 years ago

jnehring commented 8 years ago

Sometimes FREME NER crashes. So it does not crash only the current HTTP request but it terminates the whole Java application. This should not happen. I found in the logfiles

[ERROR] [03/18/2016 14:06:48.787] [api-akka.actor.default-dispatcher-6] [ActorSystem(api)] Uncaught error from thread [api-akka.actor.default-dispatcher-6] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled

So I want to investigate what akka.jvm-exit-on-fatal-error means and if we can set it to another value for better stability.

sandroacoelho commented 8 years ago

Hi @jnehring. I will investigate this issue asap and then provide a solution.

jnehring commented 8 years ago

thanks @sandroacoelho :)

jnehring commented 8 years ago

@ArneBinder please do research about this configuration option and check if this can improve the stability of FREME NER.

Katsivelisp commented 8 years ago

Hi guys,

I don't know if this is related really, but FREME NER has been a bit unstable for the past 2 or 3 days. We get Gateway 502 errors a lot and the service is down for hours during the day.

m1ci commented 8 years ago

Are you using FREME NER live or dev? @jnehring is doing architecture update and FREME NER dev is unstable these days.

Katsivelisp commented 8 years ago

We use FREME dev. Should we go for the live one?

m1ci commented 8 years ago

FREME dev is dev (unstable) version :) We try to keep it as stable as possible, but when we test some new feature, it might be down for some time

We strongly recommend use of FREME live in your production systems.

Katsivelisp commented 8 years ago

Well, we do use the live version for our production systems, but we want to test the most recent developments, so that I can come back to you with the dataset we were talking about. Anyway, point taken, we will use FREME live. :)

jnehring commented 8 years ago

Im currently working on #43 and so FREME NER does not work on freme-dev right now.

jnehring commented 8 years ago

freme-ner should work now on freme-dev

ArneBinder commented 8 years ago

akka.jvm-exit-on-fatal-error can be disabled easily, see this and akka configuration reference for a (really) short description. Should we do so? I think in general it is not recommended, akka.jvm-exit-on-fatal-error = on should prevent inconsistent states.

jnehring commented 8 years ago

The setting is discouraged. Also the error did not appear in the last weeks. We can still consider using this configuration option when the bug comes back. I think we fixed it.