Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

2005-05-24 Thread Philippe M. Chiasson
Flavio Curti wrote: Hello I have a problem running mod_perl-2.0.0 (and the latest devel snapshot too): Apache segfaults on startup as soon as I have the LoadModule directive in the httpd.conf. This also happens when running make test. I have compiled mod_perl with debugging enabled and

Re: APR::Base64 Bug

2005-05-24 Thread Torsten Foertsch
On Monday 23 May 2005 22:57, Stas Bekman wrote: if it works for you, i'll commit it. The attachment contains a complete patch including the test. All tests successful, 1 test skipped. Files=229, Tests=2475, 81 wallclock secs (62.48 cusr + 6.47 csys = 68.95 CPU) Torsten diff -Naur

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

2005-05-24 Thread Flavio Curti
Hi Philippe List (Sorry for not looking in the archives good enough!) On 5/24/05, Philippe M. Chiasson [EMAIL PROTECTED] wrote: Flavio Curti wrote: I have a problem running mod_perl-2.0.0 (and the latest devel snapshot too): It would be quite helpfull if you could just get me: (gdb) print

Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Andreas.Nolte
Title: Nachricht Hifolks, recently I deployed Apache::SizeLimit on a mod_perl 1.29 machine running SLES 9, since we had - ehm - runaway processes After a while I stumbled across messages like this: /var/web/logs/error_log_modperl.3:[Tue May 17 20:45:04 2005] (21886)

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Torsten Foertsch
On Tuesday 24 May 2005 09:39, [EMAIL PROTECTED] wrote: I claim, the main process detection does never work and does not make sense. Why? Not even when the apache is started on boot through init, the PPID will be 1, but some shell / rc pid. You can only find the PPID in the PID file that

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Marc Gràcia
El dt 24 de 05 del 2005 a les 11:19 +0200, en/na Torsten Foertsch va escriure: On Tuesday 24 May 2005 09:39, [EMAIL PROTECTED] wrote: I claim, the main process detection does never work and does not make sense. Why? Not even when the apache is started on boot through init, the PPID will

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Torsten Foertsch
On Tuesday 24 May 2005 11:48, Marc Grcia wrote: But there is a problem with Perls getppid() implementation. Modern Perls issue the syscall only once and cache the result. Maybe you somehow hit that. Normally the cache is invalidated when Perl forks, but Apache does its own fork. Thus maybe

