OK I have ben RTFMing for about 5 hours now and I did find a fix for part of my
problem
It seems that Mac browsers (IE 4.5 and an old AOL that I know of) are having trouble
viewing our HTML producing CGI scripts that use
a function called &CGI::start_html()
Apparently (recently in CGI.pm)
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 thr
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 instance
Does anybody have an information on how to read a MIME encoded email attachment with
mod_perl?
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 Ali
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 te
This is the first i have seen "delete" referenced. What does it do? How is it used?
Thank you
-Jason
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 9:32 PM
Subject: Re: Modperl/Apache deficiencies... Memory usage.
> >
> > Go
(put
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]>
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 PROT
Does anybody know how to track down what is causing this error. It seems that
Apache::Registry is trying to undefine some handler,
but I don't know what handler or where. Any ideas?
[Thu Apr 6 11:06:26 2000] [error] Can't undef active subroutine at
/usr/lib/perl5/site_perl/5.005/i386-linux
/cart_jason.cgi" ,
"/home/vshopper/public_html/cgi-bin/cart_jason.cgi");
print "Done.\n";
1; #return true value
- Original Message -
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: "'Jason Terry'" <[EMAIL PROTECTED]>; <[EMAI
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]>
#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", "/home/vshopper/pu
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 PRI
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, scalar
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 aft
hanks
-Jason
- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Jason Terry" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 30, 1999 12:15 AM
Subject: Re: RegistryLoader not loading?
> > I have mod_perl 1.21 and
I have mod_perl 1.21 and am trying to preload some scripts.
I can see them in my /perl-status page. But, when I load the script it is
not using mod_perl. What am I missing
this is the startment in my startup.pl file.
$r->handler("/cgi-bin/admin.cgi",
"/home/jter/public_html/cgi-bin/admin.cgi")
Is there a way to limit the maximum amount of memory that a perl child can
use?
20 matches
Mail list logo