I have a rather large script I run through mod_perl and occasionally, I have
notice some users with stuck processes. It seems
like they are in some sort of infinite loop.
The CPU that the child is using is high, and the memory gradually grows until my
server would eventually start to
I am running
Apache/1.3.14 (Unix) mod_perl/1.24_01 PHP/4.0.3pl1 mod_ssl/2.7.1 OpenSSL/0.9.6
And run several database and MEMORY hogging mod_perl scripts... My problem is that
recently I have had some users that are getting
impatient and hitting the reload/refresh button OFTEN. In some
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
Does anybody have an information on how to read a MIME encoded email attachment with
mod_perl?
I do use an allow/deny with a domain name.
My question is, does it only force the lookup for the directory that the rule applies
to. Or, does simply having the rule force
lookups on ALL pages?
Thanks for the help
-Jason
- Original Message -
From: "Marc Slemko" [EMAIL PROTECTED]
I just wanted to thank you guys for sending this to the mailing list.
I added these lines to my startup script
use Carp;
CGI-compile(qw(my_common_functions));
DBI-install_driver('mysql');
Please note that these were already existing in my startup script.
use CGI();
use DBI();
And after
quotes around text) to my pre-loaded mod_perl cgi script. Perhaps apache::registry is
having difficulty rebuilding my scripts when
I make changes?
- Original Message -
From: "Jason Terry" [EMAIL PROTECTED]
To: "Doug MacEachern" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent:
upgraded my server to 1.22. I reviewed my log files and it
seems to have happend more often with 1.21
ps. Its been several days (Apr 6th) since it last happened.
- Original Message -
From: "Doug MacEachern" [EMAIL PROTECTED]
To: "Jason Terry" [EMAIL PROTECTED]
#you may define Perl*Handler subroutines here too
print "Making Apache::Registry scripts global . . .";
$Apache::Registry::NameWithVirtualHost = 0;
print "Done.\nLoading admin.cgi . . . . . . . . . . . . . ";
my $r = Apache::RegistryLoader-new;
$r-handler("/cgi-bin/admin.cgi",
;
Then mod_perl would ignore the virtual host an use the same script for all users.
However with 1.22 it doesn't seem to be doing
that anymore.
- Original Message -
From: "Geoffrey Young" [EMAIL PROTECTED]
To: "'Jason Terry'" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday,
Is there a way I can tell where my memory usage is going in an Apache child?
I have a server that starts with acceptable numbers, but after a while it
turns into this
Server Version: Apache/1.3.9 (Unix) mod_perl/1.21 PHP/3.0.12 mod_ssl/2.4.4
OpenSSL/0.9.4
Redhat Linux: 2.2.13
PID USER
I do not consider myself a mod_perl guru... But, it sounds like you are
having troubles with global variables. Once you have the script compiled go
here...
1) http://yourserver.com/perl-status
2) click "Compiled Registry Scripts"
3) click on the script in question
4) check on your hashes,
Is there a way to RegistryLoader a single instance of a script
/cgi-bin/admin.cgi
and have this instance work across ALL virtual hosts.
simply loading
$r-handler("/cgi-bin/admin.cgi",
"/home/jter/public_html/cgi-bin/admin.cgi");
doesn't seem to work. It loads it, but if I check my processes
13 matches
Mail list logo