Re: Apache Children Stuck on futex

SalusaSecondus <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
(Sorry about the grave-dig, but as this is still an issue.)

I'm still coming up to speed on the inner working of mod_perl (I've
never played in it before), but Max asked me to take a look at the futex
problem, so I thought I'd try to pick up where it was left off and
hopefully get this fixed.

My system:
Linux modperl 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
Apache/2.2.20 (build from Ubuntu source packages with debug symbols)
mod_perl 2.0.5 (build from Ubuntu source packages with debug symbols)

Torsten Förtsch wrote:

> Can you install the symbol tables for your modperl and perhaps check the
> values of *tipool in the core? I think it is
>
> tipool->size == tipool->in_use == tipool->cfg->max

3, 0, and 5 respectively for all threads blocked on
modperl_tipool_wait(tipool).

> BTW, there are IMHO many points about the tipool implementation that
can be improved.
> Why do we use these lists? Wouldn't it be better to allocated an array
of tipool->cfg->max
> pointers? Or perhaps an apr_hash_t in pconf?

As I don't understand the inner workings yet, I don't know, and hope
figure out.

Greg
P.S. Since it's been a while, here is the archived thread:
http://www.gossamer-threads.com/lists/modperl/modperl/103558#103558
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAk85M4QACgkQF1oFywYE3z7GvACfSZ2uU7Vfnn60rRlEJHBNLkVk
nL8AoO7bz5sEM/B7OSDdZhgxbvi1j7gT
=NCp+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.