Re: Problem configuring and making mod_perl

2003-07-16 Thread C. Jon Larsen
I hit the same error trying to build on a rh9.0 workstation. This solved my problem: CPPFLAGS=-I/usr/kerberos/include export CPPFLAGS Than unpack, config, make, etc ... On Wed, 16 Jul 2003, Richard Kurth wrote: > I am trying to compile mod_perl-1.28 with apache_1.3.27,openssl-0.9.7b and > mo

RE: development techniques - specifically debug methods

2003-01-09 Thread C. Jon Larsen
There is a good technique in the mod_perl cookbock that talks about using a Debug module with exported constants. If you program to the API where all of your code is compiled into bytecode at server startup into discrete packages then this means that all of your debug if() sections sprinkled t

Re: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread C. Jon Larsen
ion is probably based on once- > valid but now out of date analysis. > > -- > Steven Lembark 2930 W. Palmer > Workhorse Computing Chicago, IL 60647 >+1 800 762 1582 > -- C. Jon Larsen Chief Technology Officer, Richweb.com (804.307.6939) SMTP: [EMAIL PROTECTED] (http://richweb.com/cjl_pgp_pub_key.txt) Richweb.com: Designing Open Source Internet Business Solutions since 1995 Building Safe, Secure, Reliable Cisco-Powered Networks since 1995

Re: can't flush buffers?

2000-12-23 Thread C. Jon Larsen
> > I posted something like this a week ago, but typos in my message kept > anyone from understanding the issue. > > I am trying to return each row to the client as it comes from the > database, instead of waiting for all the rows to be returned before > displaying them. Why woul

Re: Forking in mod_perl?

2000-10-04 Thread C. Jon Larsen
I use a database table for the queue. No file locking issues, atomic transactions, you can sort and order the jobs, etc . . . you can wrap the entire "queue" library in a module. Plus, the background script that processes the queue can easily run with higher permissions, and you don't have to wor

Re: [RFC] Do Not Run Everything on One mod_perl Server

2000-04-19 Thread C. Jon Larsen
My apache processes are typically 18MB-20MB in size, with all but 500K to 1MB of that shared. We restart our servers in the middle of the nite as part of planned maintenance, of course, but even before we did that, and even after weeks of uptime, the percentages did not change. We do not use Apa

Re: performance mongers: since when is using CGI.pm or Apache::Registrydishonorable?

2000-03-31 Thread C. Jon Larsen
Setup a single appRequestHandler() that uses a hash table to map uris to functions. Becomes even more useful when you put your library code for sessions, headers, footers, etc in the wrapper routine. - my $info = { c jon larsen => 'ric

Re: performance mongers: since when is using CGI.pm or Apache::Registrydishonorable?

2000-03-29 Thread C. Jon Larsen
CGI.pm is a great piece of code, but its very monolithic. Lincoln/Doug's libapreq module is probably much faster (I have never run benchmarks) than CGI.pm, so it makes sense for those who like the Q->param type interface (I do) for working with CGI environment variables, but don't need all the h

RE: mod_perl on Apache 2.0

1999-11-03 Thread C. Jon Larsen
One of the main reasons I use mod_perl is because of the pre-fork caching I can do in the parent that the children can share cheaply. I take huge data structures and assemble them in ram as read-only databases (read hash tables) that are much faster and simpler to access than sql (I use sql only