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

HTTPServerLoadTest hanging #21

Closed
danielnaber opened this issue Oct 9, 2013 · 3 comments
Closed

HTTPServerLoadTest hanging #21

danielnaber opened this issue Oct 9, 2013 · 3 comments
Labels

Comments

@danielnaber
Copy link
Member

I just had another case of HTTPServerLoadTest hanging, like #13. Unfortunately I made a mistake so I don't have a stacktrace this time. I'm now running the test again for a longer time, hopefully I can reproduce the issue.

@danielnaber
Copy link
Member Author

I could just reproduce it with while true; do mvn test; done in languagetool-server. Here's the part of the stacktrace (kill -QUIT <pid>) that's probably relevant:

"pool-3-thread-6" prio=10 tid=0x00007f4c68007000 nid=0x2d7e runnable [0x00007f4ca3af8000]
   java.lang.Thread.State: RUNNABLE
    at java.util.HashMap.put(HashMap.java:473)
    at org.languagetool.tagging.disambiguation.MultiWordChunker.lazyInit(MultiWordChunker.java:92)
    at org.languagetool.tagging.disambiguation.MultiWordChunker.disambiguate(MultiWordChunker.java:106)
    at org.languagetool.tagging.disambiguation.pl.PolishHybridDisambiguator.disambiguate(PolishHybridDisambiguator.java:48)
    at org.languagetool.JLanguageTool.getAnalyzedSentence(JLanguageTool.java:755)
    at org.languagetool.JLanguageTool.analyzeSentences(JLanguageTool.java:578)
    at org.languagetool.JLanguageTool.check(JLanguageTool.java:551)
    at org.languagetool.JLanguageTool.check(JLanguageTool.java:511)
    at org.languagetool.JLanguageTool.check(JLanguageTool.java:507)
    at org.languagetool.server.LanguageToolHttpHandler.checkText(LanguageToolHttpHandler.java:231)
    at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHttpHandler.java:108)

"pool-3-thread-5" prio=10 tid=0x00007f4c68082000 nid=0x2d7d runnable [0x00007f4ca3bf9000]
   java.lang.Thread.State: RUNNABLE
    at java.util.HashMap.put(HashMap.java:473)
    at org.languagetool.tagging.disambiguation.MultiWordChunker.lazyInit(MultiWordChunker.java:92)
    at org.languagetool.tagging.disambiguation.MultiWordChunker.disambiguate(MultiWordChunker.java:106)
    at org.languagetool.tagging.disambiguation.pl.PolishHybridDisambiguator.disambiguate(PolishHybridDisambiguator.java:48)
    at org.languagetool.JLanguageTool.getAnalyzedSentence(JLanguageTool.java:755)
    at org.languagetool.JLanguageTool.analyzeSentences(JLanguageTool.java:578)
    at org.languagetool.JLanguageTool.check(JLanguageTool.java:551)
    at org.languagetool.JLanguageTool.check(JLanguageTool.java:511)
    at org.languagetool.JLanguageTool.check(JLanguageTool.java:507)
    at org.languagetool.server.LanguageToolHttpHandler.checkText(LanguageToolHttpHandler.java:231)
    at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHttpHandler.java:108)

@danielnaber
Copy link
Member Author

@slotties Do you have time to take a look at this?

@slotties
Copy link
Contributor

Sorry, I've been busy lately and just got to take a look on it.

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

2 participants