https://issues.apache.org/bugzilla/show_bug.cgi?id=55209

            Bug ID: 55209
           Summary: Sometimes returns junk instead of headers even on
                    static files
           Product: Tomcat 7
           Version: 7.0.41
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: t...@wwc.lv

Created attachment 30560
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30560&action=edit
Good and bad requests

After about a day of runtime Tomcat randomly starts to return garbage data
instead of proper headers (see attachments)

It happens even on static files with no application at all.

Configurations are very standard, the only difference is thread pool, but I
tried to disable it too.

    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="256" minSpareThreads="4"/>

    <Connector port="8081"
protocol="org.apache.coyote.http11.Http11NioProtocol"
                executor="tomcatThreadPool"
               connectionTimeout="20000"
               redirectPort="8443" />


ROOT contains only one index file:
[12:57 root@g3-af /usr/share/tomcat/webapps/ROOT]$ ls -al
total 12
drwxr-xr-x 2 tomcat tomcat 4096 Jul  4 13:48 .
drwxr-xr-x 5 tomcat tomcat 4096 Jul  4 13:48 ..
-rw------- 1 tomcat tomcat 1135 Jul  4 13:48 index.html


Restarting Tomcat helps for another day then it happens back.

I will leave server running for some days, you can try to get
http://g3.af.madsword.com a dozen times to see it for yourself.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to