[mp2] t/hooks/authz.t and t/hooks/authen_basic.t fail

2010-03-20 Thread John Sharpe


Ubuntu 8.04

$ make test TEST_VERBOSE=1 TEST_FILES="hooks/authz.t hooks/authen_basic.t"

Test Summary Report
---
t/hooks/authz.t   (Wstat: 0 Tests: 4 Failed: 1)
 Failed test:  4
t/hooks/authen_basic.t (Wstat: 0 Tests: 4 Failed: 1)
 Failed test:  4
Files=2, Tests=8,  2 wallclock secs ( 0.03 usr  0.00 sys +  0.81 cusr  
0.12 csys =  0.96 CPU)

Result: FAIL
Failed 2/2 test programs. 2/8 subtests failed.
[warning] server localhost:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
++
| Please file a bug report: http://perl.apache.org/bugs/ |
++
make: *** [run_tests] Error 1

$ cat t/logs/error.log

END in modperl_extra.pl, pid=6658
[Sat Mar 20 11:06:50 2010] [notice] Apache/2.2.15 (Unix) world 
domination series/2.0 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming 
normal operations

[Sat Mar 20 11:06:50 2010] [info] Server built: Mar 20 2010 07:17:32
[Sat Mar 20 11:06:50 2010] [debug] prefork.c(1013): AcceptMutex: sysvsem 
(default: sysvsem)

[Sat Mar 20 11:06:52 2010] [info] Child process pid=6673 is exiting
[Sat Mar 20 11:06:52 2010] [info] Child process pid=6673 is exiting - 
server push

END in modperl_extra.pl, pid=6673
[Sat Mar 20 11:06:52 2010] [info] Child process pid=6672 is exiting
[Sat Mar 20 11:06:52 2010] [info] Child process pid=6672 is exiting - 
server push

END in modperl_extra.pl, pid=6672
[Sat Mar 20 11:06:52 2010] [info] removed PID file 
/home/john/mod_perl-2.0.4/t/logs/httpd.pid (pid=6665)

[Sat Mar 20 11:06:52 2010] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=6665


$ cd ModPerl-Registry
$ t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /opt/perl/bin/perl 
/home/john/mod_perl-2.0.4/ModPerl-Registry/t/TEST -clean


$ t/TEST -verbose closure.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /opt/perl/bin/perl 
/home/john/mod_perl-2.0.4/ModPerl-Registry/t/TEST -verbose 'closure.t'
/opt/httpd/bin/httpd  -d /home/john/mod_perl-2.0.4/ModPerl-Registry/t -f 
/home/john/mod_perl-2.0.4/ModPerl-Registry/t/conf/httpd.conf -D APACHE2

using Apache/2.2.15 (prefork MPM)

waiting 90 seconds for server to start: ..
waiting 90 seconds for server to start: ok (waited 0 secs)
server localhost:8529 started
t/closure.t ..
1..6
# Running under perl version 5.010001 for linux
# Current time local: Sat Mar 20 11:35:02 2010
# Current time GMT:   Sat Mar 20 11:35:02 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.31
# testing : never the closure problem
# expected: 0
# received: 0
ok 1
# testing : never the closure problem
# expected: 1
# received: 1
ok 2
# testing : the closure problem should exist
# expected: 1
# received: 1
ok 3
# testing : no closure on the first request
# expected: 1
# received: 1
ok 4
# testing : the closure problem should exist
# expected: 1
# received: 1
ok 5
# testing : no reload on modification, the closure problem persists
# expected: 1
# received: 1
ok 6
ok
All tests successful.
Files=1, Tests=6,  1 wallclock secs ( 0.04 usr  0.01 sys +  0.45 cusr  
0.05 csys =  0.55 CPU)

Result: PASS
[warning] server localhost:8529 shutdown



-8<-- Start Bug Report 8<--
1. Problem Description:

 [DESCRIBE THE PROBLEM HERE]

2. Used Components and their Configuration:

*** mod_perl version 2.04

*** using /home/john/mod_perl-2.0.4/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
 MP_APR_LIB => aprext
 MP_AP_PREFIX   => /opt/httpd
 MP_COMPAT_1X   => 1
 MP_GENERATE_XS => 1
 MP_LIBNAME => mod_perl
 MP_USE_DSO => 1


*** /opt/httpd/bin/httpd -V
Server version: Apache/2.2.15 (Unix)
Server built:   Mar 20 2010 07:17:32
Server's Module Magic Number: 20051115:24
Server loaded:  APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture:   32-bit
Server MPM: Prefork
 threaded: no
   forked: yes (variable process count)
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/opt/httpd"
-D SUEXEC_BIN="/opt/httpd/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

*** /usr/bin/ldd /opt/httpd/bin/httpd
   linux-gate.so.1 =>  (0xb7f77000)
   libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f4c000)
   libaprutil-1.so.0 => /opt/httpd/lib/libaprutil-1.so.0 (0xb7f3)
   libexpat.so.0 => /opt/httpd/lib/libexpat.so.0 (0xb7f12000)
   libapr-1.so.0 => /

Re: mod_perl memory

2010-03-20 Thread Torsten Förtsch
On Friday 19 March 2010 22:07:39 André Warnier wrote:
> In one of your initial posts, you mentioned sending a response with a 
> Content-type "multipart/x-mixed-replace".
> What does that do exactly ?
> A pointer would be fine.
> 
http://en.wikipedia.org/wiki/Push_technology#HTTP_server_push
http://foertsch.name/ModPerl-Tricks/ServerPush.shtml

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net