You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Barbara Post <ba...@achatpublic.com> on 2003/12/01 19:27:49 UTC

RE : RE : RE : RE : bug : make test fails

Thanks Stas, it works, I first didn't properly killed every httpd
process... but I still have a _slight_ bug, MaxNumberClients is too low
in (apache's ?) default configuration. This is unimportant except for
"make test" proofreading (my installation of apache works, at least
loads errorless).

# make test
<snip>
waiting 60 seconds for server to start: .[Mon Dec 01 19:53:45 2003]
[info] 23 Apache:: modules loaded
[Mon Dec 01 19:53:45 2003] [info] 5 APR:: modules loaded
[Mon Dec 01 19:53:45 2003] [info] base server + 11 vhosts ready to run
tests
...
waiting 60 seconds for server to start: ok (waited 3 secs)
server localhost:8529 started
server localhost:8530 listening (TestProtocol::echo_filter)
server localhost:8531 listening (TestProtocol::echo)
server localhost:8532 listening (TestPreConnection::note)
server localhost:8533 listening (TestHooks::stacked_handlers2)
server localhost:8534 listening (TestFilter::in_bbs_inject_header)
server localhost:8535 listening (TestFilter::in_str_msg)
server localhost:8536 listening (TestFilter::both_str_con_add)
server localhost:8537 listening (TestFilter::in_bbs_msg)
server localhost:8538 listening (TestDirective::perlmodule)
server localhost:8539 listening (TestDirective::perlrequire)
server localhost:8540 listening (TestPerl::ithreads)
server localhost:8541 listening (TestDirective::perlloadmodule4)
server localhost:8542 listening (TestDirective::perlloadmodule5)
server localhost:8543 listening (TestDirective::perlloadmodule3)
server localhost:8544 listening (TestDirective::perlloadmodule6)

still waiting for server to warm up:
............................................................
the server is down, giving up after 61 secs
!!! failed to start server! (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
*** Error code 1

# cat t/logs/error_log
<snip>
[Mon Dec 01 19:53:48 2003] [notice] Apache/2.0.48 (Unix)
mod_perl/1.99_11 Perl/v5.8.0 mod_ssl/2.0.48 OpenSSL/0.9.7a configured --
resuming normal operations
[Mon Dec 01 19:53:48 2003] [info] Server built: Dec  1 2003 12:22:41
[Mon Dec 01 19:53:48 2003] [debug] prefork.c(1037): AcceptMutex: flock
(default: flock)
[Mon Dec 01 19:53:50 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting

su-2.05b# cat /usr/local/apache2/conf/httpd.conf | grep MaxClients
# MaxClients: maximum number of server processes allowed to start
MaxClients         150
# MaxClients: maximum number of simultaneous client connections
MaxClients         150
# MaxClients:   max number of threads we can have (1 thread == 1 client)
MaxClients                 50

Barbara Post

-----Message d'origine-----
De : Stas Bekman [mailto:stas@stason.org] 
Envoyé : lundi 1 décembre 2003 18:54
À : barbara post
Cc : dev@perl.apache.org
Objet : Re: RE : RE : RE : bug : make test fails


Barbara Post wrote:
> Hi,
> 
> The patch works :-) but I have troubles with "address already in 
> use"...
> 
> make test (as normal user) shows :
> 
> waiting 60 seconds for server to start: .[Mon Dec 01 13:22:43 2003] 
> [info] 23 Apache:: modules loaded [Mon Dec 01 13:22:43 2003] [info] 5 
> APR:: modules loaded [Mon Dec 01 13:22:43 2003] [info] base server + 
> 11 vhosts ready to run tests
> (48)Address already in use: make_sock: could not bind to address
> [::]:8544

You must have had an older instance of httpd running. Please try:

% killall httpd
% ps auxc | grep httpd
% make test



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: RE : RE : RE : RE : bug : make test fails

Posted by Stas Bekman <st...@stason.org>.
Barbara Post wrote:
> Thanks Stas, it works, I first didn't properly killed every httpd
> process... but I still have a _slight_ bug, MaxNumberClients is too low
> in (apache's ?) default configuration. This is unimportant except for
> "make test" proofreading (my installation of apache works, at least
> loads errorless).

Nuh,

[Mon Dec 01 19:53:50 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting

is not a problem in this situation. It's only an issue in production when all 
servers are busy and new requests will be put on hold and served immediately.

But this is strange:

> # make test
> <snip>
> waiting 60 seconds for server to start: .[Mon Dec 01 19:53:45 2003]
> [info] 23 Apache:: modules loaded
> [Mon Dec 01 19:53:45 2003] [info] 5 APR:: modules loaded
> [Mon Dec 01 19:53:45 2003] [info] base server + 11 vhosts ready to run
> tests
> ...
> waiting 60 seconds for server to start: ok (waited 3 secs)
> server localhost:8529 started
> server localhost:8530 listening (TestProtocol::echo_filter)
> server localhost:8531 listening (TestProtocol::echo)
> server localhost:8532 listening (TestPreConnection::note)
> server localhost:8533 listening (TestHooks::stacked_handlers2)
> server localhost:8534 listening (TestFilter::in_bbs_inject_header)
> server localhost:8535 listening (TestFilter::in_str_msg)
> server localhost:8536 listening (TestFilter::both_str_con_add)
> server localhost:8537 listening (TestFilter::in_bbs_msg)
> server localhost:8538 listening (TestDirective::perlmodule)
> server localhost:8539 listening (TestDirective::perlrequire)
> server localhost:8540 listening (TestPerl::ithreads)
> server localhost:8541 listening (TestDirective::perlloadmodule4)
> server localhost:8542 listening (TestDirective::perlloadmodule5)
> server localhost:8543 listening (TestDirective::perlloadmodule3)
> server localhost:8544 listening (TestDirective::perlloadmodule6)
> 
> still waiting for server to warm up:
> ............................................................
> the server is down, giving up after 61 secs
> !!! failed to start server! (please examine t/logs/error_log)
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> *** Error code 1

after repeating the killall process, can you try:

t/TEST -start
t/TEST -run t/apache/read.t

I wonder if it fails because of some problem in Apache::TestClient::request, 
which is now masked on startup or because of a different problem. If 
t/apache/read.t runs properly then it's the former, if not it's the latter.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org