You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/04/01 10:22:40 UTC

DO NOT REPLY [Bug 46949] New: Apache httpd serves sometimes content from another thread

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

           Summary: Apache httpd serves sometimes content from another
                    thread
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P4
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sander.de.boer@eo.nl


I have upgraded my apache 2.2.6 box with the _prefork_ mpm to apache
2.2.11 with the _worker_ mpm. It's a reverse proxy for 2 backend tomcat(ajp)
servers. Apache is also used as balancer.

<Proxy balancer://patmos>
  BalancerMember ajp://tomcat2:8009 route=mmbase01 min=5 smax=10 max=15
  BalancerMember ajp://tomcat1:8009 route=mmbase02 min=5 smax=10 max=15
</Proxy>

Since this upgrade apache serves sometimes wrong content. It seems that the
served content comes from another thread. Something like a thread-safe problem.

After this upgrade I tried figure out what the problem is. A downgrade to 2.2.6
with _worker_ mpm resolve the problem. After that I upgraded to 2.2.10 without
problems again.

My conclusion: This bug is introduced in 2.2.11.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949


Jakob Ericsson <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakob.ericsson@gmail.com




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949

--- Comment #9 from Jackie Rosen <ja...@hushmail.com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949





--- Comment #5 from Ruediger Pluem <rp...@apache.org>  2009-04-08 14:12:15 PST ---
Committed a fix to trunk (r763394 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=763394 ) that was tested successfully by Sander.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949


Jakob Ericsson <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #7 from Jakob Ericsson <ja...@gmail.com>  2009-04-17 00:22:45 PST ---
We are experiencing the same problem on Windows 2003 server (httpd 2.2.11).
Will patch be available in 2.2.12?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949





--- Comment #2 from Ruediger Pluem <rp...@apache.org>  2009-04-01 08:13:34 PST ---
Please provide the lines in the error log file containing proxy:

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949





--- Comment #3 from Rainer Jung <ra...@kippdata.de>  2009-04-02 14:34:25 PST ---
Since this seems to be difficult to reproduce in general, and it's easy for
you, could you please confirm, that your 2.2.10 and 2.2.11 tests were done on
the same systems, using the same backends, both versions using worker MPM, same
version of the APR libraries and same configuration?

If yes, then it should be interesting to redo the tests with

- httpd 2.2.10 using mod_proxy, mod_proxy_ajp and mod_proxy_balancer from
2.2.11
- the other way round, using httpd 2.2.11 and the proxy modules from 2.2.10

As far as I can see, the mixed environments should work in principle. In case
the problem shows only up with one of the two combinations we would know,
whether the root cause is in the core or the proxy modules.

Of course the info requested in comments #1 and #2 will be very helpful as
well.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #8 from Ruediger Pluem <rp...@apache.org>  2009-04-25 02:59:23 PST ---
Backport to 2.2.x as r768506 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=768506 )

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk,
                   |                            |PatchAvailable




--- Comment #6 from Ruediger Pluem <rp...@apache.org>  2009-04-08 14:26:30 PST ---
A patch for 2.2.11 can be also found in some hours at the mirrors and at
http://www.apache.org/dist/httpd/patches/apply_to_2.2.11

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949





--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2009-04-01 08:10:56 PST ---
Please provide

- A small test case including a small web application and a request that shows
the behaviour
- The Tomcat version you are using and what kind of Tomcat connector you are
using
- What clients trigger this issue (e.g. which browser, is it a POST or a GET
request)
- A network sniff that exposes the problem

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949





--- Comment #4 from Sander de Boer <sa...@eo.nl>  2009-04-03 04:26:20 PST ---
I am using apache-tomcat-6.0.16 with the following connector:
  <Connector port="8009" protocol="AJP/1.3" redirectPort="443" maxThreads="512"
enableLookups="false" />

This bug is hard to reproduce. It seems that this is only a problem onder load.
Even on a test envoirement I can't reproduce it.

Because many of our clients complain to this issue, I set up a wget loop that
downloaded a test.jsp containing the word 'hello'. In this way I saw there was
sometimes other content downloaded than the word 'hello'.

I think that the errors in the error log are not related to this issue, because
the time doesnt match:
[Sun Mar 29 16:35:00 2009] [error] proxy: read zero bytes, expecting 1902 bytes
[Sun Mar 29 16:38:03 2009] [error] proxy: read zero bytes, expecting 1902 bytes
[Sun Mar 29 16:51:49 2009] [error] proxy: read zero bytes, expecting 1902 bytes

I will try a mixed version of .10 and .11, but first weekend!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46949] Apache httpd serves sometimes content from another thread

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46949


Joshua M. Clulow <jo...@jmctech.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |josh@jmctech.com.au




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org