AW: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Andreas.Nolte
.. So this is a perfect match for a PerlChildInitHandler - isn´t it ? Cheers Andreas -Ursprüngliche Nachricht- Von: Torsten Foertsch [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 24. Mai 2005 12:00 An: modperl@perl.apache.org Betreff: Re: Apache::SizeLimit ( mp1 and mp2 )- I think

Re: APR::Base64 Bug

2005-05-24 Thread Stas Bekman
Torsten Foertsch wrote: On Monday 23 May 2005 22:57, Stas Bekman wrote: if it works for you, i'll commit it. The attachment contains a complete patch including the test. Thanks, Torsten, committed. -- __ Stas Bekman

Re: RC6 build problems

2005-05-24 Thread Malcolm J Harwood
On Tuesday 17 May 2005 01:59 pm, you wrote: The line: TypesConfig /etc/httpd/conf/mime.types Should be enclosed in IfModule mod_mime.c /IfModule, for the case where mod_mime is disabled. I'm not seeing where the httpd.conf file is generated though. This was an Apache-Test issue,

Re: DirectoryIndex ignored when using perl-handler

2005-05-24 Thread Thomas Hilbig
--- Geoffrey Young [EMAIL PROTECTED] wrote: this needs to be fixed. those constants are explicitly exported in Fixup.pm, so if you're getting those warnings something is wrong. the pragmata you commented out is there for your protection - if you need to comment it out something else is

Re: [mp2] Dynamically pushing output filters -- Questions

2005-05-24 Thread Chris Jacobson
Stas Bekman wrote: Stas Bekman wrote: $r-add_output_filter($FilterObject-handler); # This call will Seg Fault the server The fact that you get a segfault is not good, we should take care of that. Chris, mind to give us a simple case to reproduce that segfault? Not at all. I am

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Perrin Harkins
On Tuesday 24 May 2005 3:39 am, [EMAIL PROTECTED] wrote: I claim, the main process detection does never work and does not make sense. As other have pointed out, it does work, but apparently has issues on some platforms for some people. However, I can't see any reason why the main process

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Philip M. Gollucci
Perrin Harkins wrote: On Tuesday 24 May 2005 3:39 am, [EMAIL PROTECTED] wrote: I claim, the main process detection does never work and does not make sense. As other have pointed out, it does work, but apparently has issues on some platforms for some people. However, I can't see

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Perrin Harkins
On Tuesday 24 May 2005 2:36 pm, Philip M. Gollucci wrote: httpd -X What would be appropriate behavior in that case? Report the size but not kill the process? - Perrin

Re: Apache::SizeLimit ( mp1 and mp2 )- I think there is a logical error in the code ...

2005-05-24 Thread Philip M. Gollucci
Perrin Harkins wrote: On Tuesday 24 May 2005 2:36 pm, Philip M. Gollucci wrote: httpd -X What would be appropriate behavior in that case? Report the size but not kill the process? That sounds good to me. I wasn't really following this thread. I just saw something I could

Re: RC6 build problems

2005-05-24 Thread Stas Bekman
Malcolm J Harwood wrote: On Tuesday 17 May 2005 01:59 pm, you wrote: The line: TypesConfig /etc/httpd/conf/mime.types Should be enclosed in IfModule mod_mime.c /IfModule, for the case where mod_mime is disabled. I'm not seeing where the httpd.conf file is generated though. This was

Re: [mp2] Dynamically pushing output filters -- Questions

2005-05-24 Thread Stas Bekman
Chris Jacobson wrote: Stas Bekman wrote: Stas Bekman wrote: $r-add_output_filter($FilterObject-handler); # This call will Seg Fault the server The fact that you get a segfault is not good, we should take care of that. Chris, mind to give us a simple case to reproduce that

Re: RC6 build problems

2005-05-24 Thread Malcolm J Harwood
On Tuesday 24 May 2005 03:15 pm, Stas Bekman wrote: Syntax error on line 53 of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0/t/conf/extra.c onf: Invalid command 'AddOutputFilter', perhaps mis-spelled or defined by a module not included in the server configuration Which

reloading files

2005-05-24 Thread Pronichev Alexander
Hi, I have the following question: I need that my startup.pl file (loaded at startup by PerlRequire directive) will be reloaded, when I restart apache (send a SIGHUP). How can I do it? Thanks.

Re: RC6 build problems

2005-05-24 Thread Stas Bekman
Malcolm J Harwood wrote: On Tuesday 24 May 2005 03:15 pm, Stas Bekman wrote: Syntax error on line 53 of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0/t/conf/extra.c onf: Invalid command 'AddOutputFilter', perhaps mis-spelled or defined by a module not included in the server

latest svn build problems (was Re: RC6 build problems)

2005-05-24 Thread Malcolm J Harwood
On Saturday 14 May 2005 01:52 pm, you wrote: The same thing happens with mod_env disabled: Syntax error on line 862 of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0.0-dev/t/conf/htt pd.conf: Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not included in

Re: reloading files

2005-05-24 Thread Malcolm J Harwood
On Tuesday 24 May 2005 08:20 am, Pronichev Alexander wrote: I need that my startup.pl file (loaded at startup by PerlRequire directive) will be reloaded, when I restart apache (send a SIGHUP). How can I do it? A reload should re-read the configuration (and thus your startup file). Is this not

Re: RC6 build problems

2005-05-24 Thread Malcolm J Harwood
On Tuesday 24 May 2005 05:00 pm, Stas Bekman wrote: Apart from the few that don't run due to my not having the required cpan modules install on the build machine, all tests passed. You mean those are skipped, no? Or do they fail? They are skipped (and thus I can't say for certain if they'd

Re: latest svn build problems (was Re: RC6 build problems)

2005-05-24 Thread Stas Bekman
Malcolm J Harwood wrote: On Saturday 14 May 2005 01:52 pm, you wrote: The same thing happens with mod_env disabled: Syntax error on line 862 of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0.0-dev/t/conf/htt pd.conf: Invalid command 'SetEnv', perhaps mis-spelled or defined by a

Re: RC6 build problems

2005-05-24 Thread Stas Bekman
Malcolm J Harwood wrote: On Tuesday 24 May 2005 05:00 pm, Stas Bekman wrote: Apart from the few that don't run due to my not having the required cpan modules install on the build machine, all tests passed. You mean those are skipped, no? Or do they fail? They are skipped (and thus I

Re: latest svn build problems

2005-05-24 Thread Malcolm J Harwood
On Tuesday 24 May 2005 05:21 pm, Stas Bekman wrote: Please try: Index: ModPerl-Registry/t/conf/extra.conf.in === --- ModPerl-Registry/t/conf/extra.conf.in (revision 178247) +++ ModPerl-Registry/t/conf/extra.conf.in

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

2005-05-24 Thread Philippe M. Chiasson
Flavio Curti wrote: Hi Philippe List (Sorry for not looking in the archives good enough!) On 5/24/05, Philippe M. Chiasson [EMAIL PROTECTED] wrote: Flavio Curti wrote: I have a problem running mod_perl-2.0.0 (and the latest devel snapshot too): It would be quite helpfull if you could

svn commit: r178236 - in /perl/modperl/trunk/t: conf/ directive/ filter/ filter/TestFilter/ modules/ response/TestAPI/

2005-05-24 Thread stas
Author: stas Date: Tue May 24 11:38:46 2005 New Revision: 178236 URL: http://svn.apache.org/viewcvs?rev=178236view=rev Log: make the configuration enabled if mod_mime and mod_alias are available Modified: perl/modperl/trunk/t/conf/extra.conf.in

svn commit: r178247 - in /perl/modperl/trunk/ModPerl-Registry/t: 206.t 304.t 404.t 500.t bad_scripts.t basic.t bin_resp.t cgi.t closure.t conf/extra.conf.in flush.t ithreads.t nph.t perlrun_extload.t prefork.t redirect.t special_blocks.t

2005-05-24 Thread stas
Author: stas Date: Tue May 24 11:53:49 2005 New Revision: 178247 URL: http://svn.apache.org/viewcvs?rev=178247view=rev Log: deal with potentially unavailable mod_alias Modified: perl/modperl/trunk/ModPerl-Registry/t/206.t perl/modperl/trunk/ModPerl-Registry/t/304.t

svn commit: r178258 - /perl/modperl/trunk/xs/APR/Bucket/APR__Bucket.h

2005-05-24 Thread stas
Author: stas Date: Tue May 24 12:37:32 2005 New Revision: 178258 URL: http://svn.apache.org/viewcvs?rev=178258view=rev Log: tidy up Modified: perl/modperl/trunk/xs/APR/Bucket/APR__Bucket.h Modified: perl/modperl/trunk/xs/APR/Bucket/APR__Bucket.h URL: