Try this patch:
[...]
Feel free to submit this bug report and the fix to httpd-dev. Please let
me know if you do that, so I won't duplicate it. But I'd prefer that you
do it so you can make sure that it gets fixed in the next release, since
you need it working.
I've just verified that your
Please report to the list the bug id so we can document this issue for
those who have the same problem with older httpds. Thanks.
OK, I've posted it.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22259
Thanks for the fix!
-bill
I can measure it myself if you can provide me with URLs to your resources
and identify them in terms of which one is mod_CGI and which is mod_perl.
This is the mod_cgi one that works fine, no errors:
http://shevek.kenyonhill.com/cgi/test.pl
This is the mod_perl one (same script) that generates
We can see that mod_cgi bufferizes the output and sends it with
Content-Length HTTP header (to mod_deflate). Indeed mod_perl generates
chunked response. Finally we have the same result. I don't see any problem
at this moment.
Well, the problem is that I get this error in my error_log:
[Mon Jul
At 04:24 AM 7/15/2003, Stas Bekman wrote:
Philippe M. Chiasson wrote:
On Thu, 2003-07-03 at 01:24, Bill Marrs wrote:
This fixed the bug for me.
Great! Will commit it in the near future. (Can't seem to access the cvs
server right now, crappy internet cafe)
-1, this is a wrong solution. print
I could upgrade to 2.0.47, but it seems unlikely that it would fix
this. Are you sure you're running a mod_perl without Philippe's fix (in
Apache__RequestIO.h), I assumed he eventually checked it in.
No, Philippe hasn't committed it, neither I have used it. If you can test
with 2.9.47 that
I don't know anything about Memoize, but perhap db-level caching would work
for you?
If you user MySQL, Mysql 4.0.1 and beyond has Query Caching capabilities
built into it.
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Query_Cache
-=bill
When I use Apache 2.0.46, mod_deflate with mod_perl-1.99_09 (or the latest
mod_perl-2.0 CVS), perl buffering is off ($|=1), and my perl script prints
nothing (e.g. 'print ;'), I get the following error:
[Wed Jul 02 10:10:00 2003] [error] 19513: ModPerl::RegistryBB: 20014:Error
string not
This fixed the bug for me.
At 10:48 AM 7/2/2003, you wrote:
#define mpxs_output_flush(r, rcfg) \
/* if ($|) */ \
-if (IoFLUSH(PL_defoutgv)) { \
+if (bytes 0 IoFLUSH(PL_defoutgv)) { \
MP_FAILURE_CROAK(modperl_wbucket_flush(rcfg-wbucket, TRUE)); \
}
I used to use mod_gzip under Apache 1.3, and it worked great, saving my
over 50% of my bandwidth for my mod_perl generated pages.
But, it appears that mod_gzip doesn't work with Apache 2. Apache 2 has a
built-in mod_deflate, but I've had some trouble with it (seemed to cause a
load spike on
That would be of my real interest to know as many details of Bill's
experience with mod_deflate as he can provide.
Since I posted my first message, I've been snooping around the 'net to find
more info on mod_gzip and mod_deflate. Here's what I came up with:
The general recommendation seems to
1. Are you using any Cascaded Stile Sheets and/of JavaScript libraries
linked to your main web pages?
I'm not, but... I think mod_defalte's hook is after all that is processed,
so it's not especially relevant.
2. If yes, how do you turn compression off for those files in case of
Netscape-4
I recently moved to Apache 2 + mod_perl2 and things have been working
fairly well.
But, I'm getting an intermittent problem with POSTs where the input data is
being truncated. This causes havoc, especially in my forum system.
I use CGI.pm, mod_perl 2, Apache 2, and the standard RH9 Perl
At 04:48 PM 6/25/2003, Haroon Rafique wrote:
I think you should take a look at the list archives for this thread:
http://mathforum.org/epigone/modperl/bindondrei
Thank You!
This is very likely the problem I'm having.
Secondly, you should also post the version numbers for all of the
I'm looking for a Redhat 9 compatible mod_perl-1.99_09 rpm.
If anyone has one or knows where I can get one, let me know.
Thanks,
-bill
p.s. I did find a Rawhide (bleeding edge Red Hat release, I think)
mod_perl-1.99_09, but it doesn't seem to be compatible (I got an error from
Apache).
If I can't find the mod_perl rpm I need, it's looking like I might need to
build it from source. I believe this would mean also building Perl and
Apache from source.
Now, I have a redhat-installed Perl already. From past discussions, the
best idea seemed to be to create a 2nd perl
Maybe adding this to your httpd.conf will help:
ExtendedStatus On
?
At 10:53 PM 3/22/2002, Stas Bekman wrote:
top and libgtop use the same source of information, so it has nothing to
do with these tools.
'top' has the ability to display SWAP on a per-process basis (you have to
change the defaults to see it, but it's there).
I didn't find this per-process SWAP
Stas,
Thanks for tracking that down.
So, the problem is our tools. For me, that's GTopLimit (but also SizeLimit).
I would think it must be possible to cajole these two into realizing their
error. top seems to know how much a process has swapped. If GTopLimit
could know that, the number
The reason turning off swap works is because it forces the memory from
the parent process that was swapped out to be swapped back in. It will
not fix those processes that have been sired after the shared memory
loss, as of Linux 2.2.15 and Solaris 2.6. (I have not checked since
then for
It's copy-on-write. The swap is a write-to-disk.
There's no such thing as sharing memory between one process on disk(/swap)
and another in memory.
agreed. What's interesting is that if I turn swap off and back on again,
the sharing is restored! So, now I'm tempted to run a crontab every 30
At 04:02 AM 3/14/2002, Matt Phelps wrote:
Forgive me if I'm posting to the wrong group. Ive got apache 1.3.22
running several virtual webs. I can get perl scripts to run under the
default web but not in the others. All the webs point to the same script
folder. If I try to run the script under
How is it even remotely possible that turning off swap restores memory
shared between processes? Is the Linux kernel going from process to process
comparing pages of memory as they re-enter RAM? Oh, those two look
identical, they'll get shared?
This is a good point. I really have no clue how
I just wanted to mention that the theory that my loss of shared memory in
the parent is related to swapping seems to be correct.
When the lack of sharing occurs, it is correlated with my httpd processes
showing a SWAP (from top/ps) of 7.5MB, which is roughly equal to the amount
of sharing
I'm a heavy mod_perl user, running 3 sites as virtual servers, all with
lots of custom Perl code. My httpd's are huge(~50mb), but with the help of
a startup file I'm able to get them sharing most of their
memory(~43). With the help of GTopLimit, I'm able to keep the memory usage
under
Thanks for all the great advice.
A number of you indicated that it's likely due to my apache processes being
partially swapped to disk. That seems likely to me. I haven't had a
chance to prove that point, but when it does it again and I'm around, I
plan to test it with free/top (top has a
When I install the recent Redhat 7.2 updates for glibc:
glibc-2.2.4-19.3.i386.rpm
glibc-common-2.2.4-19.3.i386.rpm
glibc-devel-2.2.4-19.3.i386.rpm
It breaks my Apache GTop-based Perl modules, in a way that I don't understand.
Here is are the error messages from my httpd/error_log:
[Tue Mar 12
This is the same problem I've been struggling with.
What has fixed it for me is building Apache and mod_perl from the tar
archives and linking Apache statically (no .so's).
I haven't investigated much further, but even after I built Perl, Apache,
and mod_perl by hand it still happened. Only
At 10:14 AM 12/11/99 -0800, Cliff Rayman wrote:
Stas Bekman wrote:
On Sat, 11 Dec 1999, Bill Marrs wrote:
Hi,
I've been using mod_perl successfully albeit minimally for a couple
months
now.
I'm trying to tune performance and memory usage by consolidating some
common
n the set args line as well
so you are running the program with the same enviroment
in gdb as when you run with apachectl.
cliff rayman
genwax.com
Bill Marrs wrote:
At 10:14 AM 12/11/99 -0800, Cliff Rayman wrote:
Stas Bekman wrote:
On Sat, 11 Dec 1999, Bill Marrs wrote:
H
Hi,
I've been using mod_perl successfully albeit minimally for a couple months
now.
I'm trying to tune performance and memory usage by consolidating some
common Perl "use" directives in a PerlRequire statement. However, when I
add this line to my Apache config file
tualHost
Any help would be appreciated, feel free to just point me elsewhere if this
isn't appropriate on the modperl mailing list (I'm new to the list).
Bill Marrs
tualHost
Any help would be appreciated, feel free to just point me elsewhere if this
isn't appropriate on the modperl mailing list (I'm new to the list).
Bill Marrs
33 matches
Mail list logo