mod_perl and infinite loops

2001-04-25 Thread Jason Terry
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

Apache thrashing my swap...

2001-02-28 Thread Jason Terry
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

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

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?

Re: DNS Lookups ? huh ?

2000-06-09 Thread Jason Terry
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]

Re: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-06 Thread Jason Terry
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

Fw: Apache::Registry error message?

2000-04-17 Thread Jason Terry
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:

Re: Apache::Registry error message?

2000-04-12 Thread Jason Terry
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]

modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Jason Terry
#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",

Re: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Jason Terry
; 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,

horrible memory consumption

2000-01-19 Thread Jason Terry
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

Re: mod_perl mixing up scripts?

2000-01-12 Thread Jason Terry
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,

RegistryLoader and multiple virtualhosts

1999-12-30 Thread Jason Terry
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