Hello!,
Well, I would have liked to test my theory, but... :-(
Anyway, here is what I think it's happening in your servers:
Wordpress has a library ("wp-includes/http.php") that uses different
"transports" to make POST and GET requests. To select the transport to
use, there are priorities:
%<-------------%<-------------%<-------------%<-------------%<-------------%<-------------
if ( is_null($working_transport) ) {
if ( true === WP_Http_ExtHttp::test($args) ) {
$working_transport['exthttp'] = new WP_Http_ExtHttp();
$blocking_transport[] = &$working_transport['exthttp'];
} else if ( true === WP_Http_Curl::test($args) ) {
$working_transport['curl'] = new WP_Http_Curl();
$blocking_transport[] = &$working_transport['curl'];
} else if ( true === WP_Http_Streams::test($args) ) {
$working_transport['streams'] = new WP_Http_Streams();
$blocking_transport[] = &$working_transport['streams'];
} else if ( true === WP_Http_Fsockopen::test($args) ) {
$working_transport['fsockopen'] = new WP_Http_Fsockopen();
$blocking_transport[] = &$working_transport['fsockopen'];
}
foreach ( array('curl', 'streams', 'fsockopen', 'exthttp') as
$transport ) {
if ( isset($working_transport[$transport]) )
$nonblocking_transport[] =
&$working_transport[$transport];
}
}
%<-------------%<-------------%<-------------%<-------------%<-------------%<-------------
Well, my guess is that your system doesn't have installed "http
extension" (the first one) nor "curl module", so probably it's using
"streams" transport.
As there is a bug in PHP related to "streams" [1], you are getting
these 500 errors sometimes. In fact, I discovered the POST bug using
rtgui [2], because it makes use of "streams" too.
Then, I think you have two options to solve your problems:
1.- Use "trunk" version of Cherokee.
2.- apt-get install php5-curl if not installed.
If you have time, or have the chace to give it a try... please, tell us... ;)
[1] http://69.147.83.196/bug.php?id=43222
[2] http://code.google.com/p/rtgui/
On Mon, Sep 14, 2009 at 12:16 PM, Urko Masse <[email protected]> wrote:
> Hey everyone,
>
> Thanks for all your help, but unfortunately (in a way) my boss has realized
> there is too much on my plate right now (about 5 other major projects in
> progress) and the decision has been made to move Wordpress MU to a separate
> server right away (on Apache + Windows), where he can manage it. I'm the
> only one here with Linux knowledge, you see.
>
> Not a very nice one to swallow, but the decision is understandable, I guess.
>
> We'll keep Moodle on Cherokee, where it's really shining, but I'll drop the
> Rewrite rules of WPMU.
>
> It doesn't look like I'll ever get to help out on this issue. Really sorry
> about that.
> --
> Urko Masse
> +84-90-9088876
>
> Charles de Gaulle - "The better I get to know men, the more I find myself
> loving dogs."
>
> On Sat, Sep 12, 2009 at 08:50, Urko Masse <[email protected]> wrote:
>>
>> I'll try to make some time on Monday to try trunk. But I'll have to figure
>> out how to build Cherokee from source. I'm using the PPA now, on Ubuntu
>> 8.04. I have a test server, cloned from the real one, where I run the
>> updates first.
>>
>> Thanks everyone for your replies!
>> --
>> Urko Masse
>> +84-90-9088876
>>
>> Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I
>> earn, I spend."
>>
>> On Sat, Sep 12, 2009 at 05:30, Jorge Sarmiento <[email protected]>
>> wrote:
>>>
>>> Please confirm us if the trunk update solved the issue, I would like to
>>> patch my servers before any errors start showing up.
>>>
>>> Jorge S.
>>>
>>> On Fri, Sep 11, 2009 at 9:04 AM, Alejandro Barrera
>>> <[email protected]> wrote:
>>>>
>>>> On Friday 11 September 2009 12:41:33 Leonel Nunez wrote:
>>>> > > Once the issue has started happening, I can reproduce it
>>>> > > consistently
>>>> > > when trying to log in to Wordpress MU.
>>>> > >
>>>> > > However, I can't say if getting multiple users to log in to WPMU is
>>>> > > what
>>>> > > triggers it, or if it is simply a high load of users on different
>>>> > > WPMU
>>>> > > pages.
>>>> > >
>>>> > > It only happens when there is somewhat high load on WPMU. High load
>>>> > > on
>>>> > > Moodle doesn't trigger this.
>>>> > >
>>>> > > When the problem is "active", before restarting Cherokee, if I am
>>>> > > already
>>>> > > logged on, everything seems to work fine, but no additional users
>>>> > > can log
>>>> > > on. Browsing around the blogs also works fine.
>>>> > >
>>>> > > So it seems it is the logging in page. But the teacher working in
>>>> > > the lab
>>>> > > says that it also happened when they were updating many posts at the
>>>> > > same
>>>> > > time.
>>>> > >
>>>> > > In any case, the logging in process is a good place to check
>>>> > > closely.
>>>> > >
>>>> > > Could it be related to cookies, or sessions, when there are complex
>>>> > > Rewrite
>>>> > > rules being used?
>>>> > >
>>>> > > --
>>>> > > Urko Masse
>>>> > > +84-90-9088876
>>>> >
>>>> > looks like cookies issue ...
>>>> >
>>>> > Does the loggin requieres cookies only sent by https ??
>>>> >
>>>>
>>>> That might be it. Urko what version of php are you using? One of the
>>>> latest
>>>> versions of php was giving me segfaults with sessions and cookies which
>>>> translated into 500 errors.
>>>>
>>>> > Leonel
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Cherokee mailing list
>>>> > [email protected]
>>>> > http://lists.octality.com/listinfo/cherokee
>>>>
>>>> --
>>>> http://www.neurosecurity.com
>>>>
>>>> "We must be the change we wish to see in the world"
>>>> Mahatma Gandhi
>>>> _______________________________________________
>>>> Cherokee mailing list
>>>> [email protected]
>>>> http://lists.octality.com/listinfo/cherokee
>>>
>>>
>>> _______________________________________________
>>> Cherokee mailing list
>>> [email protected]
>>> http://lists.octality.com/listinfo/cherokee
>>>
>>
>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
--
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee