RE: loss of shared memory in parent httpd

2002-03-17 Thread Eric Frazier
Hi, I had hoped that FreeBSD would be immune, but it seems not. I have been bashing it with http_load and all of a sudden(after a LOT of bashing and swaping) all of my processes had zero shared. It did take me days of fiddling to run into this though. Thanks, Eric At 04:16 PM 3/16/02

Re: loss of shared memory in parent httpd (2)

2002-03-17 Thread Eric Frazier
Hi, This may be totaly ignorate crap, but I noticed this when I was reading the ps man page on BSD 4.5 about sys/proc.h flags This one I noticed.. P_SYSTEM 0x00200System proc: no sigs, stats or swapping Could this mean what I think it means? That a process with this flag set,

Apache::DBI or What ?

2002-03-21 Thread Eric Frazier
Hi, I was all happy and rolling along when I read this in the docs. With this limitation in mind, there are scenarios, where the usage of Apache::DBI is depreciated. Think about a heavy loaded Web-site where every user connects to the database with a unique userid. Every

Re: Apache::DBI or What ?

2002-03-25 Thread Eric Frazier
Hi, It might well be that in my particular case, I don't have anything to worry about the connection time per each user most likely won't kill me or even cause problems at first. But I am trying to build a system, and I don't want to skip any reasonable efficences I can build in from the start.

Re: Apache::DBI or What ?

2002-03-26 Thread Eric Frazier
Hi, If you have any idea where to find this code I would be thankful. I can only find this.. http://aspn.activestate.com/ASPN/Mail/Message/perl-DBI/298774 Thanks, Eric At 04:47 PM 3/26/02 -0500, John D Groenveld wrote: There are databases that allow you to change the current user without

Re: Apache::DBI or What ?

2002-04-02 Thread Eric Frazier
that would help, which ment that the real stuff was barried deeper still. But the caching of connection handles makes sense, and that might still be worth while. Between this and mod_accel I have a lot to mess with. Thanks, Eric At 01:52 PM 3/30/02 -0500, Hank Leininger wrote: On 2002-03-27, Eric

Equiv Apache list to this list?

2002-04-13 Thread Eric Frazier
Hi, I have been having lots of questions about Apache recently, not many of them are really mod_perl questions, so what is the best place to post those? Thanks, Eric http://www.kwinternet.com/eric (250) 655 - 9513 (PST Time Zone) Learn about the net, not the .Net!

XML::RPC

2002-04-21 Thread Eric Frazier
Hi, I am finally finding yes, there could be a reason for me to use this, I want to avoid SOAP, partly because of the license crap(fear), but also because I figure that XMLRPC will be easier to learn at first and likely will fit my small needs. But as I look at examples and various tools that

Re: XML::RPC

2002-04-21 Thread Eric Frazier
I forgot one, http://sourceforge.net/projects/mod-xmlrpc/ But it isn't exactly well documented for a non C programmer. It looks like it might be an option. Eric http://www.kwinternet.com/eric (250) 655 - 9513 (PST Time Zone) Learn about the net, not the .Net!

Re: XML::RPC

2002-04-21 Thread Eric Frazier
Hi, The warning is nice, but it isn't that useful. Do you have an alternative? I am not looking to do great things, just get a Java client to be able to do a few method calls, and to accept a XML encoded hash of perl data. It is a fairly complex hash though. So I really don't know of another way

Re: XML::RPC

2002-04-21 Thread Eric Frazier
Hi, Thanks, the thing that scared me about RPC::XML was the 0.37 version number :) I will give it a serious try before I go to something like SOAP. Within RPC::XML: Apache::RPC::Server - A subclass of RPC::XML::Server tuned for mod_perl I didn't see this until now. :) Getting warm

Building high load mod_perl/Mason servers

2002-06-06 Thread Eric Frazier
Hi, I just got the chance to be in charge of a very busy website, and its future growth. Currently it is running with PHP on two round robin servers with a separate mysql db server. We are going to be moving to mod_perl, but I am worried about how to keep from getting into the same kind of trap

RE: mod_perl/passing session information (MVC related, maybe...)

2002-06-12 Thread Eric Frazier
Hi, I don't know this term query hijack can you put it in different words? Thanks, Eric At 03:54 PM 2002-06-12 +0100, you wrote: Do put the user_id into the query session and check it against the user_id in the User session to prevent query hijack

CGI::Application

2002-06-16 Thread Eric Frazier
Hi, I am still working on building a framework, design plan for this busy site I am working on. It is a total revamp so I have the chance to do things right I have been looking into HTML::Template which is a lot simper than Embed perl or the template tool kit. I am wondering if anyone has

Re: CGI::Application

2002-06-16 Thread Eric Frazier
At 01:06 PM 6/16/02 -0400, Sam Tregar wrote: On Sun, 16 Jun 2002, Eric Frazier wrote: I have been looking into HTML::Template which is a lot simper than Embed perl or the template tool kit. I am wondering if anyone has experence with using both of these with Registry.pm I do! Back when I

Re: CGI::Application

2002-06-16 Thread Eric Frazier
Hi, I think mostly it is about having standards and in a business env making it so that people who only know part of the picture can still work on the project as a whole. Sounds like OOP huh? HTML in perl scripts just messes that whole thing up, like I said before, our fearless leader can mess

duplicate output with Registry.pm

2002-07-15 Thread Eric Frazier
Hi, I know this is a FAQ sort of question, but I can't find it in the faq and I am going nuts. Like I know I know the answer to this, but I just can't get it back in my head. Any output under Registry.pm gets duplicated. One page = two doubled pages. I am using CGI::Application and

Re: duplicate output with Registry.pm

2002-07-16 Thread Eric Frazier
Hi, It happens with the printenv script also. Again, I did this to myself before, but I can't remember how I fixed it. It was something very simple. Thanks, Eric My http.conf perl stuff = # mod_perl config PerlRequire

Re: duplicate output with Registry.pm

2002-07-16 Thread Eric Frazier
Hi, I will try that out. It was something like that, it even rings a bell a bit. Thanks! I will let you know. Eric At 03:51 PM 7/16/02 +0200, Eric Cholet wrote: --On Tuesday, July 16, 2002 06:44:10 -0400 Eric Frazier [EMAIL PROTECTED] wrote: Hi, It happens with the printenv script

reading an ENV with Perl that was set with mod_rewrite [E= : ]

2002-07-25 Thread Eric Frazier
Hi, Has anyone used mod_rewrite to set an environmental variable based on the result of a reg exp? For example: RewriteRule ^/pt=([^/]+)?(.*) /home/me.com/public_html/$2 [E=PT:$1] I can get a static url like: RewriteRule /perl /usr/local/apache/perl/printenv [E=ERIC:bob] to work, but the

Apache::DBI and CGI::Application with lots of modules.

2002-10-12 Thread Eric Frazier
Hi, I am glad to see the list traffic has been picking up lately. It makes me have higher hope about posting this. First some background info. I have a fairly large CGI::Application module about 30 run modes that pretty much follows the example mailform module. I am also using HTML::Template

Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-12 Thread Eric Frazier
Perrin, I am going to read over this closely, thanks for all of the advice! What frustrats me about the search getting cached/closure thing is that I just don't have any global variables that have anything to do at all with the search results. I have read over and over examples with closures,

Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-13 Thread Eric Frazier
Hi, Here is the kind of thing that is driving me nuts. Please see: http://perl.apache.org/docs/general/perl_reference/perl_reference.html#Remed ies_for_Inner_Subroutines If what this says is true, then either I don't have a closure type problem, or else what is says isn't true. It says that

Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-14 Thread Eric Frazier
At 11:58 AM 10/14/02 -0400, Perrin Harkins wrote: Eric Frazier wrote: Here is the kind of thing that is driving me nuts. Please see: http://perl.apache.org/docs/general/perl_reference/perl_reference.html#Remed ies_for_Inner_Subroutines If what this says is true, then either I don't have

Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-14 Thread Eric Frazier
Perrin, I am starting to feel guilty about bugging you so much, but you are the only person to have responded, and I watch the list enough to value your advice quite a bit. sub new { my $invocant = shift; my $class = ref($invocant) || $invocant; That looks

Re: [cgiapp] Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-15 Thread Eric Frazier
, Apache::DB will be my next most helpfull item. Eric At 02:33 PM 10/14/02 -0400, William McKee wrote: On 14 Oct 2002 at 9:12, Eric Frazier wrote: That I am not so sure of. I will do some more investigation. It seems like the only variables that could be causing this are the result set from

Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-15 Thread Eric Frazier
At 07:13 PM 10/14/02 +0200, Rafiq Ismail wrote: On Mon, 14 Oct 2002, Eric Frazier wrote: That looks like voodoo code copied from a man page. If you call this as Holds-new(), you don't need that junk about ref. (And most people recommend against the new Holds syntax.) I wanted the DBH

Re: We need help from mod_perl users with technical expertise in non-mainstream OSs

2002-12-19 Thread Eric Frazier
Hi, I have to say that was the nicest rant I have read in some time. I wish I knew something about those other OS's :( Eric At 10:35 AM 12/17/02 +0800, Stas Bekman wrote: Here at the list we have a rather sucky trend in the last year or so. Those folks who report problems that they have

Re: [mp2] e-Commerce

2003-01-20 Thread Eric Frazier
Hi, On that note, how about just using Apache2 for the proxy front end, and mod_perl /apache 1.x for the back end? I have wanted to try to avoid the thttpd stuff for images and from what I have heard about apache2 it can handle static pages a lot faster than the 1.x did. Thanks, Eric At

Re: [mp2] e-Commerce

2003-01-21 Thread Eric Frazier
it to the list. But I can't believe someone on this list hasn't done that already. Thanks, Eric At 06:09 PM 1/21/03 +1100, Stas Bekman wrote: Perrin Harkins wrote: Eric Frazier wrote: On that note, how about just using Apache2 for the proxy front end, and mod_perl /apache 1.x

Re: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
Hi, I guess this is off topic for this list, since I would be doing this no matter if I was running CGI or mod_perl or whatever. I am pretty desparate to get this working, and if anyone wants to earn some cash helping me fix things PLEASE call me at 250 655-9513. I have been trying to

Re: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
Hi, That sound like one way to go, I want to be very careful with something like this. You speak as if restoring 5.6 behaviour is the best or only way to go. Do you see any other alternatives? Thanks, Eric At 04:57 PM 9/16/03 +0200, Rafael Garcia-Suarez wrote: Eric Frazier wrote

RE: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
; if($pid == 0) { # all your child code here # when it's done, kill the child: exit(0); } } This seemes reasonably stable. If anybody has a better way, then I'm all ears. Cheers! -Original Message- From: Eric Frazier [mailto

RE: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
: exit(0); } } This seemes reasonably stable. If anybody has a better way, then I'm all ears. Cheers! -Original Message- From: Eric Frazier [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:24 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_perl v2 Forking Hi

RE: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
the exit. Otherwise, I don't know I'm afraid. -Original Message- From: Eric Frazier [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:57 To: Stephen Hardisty Cc: [EMAIL PROTECTED] Subject: RE: mod_perl v2 Forking Hi, Doing this works for me. But I am ending up with some errors that I