ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
"Free to wrong pool" error in Apache logs under high load
by Scott Tomilson other posts by this author
Oct 9 2008 12:08AM messages near this date
Re: Internal redirect inside an input filter | Re: "Free to wrong pool" error in Apache logs under high load
Hi all,

Apologies if this isn't the right forum, but I am not sure where to turn
to...

I have mod_perl 2.0.4 installed with ActivePerl 5.10.0 under Apache 2.2.9
running on Windows 2003 Server SP1.

I have a very simple PerlResponseHandler hooked in via httpd.conf for a
specific Location.  My custom PerlResponseHandler simply prints back "Hello
World" on the HTTP Response.  E.g. (simplified obviously):

sub handler {
    my $r = shift;
    my $s = $r-> server;
    print "Hello World";
    return Apache2::Const::OK;
}
1;

The PerlResponseHandler works fine for most requests, however if I blast a
whole bunch of HTTP requests on multiple threads, etc to Apache, the Web
server stops handling responses.  Connections eventually time out with no
response.  Apache error.log shows the following:

Free to wrong pool da2750 not 184a6a8.

Which leads me to believe there is something funny going on with multiple
threads, etc.

Where do I start to dive in and figure this out?  I don't think I am doing
anything out of the ordinary - it is pretty basic stuff.  I am concerned my
version of mod_perl or ActivePerl has some issues around this...

Any tips greatly appreciated!

Thanks,
Scott
Thread:
Scott Tomilson
Perrin Harkins
Scott Tomilson
Torsten Foertsch
Scott Tomilson
Scott Tomilson
aw
Torsten Foertsch

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved