Re: Error reporting mod_perl 1.25 + apache 1.3.17

2001-02-07 Thread Vasily Petrushin
I removed this problem on Solaris 8 SPARC by compiling perl 5.6.0 with -Ubincompat and -Uuselargefiles and compiling mod_perl 1.25 + apache 1.3.17 statically. Now httpd process eating less memory :). It's cool. On Tue, 6 Feb 2001, dima wrote: I used to have all these seg faults when dealing

RE: Help: Can't use string (Exchange::Account::My) as a HASH ref while strict refs in use trying to use instance variables in my handler

2001-02-07 Thread Chris Strom
Anyway, what you should do is create a constructor: sub new { [snip] You mean like this code segment that I included in my original post just below the handler code :) sub init { [snip] Ah yes, but you called your's "init", which is quite misleading to those of us who tend not to

[OT] Freeing Memory with of C extensions under Solaris

2001-02-07 Thread Bill Moseley
Hi, Sorry for the OT, and I'm sure this is common knowledge. I'm using some C extensions in my mod_perl application. IIRC, memory used by perl is never given back to the system. Does this apply also to malloc() and free()ed memory in my C extension? Or is that OS dependent? Can Apache ever

Re: File::Cache problem

2001-02-07 Thread Bill Moseley
At 11:56 AM 02/07/01 +0400, BeerBong wrote: And when cache size is exceeded all mod_perl processes are hanging. I had this happen to me a few days back on a test server. I thought I'd made a mistake by doing a rm -rf /tmp/File::Cache while the server was running (and while the File::Cache

Re: Debugging mod_perl with gdb

2001-02-07 Thread Tim Bunce
I recall someone once created a whole bunch of gdb macros for debugging perl. I've CC'd this to p5p in the hope that someone remembers. Tim. On Tue, Feb 06, 2001 at 12:32:45PM -0800, sterling wrote: If you're looking for which piece of perl code being processed, there are some gdb macros to

Sessions on win 32

2001-02-07 Thread harilaos
Hello, I have searched everywhere but there is documentation on how to implement Apache::Session on windows. Has anyone done this? Please point me to relevent docs if you know any. I have read about Apache::Session::Win32 but the package is removed and obsolete from the latest Apache::Session

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Vivek Khera
"dc" == darren chamberlain [EMAIL PROTECTED] writes: dc Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001: However, at the end of the template processing, the object is not destroyed; that is, the DESTROY() method is never called, and dc You aren't clear about the

Re: File::Cache problem

2001-02-07 Thread DeWitt Clinton
On Wed, Feb 07, 2001 at 04:02:39PM +0400, BeerBong wrote: Cache size after 24 hours of working via 'du -s' - 53M via 'perl -MFile::Cacje -e"print File::Cache::SIZE('PRTL')"' - 10M That looks like a serious bug. Can you double check on that? Where are you running the "du -s"? The SIZE( )

Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
Yo, Has anyone successfully built a fully perl conf file with multiple virtual hosts on the same IP? I'm giving it my best, but just can't quite get it to work. I'm stuck on aliases. The Eagle book and the mod_perl guide have both been of great help getting this far, but I can't find an

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread G.W. Haywood
Hi there, On Wed, 7 Feb 2001, Veatch, David W wrote: Has anyone successfully built a fully perl conf file with multiple virtual hosts on the same IP? Dunno if it will work for you in those circumstances, but have you looked at mod_macro? I used it last year and it was fine for an ordinary

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
I haven't no, but I will. I'm doing this at home in preparation for implementing it at work, where I hesitate to throw yet another module into the mix (we already have a pretty rich set of compile time modules in there). Thanks! :) From: G.W. Haywood [EMAIL PROTECTED] Dunno if it will work

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Vivek Khera
"PH" == Perrin Harkins [EMAIL PROTECTED] writes: PH Hmmm... If I'm reading the code correctly, what's supposed to happen is PH that the stash (where your plugin instance lives) gets localized when you PH call $tt-process() and de-localized at the end, which should result in PH anything you

Re: [OT] Freeing Memory with of C extensions under Solaris

