On Aug 11, 2006, at 12:47, Philip M. Gollucci wrote:
David Wheeler wrote:
On Aug 11, 2006, at 12:34, Philip M. Gollucci wrote:
I'm also noticing that Apache::SizeLimit seems to be killing each
process after a single request on 64-bit Linux. I set the max
process size to 102400 and processes start at 66m, but it's still
killing every process every time. I'm wondering if perhaps
Apache::SizeLimit is checking the wrong memory information. Check
this out:
Can you run the SVN version of the test suite ?
Cool, there are failures:
$ make test TEST_VERBOSE=1
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /home/kineticode/Apache-
SizeLimit/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=1
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /home/kineticode/Apache-
SizeLimit/t/TEST -bugreport -verbose=1
/usr/local/apache/bin/httpd -d /home/kineticode/Apache-SizeLimit/t -
f /home/kineticode/Apache-SizeLimit/t/conf/httpd.conf -D APACHE1
using Apache/1.3.36
waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost:8529 started
t/apache/basic................1..12
# Using Apache/Test.pm version 1.28
ok 1 - check that _limits_are_exceeded() returns false without any
limits set
ok 2 - proc size is reported > 0
ok 3 - real_getppid() > 1
ok 4 - proc size is reported > 10240
ok 5 - check that _limits_are_exceeded() returns true based on max
process size
ok 6 - proc size is greater than shared size
ok 7 - check that _limits_are_exceeded() returns true based on min
share size
ok 8 - check that _limits_are_exceeded() returns true based on max
unshared size
ok 9 - set_check_interval set global
ok 10 - there is no PerlCleanupHandler before add_cleanup_handler()
ok 11 - there is one PerlCleanupHandler after add_cleanup_handler()
ok 12 - there is stil one PerlCleanupHandler after add_cleanup_handler
() a second time
ok
t/apache/check_n_requests....."t_start_error_log_watch" is not
exported by the Apache::TestUtil module
"t_finish_error_log_watch" is not exported by the Apache::TestUtil
module
Can't continue after import errors at t/apache/check_n_requests.t line 5
BEGIN failed--compilation aborted at t/apache/check_n_requests.t line 5.
dubious
Test returned status 9 (wstat 2304, 0x900)
t/apache/check_n_requests2...."t_start_error_log_watch" is not
exported by the Apache::TestUtil module
"t_finish_error_log_watch" is not exported by the Apache::TestUtil
module
Can't continue after import errors at t/apache/check_n_requests2.t
line 5
BEGIN failed--compilation aborted at t/apache/check_n_requests2.t
line 5.
dubious
Test returned status 9 (wstat 2304, 0x900)
t/apache/deprecated...........1..5
# Using Apache/Test.pm version 1.28
ok 1 - there is no PerlCleanupHandler before add_cleanup_handler()
ok 2 - setmax changes $MAX_PROCESS_SIZE
ok 3 - setmax changes $MIN_SHARE_SIZE
ok 4 - setmax_unshared changes $MAX_UNSHARED_SIZE
ok 5 - there is one PerlCleanupHandler after calling deprecated
functions
ok
t/pod.........................1..0 # Skip Test::Pod 1.14 required for
testing POD
skipped
all skipped: Test::Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------
-------
t/apache/check_n_requests.t 9 2304 ?? ?? ??
t/apache/check_n_requests2.t 9 2304 ?? ?? ??
1 test skipped.
Failed 2/5 test scripts. 0/17 subtests failed.
Files=5, Tests=17, 2 wallclock secs ( 1.13 cusr + 0.17 csys = 1.30
CPU)
Failed 2/5 test programs. 0/17 subtests failed.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]