shibd leaves connections in CLOSE_WAIT state

Cantor, Scott cantor.2 at
Mon Nov 14 21:04:24 GMT 2011

On 11/14/11 3:36 PM, "Roland Tanner" <roland at> wrote:
>Thanks Scott for quick reply. If it's a bug I can live with it, but I
>wasn't sure if I had just misconfigured something.

I don't know if it's a bug, but no, it's not anything you'd configure.

> Can I just ask for a
>bit of clarification on the last para? Do you mean 'switching to a
>modern MPM like Worker'.

I mean worker mode, yes. The SP is heavily designed around more web
threads, fewer processes. You go from hundreds of sockets and shibd
threads to 10-20 on a heavily accessed site.

> This server runs a few sites which are mainly
>written in PHP, which doesn't properly support the multi-thread MPM (a
>fairly major flaw in PHP, to say the least), so we may have no option
>but default Apache prefork, although I guess we could test to see how
>stable it is...

My understanding is that most people these days run PHP with an out of
process interpreter that's long lived, so the threading bugs in PHP don't
affect Apache.

-- Scott

More information about the users mailing list