RE: Modperl/Apache deficiencies... Memory usage.

2000-04-18 Thread Jeff Stuart
I understand that. :) And that was something that I had to learn myself. :) It's a BAD thing when suddenly your httpd process takes up 100 MB. :) It's just that it sounded like Shane was saying that his httpds were starting OUT at 4 to 6 MB. That sounded a little unusual to me but then

[RFC] Do Not Run Everything on One mod_perl Server

2000-04-18 Thread Stas Bekman
Let's assume that you have two different sets of scripts/code which have a little or nothing in common at all (different modules, no base code sharing), the basic mod_perl process before the code have been loaded of three Mbytes and each code base adds ten Mbytes when loaded. Which makes each

shrinking memory (was Re: Modperl/Apache deficiencies... Memory usage.)

2000-04-18 Thread Stas Bekman
Since you are talking about garbage collection (memory shrinking) you might want to re-read the thread I've started back in Aug, 99: http://forum.swarthmore.edu/epigone/modperl/zarwhegerd It includes the real show case of memory shrinking (at least on Linux). Consider this code:

mod_perl installed but not active

2000-04-18 Thread Werner Reisberger
I compiled succesfully mod_perl together with other modules (see below) into apache 1.3.12. Unfortunately I cannot activate it. The module isn't visible in the error log at startup and the insertion of module directives yields to errors. I can't understand why a make test into the mod_perl

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-18 Thread Matt Sergeant
On Tue, 18 Apr 2000 [EMAIL PROTECTED] wrote: On Mon, Apr 17, 2000 at 01:33:08PM -0600, Jason Terry wrote: This is the first i have seen "delete" referenced. What does it do? How is it used? Thank you -Jason It's the stack cleaner... but it only works for scalars, and maybe

Re: mod_perl installed but not active

2000-04-18 Thread Stas Bekman
On Tue, 18 Apr 2000, Werner Reisberger wrote: I compiled succesfully mod_perl together with other modules (see below) into apache 1.3.12. Unfortunately I cannot activate it. The module isn't visible in the error log at startup and the insertion of module directives yields to errors. I

Setting AuthUserFile dynamically ...

2000-04-18 Thread Scott Alexander
Hi, I asked yesterday about using httpd.conf to set the AuthUserFile dynamically. Maybe I'm trying to paddle up a creek in a barb wire canoe. Is it possible to do something like below? i.e. use a variable in the AuthUserFile line? Or how can I do this? Directory /systems/v2.0 PerlSendHeader

Where to get Apache::Session

2000-04-18 Thread Differentiated Software Solutions Pvt. Ltd.
Hi, Can somebody please tell me from where to download Apache::Session module. Thanks a lot Murali Differentiated Software Solutions Pvt. Ltd., 176, Gr. Floor, 6th Main 2nd Block RT Nagar Bangalore - 560 032 India Ph: 91 80 3431470 email : diffs+AEA-vsnl.com http://www.diffs-india.com

Error compiling mod_perl on linux

2000-04-18 Thread Kenneth Lee
Hi all, I tried to compile mod_perl with Apache on RedHat 6.1 and perl 5.005_03, it gave me thousands of unresolved references when compiling httpd.c. I then went thru the FAQs on the Web, and it told me that my perl maybe corrupted. Then I go to grab the latest perl 5.6.0 source, compiled

Re: [RFC] Do Not Run Everything on One mod_perl Server

2000-04-18 Thread Eric L. Brine
It used to be one process for everything, or at least one application for everything. Then mod_perl comes in and people have started using a tiered system (plain server + mod_perl server). Now you're talking about individual application servers. Someday, maybe the script will load the server

Problem with CGI::Carp under mod_perl

2000-04-18 Thread Steve Hay
I'm having problems using "CGI::Carp qw(fatalsToBrowser);" in modperl scripts. Below are three short scripts and their output under Apache/CGI and Apache/modperl. All three of them produce (more or less) useful output under Apache/CGI, but only the last one does under Apache/modperl. The first

Re: Problem with CGI::Carp under mod_perl

2000-04-18 Thread Matt Sergeant
On Tue, 18 Apr 2000, Steve Hay wrote: I'm having problems using "CGI::Carp qw(fatalsToBrowser);" in modperl scripts. Then don't use CGI::Carp. The whole qw(fatalsToBrowser) thing is broken, IMHO, anyway. See http://modperl.sergeant.org/guide/exceptions.html for a better way to handle

[admin] no HTML posts please

