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

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

Re: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread C. Jon Larsen
is that the objection 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

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 would you

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

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

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