Re: Child keeps seg faulting

2001-04-26 Thread G.W. Haywood
Hi there, On Thu, 26 Apr 2001, Stas Bekman wrote: On Wed, 25 Apr 2001, Mod-Perl List wrote: I have the following config: Solaris 2.7, perl 5.6, php4 and mod_perl 1.25 compiled statically into Apache 1.3.19. get the following error when trying to execute the printenv cgi script [Wed

Re: Is this startup.pl ok?

2001-04-26 Thread Dave Hodgkinson
Philip Mak [EMAIL PROTECTED] writes: My Apache with modperl is acting weird with respect to memory usage. When it first starts up, each process uses 10 MB of memory. As time goes on, these processes' memory usage grows and grows. Right now they're 20 MB (uptime 2 days). When I rebooted

IPC:Open3 does not work under mod_perl/1.25, perl5.6.0?

2001-04-26 Thread Peter Reif
My program, which worked under mod_perl/1.23 and perl5.500502 does not work anymore: I fork a program with Open3, send it some input and catch its output. The output is OK, but the program does not get the input: ... my $cgi_in = Apache::File-new; my $cgi_out = Apache::File-new; my

Re: mod_perl DSO leaking on restart?

2001-04-26 Thread Jens-Uwe Mager
On Wed, Apr 25, 2001 at 10:40:12PM -0400, Philip Mak wrote: On Thu, 26 Apr 2001, Stas Bekman wrote: There is also the strange case of mod_perl leaking memory on graceful restarts when compiled as DSO. But I don't feel like getting into this one quite yet. Hmm. My httpd was using

Re: template toolkit compile test problems

2001-04-26 Thread Ruslan V. Sulakov
What is PerlFixupHandler for? Whats the difference of PerlFixupHandler and PerlTransHandler? Thanks, Ruslan

Re: template toolkit compile test problems

2001-04-26 Thread Stas Bekman
On Tue, 24 Apr 2001, Ruslan V. Sulakov wrote: What is PerlFixupHandler for? Whats the difference of PerlFixupHandler and PerlTransHandler? FAQ: Trans: http://modperl.com/book/chapters/ch7.html#The_URI_Translation_Phase Fixup:

Re: readdir()

2001-04-26 Thread Lincoln Stein
Thanks everyone. I'll try backgrading to glibc 2.1. Does anyone know if the problem is still present in Perl 5.6.1? Lincoln Andrew Ho writes: Hello, LSPerl 5.6.0 breaks the readdir() function when running under mod_perl. LSThis is with the most recent versions of Apache and

Re: Is this startup.pl ok?

2001-04-26 Thread Philip Mak
On 26 Apr 2001, Dave Hodgkinson wrote: As time goes on, these processes' memory usage grows and grows. Right now they're 20 MB (uptime 2 days). When I rebooted the machine two days ago, they were using 80 MB each (shared memory, though). MaxRequestsPerChild is set to 200. What

Re: template toolkit compile test problems

2001-04-26 Thread G.W. Haywood
Hi there, On Tue, 24 Apr 2001, Ruslan V. Sulakov wrote: What is PerlFixupHandler for? Whats the difference of PerlFixupHandler and PerlTransHandler? The Eagle Book: Writing Apache Modules with Perl and C, ISBN 1-56592-567-X, by Lincoln Stein and Doug MacEachern. It is available from

Re: Is this startup.pl ok?

2001-04-26 Thread Dave Hodgkinson
Philip Mak [EMAIL PROTECTED] writes: I thought it was shared, because under top, SHARE was almost as big as RSS. Before Stas starts laying into me for misleading inaccuracy, take a look at the guide: http://perl.apache.org/guide/ There's LOTS of good stuff in there on shareabiliy. If your

[OT] mod_perl 2 question...

2001-04-26 Thread Issac Goldstand
I was just looking at Doug's overview of mod_perl 2, and was specifically intrigued by the PerlInterpLifetime directive, which got me sorta excited. It would appear to me, based on that, that by setting PerlInterpretLifetime connection, you could have a good chance at getting good

Re: problem compiling under win98

2001-04-26 Thread Randy Kobes
On Thu, 26 Apr 2001 [EMAIL PROTECTED] wrote: i have succesfully compiled apache 1_3.19 under win 98 with vc6 and dsw project I'm trying to compile mod_perl 1_25 under windows 98 the same way i downloaded the source 1_25 and found the modperl.dsp for vc++ compiling i followed the

Re: [OT] mod_perl 2 question...

2001-04-26 Thread barries
Not OT at all... On Thu, Apr 26, 2001 at 06:24:41PM +0200, Issac Goldstand wrote: Can any of the mod_perl 2 people provide some feedbak on this, as I'm sure you guys have looked at this much deeper than I have. Well, I'm not a mod_perl 2 person, but I can say that PerlInterpScope (it's been

Re: problem compiling under win98

2001-04-26 Thread pascal.barbedor
Hi ! ok it compiles from vc+ ! (i had to drop a void apachecore.lib file in the vc6 file list, that pointed to a strange c:\unzipped\ap\apache-1.3\src\release\apachecore.lib . suppose some one forgot it here. and when adding directive in httpd.conf and running i have the reassuring line :

Re: problem compiling under win98

2001-04-26 Thread Randy Kobes
On Thu, 26 Apr 2001 [EMAIL PROTECTED] wrote: ok it compiles from vc+ ! (i had to drop a void apachecore.lib file in the vc6 file list, that pointed to a strange c:\unzipped\ap\apache-1.3\src\release\apachecore.lib . suppose some one forgot it here. That line has to be changed anyway,

apache::registry + use strict curiosity

2001-04-26 Thread Eric Kolve
I found something a bit curious that I was wondering if someone could explain. I have the following apache::registry script I called test.reg: #!/usr/bin/perl use strict; if($test){ # do stuff } print qq|HTTP/1.1 200 OK\r\n|; print HELLO WORLD\n\n; I ran my server in single-user mode

Re: apache::registry + use strict curiosity

2001-04-26 Thread Ken Williams
Yes, exactly. After the first run, $test got an entry in the symbol table. Not usually an issue in CGI perl. =) [EMAIL PROTECTED] (Eric Kolve) wrote: I found something a bit curious that I was wondering if someone could explain. I have the following apache::registry script I called test.reg:

Re: apache::registry + use strict curiosity

2001-04-26 Thread newsreader
that's no apache::registry. that's perl there are big guns here who can answer your questions but it am not one of them. On Thu, Apr 26, 2001 at 02:25:17PM -0700, Eric Kolve wrote: I found something a bit curious that I was wondering if someone could explain. I have the following

single server mode problem

2001-04-26 Thread Giacomo Cerrai
Hello, we are trying to do some debugging in single server mode, but we have problems. We tried running the httpd daemon from the command line: > .../apache/bin/httpd -X or configuring the http.conf like this: MinSpareServers 1 MaxSpareServers 0 StartServers 1 MaxClients 1 and starting the

Re: mod_perl DSO leaking on restart?

2001-04-26 Thread Bird Lei
Same here. I did a few graceful restarts and the usage jumped to 80M from 10M... Then I apachectl stop and apachectl start to get a clean restart, it works fine. I am new to this list. Maybe this problem has been addressed... At 10:40 PM 2001/4/25 -0400, Philip Mak wrote: On Thu, 26 Apr

Re: Child keeps seg faulting

2001-04-26 Thread Bird Lei
I have the following config: Solaris 2.7, perl 5.6, php4 and mod_perl 1.25 compiled statically into Apache 1.3.19. This exact same config works flawlessly on several Suse machines and a few Red Hat machines. After building and testing the server, I get the following error when