2001-02-07 Thread G.W. Haywood
Hi Bill, On Wed, 7 Feb 2001, Bill Moseley wrote: I'm using some C extensions in my mod_perl application. IIRC, memory used by perl is never given back to the system. Does this apply also to malloc() and free()ed memory in my C extension? Or is that OS dependent? It's not clear from your

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Jason Terry
I use this code to pull my domains from a VERY simple mySQL db - Original Message - From: "G.W. Haywood" [EMAIL PROTECTED] To: "Veatch, David W" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 10:04 AM Subject: Re: Perl Sections, NameVirtualHost, and Aliases

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
That did it! The aliases problem is solved! Thanks! Before: Alias = { [ '/images' = "$vhosts_root/domain/images" ], [ '/css' = "$vhosts_root/domain/css" ], } Now: Alias = [ [ '/images' = "$vhosts_root/domain/images" ],

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Benjamin Trott
I think that this: PerlSetVar = { Auth_DBI_data_source = 'dbi:Pg:dbname=reckdb', Auth_DBI_username = 'dvicci', Auth_DBI_pwd_table = 'user_profile', Auth_DBI_uid_field = 'user_username', Auth_DBI_pwd_field = 'user_password', Auth_DBI_pwd_whereclause = '"user_usertype0"',

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Perrin Harkins
On Wed, 7 Feb 2001, Vivek Khera wrote: Ok... here's a mini-plugin that exhibits this behavior, and a command line script for it. This all looks like it should work, and the plugin object should get destroyed. Until someone finds the source of the problem, you could work around it by keeping

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Benjamin Trott
However, now I'm getting this: Perl: PerlSetVar takes two arguments, Perl config var and value. I don't think PerlSetVar likes this line: [ Auth_DBI_pwd_whereclause = '"user_usertype0"' ], You could try taking out the quotes and see if that helps, cause it did for me (though I didn't

Reading email with mod_perl

2001-02-07 Thread Jason Terry
Does anybody have an information on how to read a MIME encoded email attachment with mod_perl?

[RESEND] Apache::Status and custom menu_items

2001-02-07 Thread Christian Gilmore
I didn't get any responses on this thread a few weeks ago. Does anyone have any successful experience with adding a custom menu in Apache::Status? Regards, Christian -Original Message- From: Christian Gilmore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 5:26 PM To:

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
Yup... you and I came to the same conclusion at the same time. I can't tell if the var is truly being set, though, b/c AuthType, AuthName, or Limit vars aren't being set... My handler requires that $r-current_user be set, and so it's bombing out. On another vhost that doesn't require

Re: [RESEND] Apache::Status and custom menu_items

2001-02-07 Thread Vivek Khera
"CG" == Christian Gilmore [EMAIL PROTECTED] writes: CG I didn't get any responses on this thread a few weeks ago. Does anyone CG have any successful experience with adding a custom menu in CG Apache::Status? Apache::DBI appends its own menu item. Couldn't you do yours the same way?

RE: [RESEND] Apache::Status and custom menu_items

2001-02-07 Thread Christian Gilmore
Are you saying that you see an extra menu from Apache::DBI when using Apache::Status? I'm not seeing any custom menus. For instance, Apache::Resource custom menu does not display. I'm currently using apache-1.3.12 with mod_perl-1.24 on solaris-2.6. Regards, Christian -Original Message-

RE: [RESEND] Apache::Status and custom menu_items

2001-02-07 Thread Vivek Khera
"CG" == Christian Gilmore [EMAIL PROTECTED] writes: CG Are you saying that you see an extra menu from Apache::DBI when using CG Apache::Status? I'm not seeing any custom menus. For instance, Yes, I do. You need to load Apache::Status before Apache::DBI, however, as per the Apache::DBI docs.

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
Got it. So far, everything appears to be working like a dream. Here's the changes I made: # OLD and BREAKY Location = { '/' = { SetHandler = 'perl-script', PerlInitHandler = 'Apache::StatINC',

RE: [RESEND] Apache::Status and custom menu_items

2001-02-07 Thread Christian Gilmore
I believe I'm doing that. I don't have a startup.pl. Here's what's in httpd.conf (in order): PerlModule Apache::Status PerlModule Apache::Resource PerlModule HTML::Embperl PerlModule B::Terse PerlSetEnv PERL_RLIMIT_CPU 120 PerlModule Tivoli::Apache::AuthenLDAP PerlModule

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Vivek Khera
"PH" == Perrin Harkins [EMAIL PROTECTED] writes: PH On Wed, 7 Feb 2001, Vivek Khera wrote: Ok... here's a mini-plugin that exhibits this behavior, and a command line script for it. PH This all looks like it should work, and the plugin object should get PH destroyed. Until someone finds the

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Perrin Harkins
On Wed, 7 Feb 2001, Vivek Khera wrote: Did you (or anyone else) reproduce the non-destroy of my mini-plugin? I didn't actually run it; just poked through the code. I'd like to at least know if I'm doing something wrong in mod_perl. I find it disconcerting to have my plugin objects sitting

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Vivek Khera
"PH" == Perrin Harkins [EMAIL PROTECTED] writes: PH To find out if this is a mod_perl probelm or not, try makiing your command PH line script call $tt-process twice in a row. If the object gets PH destroyed twice, this is mod_perl-related. Otherwise, it's a TT PH problem and officially [OT]

Sr software engineer positions at AvantGo

2001-02-07 Thread Jon Swartz
Title: Sr software engineer positions at AvantGo The mobile internet team at AvantGo is looking for excellent web engineers! Located in San Mateo, AvantGo develops software to deliver internet/intranet content to handheld devices and cell phones. We mantain the fun, casual and intellectual

Re: Socket/PIPE/Stream to long running process

2001-02-07 Thread Simon Rosenthal
At 11:04 AM 2/2/01 -0800, Rob Bloodgood wrote: So, in my mod_perl app, I run thru each request, then blast a UDP packet to a process on the local machine that collects statistics on my traffic: snip My question is, should I be creating this socket for every request? OR would it be more

Re: Reading email with mod_perl

2001-02-07 Thread Patrick
On Wed, Feb 07, 2001 at 11:29:59AM -0700, Jason Terry took time to write: Does anybody have an information on how to read a MIME encoded email attachment with mod_perl? This is not specific to modperl. The module MIME::Entity does that very nicely IMNSHO. -- Patrick. ``C'est un monde qui n'a

Problem with $r-register_cleanup()

2001-02-07 Thread Michael . Jacob
Hi, I just ran into a problem with $r-register_cleanup() only sometime beeing called. This is mod_perl 1.24_01, perl 5.6.0, apache 1.3.14 compiled with gcc 5.6.0 on AIX 4.3.3. Here's a sample code (snippet): sub handler { # PerlTransHandler my $r = shift; $r-register_cleanup(\clean1);

Re: Problem with $r-register_cleanup()

2001-02-07 Thread Robert Landrum
Is it possible that another handler (such as CGI, or parsed-html) is taking over before yours and exiting or returning OK. Rob Hi, I just ran into a problem with $r-register_cleanup() only sometime beeing called. This is mod_perl 1.24_01, perl 5.6.0, apache 1.3.14 compiled with gcc 5.6.0 on

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-07 Thread Perrin Harkins
On Wed, 7 Feb 2001, Vivek Khera wrote: Did you (or anyone else) reproduce the non-destroy of my mini-plugin? I'd like to at least know if I'm doing something wrong in mod_perl. I find it disconcerting to have my plugin objects sitting around unused and unreaped, aka, memory leakage. Okay, I

[OT] Mailing List Software

2001-02-07 Thread Robert Landrum
I've been looking for some mailing list software that is manageable from mod_perl I need something capable of writing data to a database (Oracle) and creating sublists/queries from main lists of over 250,000 users. If you've seen or heard about such software, please let me know... Thanks,

mod_perl/apache mysql memory usage

2001-02-07 Thread rene mendoza
Hi, i have a question regarding mod_perl/apache mysql memory usage I have a Linux box running Red Hat 6.1, Apache 1.3.14, compiled statically with mod_perl 1.24_01, mod_ssl, and Open SSL,mod_dav and mod_gzip running as DSO's, MYSQL ismysql-3.23.28-gamma-pc-linux-gnu-i686 (binary) im using

RE: mod_perl as DSO on AIX with perl-5.6

2001-02-07 Thread Christian Gilmore
Recompiling with dl_dlopen.xs instead of dl_aix.xs caused 49 of the 180 self-tests to fail. I recompiled with debugging turned on and ran against GDB. Here's the result followed by the output of './perl -I./lib -V'. Jens, did you have success running with dl_dlopen.xs without other modification?

Re: mod_perl/apache mysql memory usage

2001-02-07 Thread G.W. Haywood
Hi there, On Wed, 7 Feb 2001, rene mendoza wrote: I have a Linux box running Red Hat 6.1, Apache 1.3.14, compiled statically with mod_perl 1.24_01, mod_ssl, and Open SSL, mod_dav and mod_gzip running as DSO's, mysql-3.23.28-gamma-pc-linux-gnu-i686 (binary) im connecting via ethernet from

[PATCH] Put Apache/apxs flags into a safer place

2001-02-07 Thread Wilfredo Sanchez
This puts Apache's CFLAGS into AP_CFLAGS instead of CFLAGS, so that wacky people like me who like to override CFLAGS from the make line (make CFLAGS='-arch ppc -arch i386') can do so without stomping the Apache flags. -Fred Index: Makefile.tmpl

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-07 Thread L.M.Orchard
From: "Chris Winters" [EMAIL PROTECTED] Sent: Tuesday, February 06, 2001 08:14 PM From Perrin: And just out of curiosity, are you familiar with any of the similar projects that others have worked on, like Iaido (formerly Iaijutsu) or Jellybean? I've looked into both of them at one time

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Dave Baker
Has anyone successfully built a fully perl conf file with multiple virtual hosts on the same IP? I'm giving it my best, but just can't quite get it to work. I'm stuck on aliases. The Eagle book and the mod_perl guide have both been of great help getting this far, but I can't find an

Re: Sessions on win 32

2001-02-07 Thread Gunther Birznieks
Have you tried doing a perldoc on the modules themselves? At 02:35 PM 2/7/2001 +, harilaos wrote: Hello, I have searched everywhere but there is documentation on how to implement Apache::Session on windows. Has anyone done this? Please point me to relevent docs if you know any. I have read

Re: Reading email with mod_perl

2001-02-07 Thread Victor Michael Blancas
use the module MIME-tools. On Wed, 7 Feb 2001, Jason Terry wrote: Does anybody have an information on how to read a MIME encoded email attachment with mod_perl? -- Mike

Re: Sessions on win 32

2001-02-07 Thread Victor Michael Blancas
have u tried Apache::ASP by Joshua Chamas. It has a nice Session and Application state management. On Wed, 7 Feb 2001, harilaos wrote: Hello, I have searched everywhere but there is documentation on how to implement Apache::Session on windows. Has anyone done this? Please point me to

Silly Question Not in the FAQ

2001-02-07 Thread Stef Telford
Hello, Me again (sorry about this) and this is probably a silly question but, each of my Apache children load in CGI.pm at startup time (via the startup.pl method). The only problem is that the apache-error log grows due to the CGI.pm startup message (offline mode: enter

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Wade Burgett
This is working for me. I do some aliasing of mod_perl directories outside of the perl section for stuff that all my hosts need to share so my httpd.conf is not all perl, but I do have some aliasing going on. There's some stuff there to pull my records out of a database but basically

ecommendations for secured file and mod_perl

2001-02-07 Thread Wade Burgett
My basic problem is that I need for mod_perl scripts to get to a database password and an encryption key. I would like to be able to store these in a file not-readable by the apache user. I've got them out of the web tree already, but I would really like to make them inaccessable to the

Re[2]: File::Cache problem

2001-02-07 Thread BeerBong
Hello DeWitt, Wednesday, February 07, 2001, 6:51:24 PM, you wrote: DC On Wed, Feb 07, 2001 at 04:02:39PM +0400, BeerBong wrote: Cache size after 24 hours of working via 'du -s' - 53M via 'perl -MFile::Cacje -e"print File::Cache::SIZE('PRTL')"' - 10M DC That looks like a serious bug. Can

Re: Debugging mod_perl with gdb

2001-02-07 Thread Vivek Khera
"TB" == Tim Bunce [EMAIL PROTECTED] writes: TB I recall someone once created a whole bunch of gdb macros for debugging TB perl. I've CC'd this to p5p in the hope that someone remembers. In the mod_perl source tree (at least in CVS) there's a nice .gdbinit file that may be of use. --

Re: Debugging mod_perl with gdb

2001-02-07 Thread clayton cottingham
Vivek Khera wrote: "TB" == Tim Bunce [EMAIL PROTECTED] writes: TB I recall someone once created a whole bunch of gdb macros for debugging TB perl. I've CC'd this to p5p in the hope that someone remembers. In the mod_perl source tree (at least in CVS) there's a nice .gdbinit file that