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
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
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
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
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
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
"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
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( )
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
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
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
"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
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
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
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" ],
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"',
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
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
Does anybody have an information on how to read a MIME encoded email attachment with
mod_perl?
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:
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
"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?
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-
"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.
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',
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
"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
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
"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]
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
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
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
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);
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
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
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,
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
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?
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
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
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
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
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
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
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
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
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
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
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
"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.
--
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
51 matches
Mail list logo