You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Eduardo Quintanilla <eq...@bnext.mx> on 2018/12/04 15:24:31 UTC
Help debugging stream error
Hi,
I am having an sporadic error with our app that slows a lot the responses of the server.
Any suggestions about how to find the cause of the error will be appreciated.
Tomcat version: Apache Tomcat/8.5.20
Java: JDK 1.8.0_191-b12
VM Options: -Xms200m -Xmx7g -XX:PermSize=256m -XX:MaxPermSize=512m -Drebel.always.rerun.clinit=true -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory -Dfile.encoding=UTF8 -javaagent:"C:\equintanilla\Software\glowroot\glowroot.jar"
Logs:
04-Dec-2018 09:13:15.295 GRAVE [https-openssl-apr-9380-exec-123] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
java.lang.StackOverflowError
at java.util.Collections$SetFromMap.contains(Collections.java:5459)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:67)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
Connector:
<Connector port="9380" protocol="org.apache.coyote.http11.Http11AprProtocol"
URIEncoding="UTF-8" maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeyFile="conf/localhost.key"
certificateFile="conf/localhost.cer"
type="RSA" />
</SSLHostConfig>
</Connector>
Eduardo Quintanilla
Software Developer
Block Networks<http://www.blocknetworks.com.mx/>
RE: Help debugging stream error
Posted by Eduardo Quintanilla <eq...@bnext.mx>.
Thanks Mark, I will keep the changelog in mind for future references.
Eduardo Quintanilla
Software Developer
Block NetworksÂ
-----Original Message-----
From: Mark Thomas <ma...@apache.org>
Sent: martes, 4 de diciembre de 2018 11:00 a. m.
To: users@tomcat.apache.org
Subject: Re: Help debugging stream error
On 04/12/2018 15:24, Eduardo Quintanilla wrote:
> Hi,
>
> I am having an sporadic error with our app that slows a lot the responses of the server.
> Any suggestions about how to find the cause of the error will be appreciated.
>
> Tomcat version: Apache Tomcat/8.5.20
> Java: JDK 1.8.0_191-b12
> VM Options: -Xms200m -Xmx7g -XX:PermSize=256m -XX:MaxPermSize=512m -Drebel.always.rerun.clinit=true -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory -Dfile.encoding=UTF8 -javaagent:"C:\equintanilla\Software\glowroot\glowroot.jar"
>
> Logs:
> 04-Dec-2018 09:13:15.295 GRAVE [https-openssl-apr-9380-exec-123]
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error
> reading request, ignored java.lang.StackOverflowError
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml
Search for "HTTP/2" or "StackOverflowError"
The do the obvious to resolve the issue.
Mark
> at java.util.Collections$SetFromMap.contains(Collections.java:5459)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:67)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at
> org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.jav
> a:71)
>
> Connector:
> <Connector port="9380" protocol="org.apache.coyote.http11.Http11AprProtocol"
> URIEncoding="UTF-8" maxThreads="150" SSLEnabled="true" >
> <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
> <SSLHostConfig>
> <Certificate certificateKeyFile="conf/localhost.key"
> certificateFile="conf/localhost.cer"
> type="RSA" />
> </SSLHostConfig>
> </Connector>
>
>
> Eduardo Quintanilla
> Software Developer
> Block Networks<http://www.blocknetworks.com.mx/>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Help debugging stream error
Posted by Mark Thomas <ma...@apache.org>.
On 04/12/2018 15:24, Eduardo Quintanilla wrote:
> Hi,
>
> I am having an sporadic error with our app that slows a lot the responses of the server.
> Any suggestions about how to find the cause of the error will be appreciated.
>
> Tomcat version: Apache Tomcat/8.5.20
> Java: JDK 1.8.0_191-b12
> VM Options: -Xms200m -Xmx7g -XX:PermSize=256m -XX:MaxPermSize=512m -Drebel.always.rerun.clinit=true -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory -Dfile.encoding=UTF8 -javaagent:"C:\equintanilla\Software\glowroot\glowroot.jar"
>
> Logs:
> 04-Dec-2018 09:13:15.295 GRAVE [https-openssl-apr-9380-exec-123] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
> java.lang.StackOverflowError
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml
Search for "HTTP/2" or "StackOverflowError"
The do the obvious to resolve the issue.
Mark
> at java.util.Collections$SetFromMap.contains(Collections.java:5459)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:67)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
> at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:71)
>
> Connector:
> <Connector port="9380" protocol="org.apache.coyote.http11.Http11AprProtocol"
> URIEncoding="UTF-8" maxThreads="150" SSLEnabled="true" >
> <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
> <SSLHostConfig>
> <Certificate certificateKeyFile="conf/localhost.key"
> certificateFile="conf/localhost.cer"
> type="RSA" />
> </SSLHostConfig>
> </Connector>
>
>
> Eduardo Quintanilla
> Software Developer
> Block Networks<http://www.blocknetworks.com.mx/>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org