mod_perl - CGI params are undef on large queries

M

Martin Glaude

I have a relatively simple form-handling perl script running under
Apache/2.0.40 (Vanilla RedHat 9 install).

The script runs perfectly fine in all cases when mod_perl is not used.

The script runs fine under mod_perl so long as the totally data sent
along with the post request doesn't exceed ~1k.

A large data field exists (or several smaller ones, I suppose), calls to
$query->param('whatever') return no data, no matter what field is
checked. Note: This happens on the very first query to a freshly
reloaded server, so I don't think it's a variable scope problem that can
happen in mod_perl.

I am quite perplexed. Is there a switch or parameter that needs to be
set to increase the memory allocation? Is there a bug in my build of
Apache?

The site's running fine under plain perl right now, but traffic will
be ramping up very quickly, very soon, and I'd like to get mod_perl
working properly by then.

Any tips someone could suggest would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top