2000-04-18 Thread Stas Bekman
"When thou enter a city, abide by its customs" -- Talmud Please, please refrain *posting* in *HTML*! If you want to get help, take another second to *think* what are you doing *before* you send the email... Say 'Yes' to the plain text, 'No' to HTML! Thank you! P.S. I don't know

Problem with CGI::Carp under mod_perl

2000-04-18 Thread Steve Hay
Sorry! Here it is again in text/plain this time... (My mail client doesn't ask whether I want to send in text or HTML, hence the slip. Maybe *I* should get a new one!) --- I'm having problems using "CGI::Carp qw(fatalsToBrowser);" in modperl scripts. Below are three short scripts and their

Re: mod_perl installed but not active

2000-04-18 Thread Vivek Khera
"WR" == Werner Reisberger [EMAIL PROTECTED] writes: WR I compiled succesfully mod_perl together with other modules (see below) WR into apache 1.3.12. Unfortunately I cannot activate it. The module isn't WR visible in the error log at startup and the insertion of module directives WR yields to

Re: [OT] mysql-modules for Win32 platform

2000-04-18 Thread Randy Kobes
On Mon, 17 Apr 2000, Erich Markert wrote: I've been trying to get the msql-mysql-modules compiled and installed on my Win98 machine for a couple weeks without much luck. [snip] My questions are: 1. Is there a binary version of *just* DBI,Msql-Mysql-modules for Win32? 2. If not, is

Re: Setting AuthUserFile dynamically ...

2000-04-18 Thread darren chamberlain
Scott Alexander ([EMAIL PROTECTED]) said something to this effect: Hi, I asked yesterday about using httpd.conf to set the AuthUserFile dynamically. Maybe I'm trying to paddle up a creek in a barb wire canoe. Is it possible to do something like below? i.e. use a variable in the

[ANNOUNCE] Apache::XPath::NotXSLT

2000-04-18 Thread Matt Sergeant
I've made a version of my Non-XSLT xpath template processor available as an Apache module. It uses some standard apache caching tricks to speed up delivery, and I can actually get a whopping 9 requests per second out of it (try that with an XSLT processor!). I'm making my site use it now.

XML::Parser causing SEGFAULT in Apache under mod_perl

2000-04-18 Thread Delaporta, Michael
I'm currently using XML::Parser (2.28) under Apache (1.3.11) and mod_perl (1.21) and have noticed a fairly large number of segfaults in the Apache error_log. I noticed a discussion about this problem on the list about a week ago, but the only solution posted was as a Debian package (which I

Re: Error compiling mod_perl on linux

2000-04-18 Thread Jeffrey W. Baker
On Tue, 18 Apr 2000, Kenneth Lee wrote: Hi all, I tried to compile mod_perl with Apache on RedHat 6.1 and perl 5.005_03, it gave me thousands of unresolved references when compiling httpd.c. I then went thru the FAQs on the Web, and it told me that my perl maybe corrupted. Then I go to

Re: Segfault on DBI-Connect

2000-04-18 Thread Jochen Wiedmann
Drew Degentesh wrote: Below is a backtrace of my segfault received on DBI-Connect (sorry but my perl and apache binaries are stripped)... you can see that mysql_close is being called with a null argument, rather than mysql_real_connect as indicated in some of the other backtraces reported.

Re: Problem with CGI::Carp under mod_perl

2000-04-18 Thread Perrin Harkins
On Tue, 18 Apr 2000, Steve Hay wrote: I'm having problems using "CGI::Carp qw(fatalsToBrowser);" in modperl scripts. [...] The first one calls die() itself. Under Apache/CGI the die() message appears in the web browser (albeit preceded by a spurious Content-Type line), but under

WindowsNT Explorer like look and feel??

2000-04-18 Thread Tim Fox
Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl?

Re: WindowsNT Explorer like look and feel??

2000-04-18 Thread Matt Sergeant
On Tue, 18 Apr 2000, Tim Fox wrote: Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl? You forgot to add a smiley. And you're _way_ past April 1st. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing

RE: WindowsNT Explorer like look and feel??

2000-04-18 Thread John Reid
On Tue, 18 Apr 2000, Tim Fox wrote: Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl? You forgot to add a smiley. And you're _way_ past April 1st. Or is this yet another example of a general lack of understanding of the

Re: WindowsNT Explorer like look and feel??

2000-04-18 Thread Randy Kobes
On Tue, 18 Apr 2000, Matt Sergeant wrote: On Tue, 18 Apr 2000, Tim Fox wrote: Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl? You forgot to add a smiley. And you're _way_ past April 1st. Perhaps some country's

RE: WindowsNT Explorer like look and feel??

2000-04-18 Thread Matt Sergeant
On Tue, 18 Apr 2000, John Reid wrote: On Tue, 18 Apr 2000, Tim Fox wrote: Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl? You forgot to add a smiley. And you're _way_ past April 1st. Or is this yet another

Re: WindowsNT Explorer like look and feel??

2000-04-18 Thread Matt Sergeant
On Tue, 18 Apr 2000, Mark Wagner wrote: On Tue, 18 Apr 2000, Tim Fox wrote: Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl? You forgot to add a smiley. And you're _way_ past April 1st. Or is this yet

Passing POST Data to a SubRequest

2000-04-18 Thread Chris D'Annunzio
Is there a way to pass data into a SubRequest using the post method? I'm sure there's something I'm missing ... here's what I have so far: Insidethe content handler of my priamary request I can create a subrequest using my $subr = $r-lookup_uri($uri); I realize that I can set various

Re: WindowsNT Explorer like look and feel??

2000-04-18 Thread Ron Beck
I do not have a perl or mod_perl example. However in my "Javascript Manual of Style", there is an example of a WindowsNT Explorer like navigator. The code is too lengthy to post and I don't have it loaded myself. However, if you go to... http://www.he.net/~marcj/mos/ch5a.htm you can

Re: WindowsNT Explorer like look and feel??

2000-04-18 Thread Andy Johnson
Tim Fox wrote: Does anyone know of an easy way to get a WindowsNT explorer (expanding directory/folder) lokk and feel using modperl? Maybe you should be looking at mod_dav rather than mod_perl; The URL is here: http://www.webdav.org/mod_dav/

Core dump

2000-04-18 Thread Robert Jenks
Title: Core dump Got a different code dump. I'm not sure if this one is mod_perl related though... My httpd.conf and startup.pl are the same as my 4/9/2000 post. Anyone know what perform_idle_server_maintenance might be doing that could cause a segfault? -Robert $ gdb

Re: [OT] LWP: Regression testing a mod_perl server

2000-04-18 Thread Adi
Cool, thanks for the quick response, Stas. I don't seem to have LWP::Parallel. Looks like I need to upgrade to the newest version of LWP. But yes, I did notice that ab gives much more accurate results. I was using Time::HiRes to simply measure the time it takes from request to response, and

ANNOUNCE: Apache-TicketAccess 0.10

2000-04-18 Thread Michael J Schout
Apache-TicketAccess-0.10.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-TicketAccess-0.10.tar.gz size: 9388 bytes md5: 42a00ba96205ead6a0d03cb25903bae6 This is the inital version of Apache::TicketAccess. This version does not yet subclass Apache::AuthCookie,

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-18 Thread shane
On Tue, Apr 18, 2000 at 02:07:24AM -0400, Jeff Stuart wrote: I understand that. :) And that was something that I had to learn myself. :) It's a BAD thing when suddenly your httpd process takes up 100 MB. :) It's just that it sounded like Shane was saying that his httpds were starting OUT

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-18 Thread shane
On Tue, Apr 18, 2000 at 01:24:16PM +0800, Gunther Birznieks wrote: If you aren't careful with your programming, an apache HTTPD can always grow pretty quickly because Perl never releases the RAM it allocates previously. While it does that reference count garbage collection, that is

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-18 Thread Gunther Birznieks
Actually, it is a bit more complicated. I was wrong in my assumptions. To be more blunt, I was wrong period. :) I had been testing some stuff using global variables and experienced this behavior of non-releasing RAM. Since then a few people privately showed me otherwise and Stas' posted a

Perl Sections and Virtual Host

2000-04-18 Thread Pierre-Yves BONNETAIN
Hello modperlers, I'm currently banging my head on the walls trying to use Perl sections, in the httpd.conf file, to configure virtual hosts. The idea is to redirect lots of 'secondary' domains to URLs on our 'main' website. Let's say the main website is www.main.org, and secondary

cvs commit: modperl-2.0/src/modules/perl modperl_callback.c

2000-04-18 Thread dougm
dougm 00/04/18 15:58:10 Added: src/modules/perl modperl_callback.c Log: implement handler parsing get started on basic callbacks Revision ChangesPath 1.1 modperl-2.0/src/modules/perl/modperl_callback.c Index: modperl_callback.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_callback.h modperl_config.c modperl_config.h modperl_log.c modperl_types.h

2000-04-18 Thread dougm
dougm 00/04/18 15:59:15 Modified:lib/ModPerl Code.pm src/modules/perl mod_perl.c modperl_callback.h modperl_config.c modperl_config.h modperl_log.c modperl_types.h Log: integrate with modperl_callback.c beef up