[Mod_gzip] Réf. : Antwort: [Mod_gzip] (no subject)
mod_gzip@lists.over.net
mod_gzip@lists.over.net
Fri, 24 Jan 2003 09:21:40 +0100
Hi Michael,
thank you for your support.
I have a Linux Debian 2.2.17, Apache 1.3 (Debian package) and I have
installed the mod-gzip from Debian package libapache-mod-gzip 1.3.19.1a-5 .
I changed the
mod_gzip_maximum_inmem_size
directive value to 60000, as you suggested, but I still get the same
/usr/sbin/apachectl: line 171: 9294 Segmentation fault $HTTPD -t
I found a similar error indicated in the debian bugtrack list
http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=151867
but even then I didn't get much out of it. May be I should just get the
souce and compile it from scratch.
Regards
Giulio Iannazzo
Michael.Schroepl@telekurs.de@lists.over.net le 23/01/2003 18:21:28
Veuillez répondre à mod_gzip@lists.over.net
Envoyé par : mod_gzip-admin@lists.over.net
Pour : mod_gzip@lists.over.net
cc :
Objet : Antwort: [Mod_gzip] (no subject)
Hi Giulio,
> I installed mod_gzip
which version (both mod_gzip and Apache)?
On which platform?
Statically compiled in, or some DSO loaded via mod_so?
"Installed" could mean a lot of different things ...
> # [mod_gzip configuration]
> mod_gzip_on Yes
> mod_gzip_minimum_file_size 300
> mod_gzip_maximum_file_size 0
> mod_gzip_maximum_inmem_size 100000
This will be limited to 60000 internally by mod_gzip:
if ( dconf__maximum_inmem_size > (long) 60000L )
{
/* TODO: Some OS'es will have a 'malloc()' problem if the */
/* in-memory size is greater than 64k so for now just set */
/* 60k as the fixed upper limit. Expand this later. */
/* NOTE: Testing has shown that for responses greater than */
/* 60k or so the 'swap to disk' option SHOULD be used, anyway. */
/* MOST responses will be far less than 60k. */
dconf__maximum_inmem_size = (long) 60000L;
}
It dooesn't hurt to try setting this to a value below
60k, but I don't expect any different result by that.
> mod_gzip_keep_workfiles No
> mod_gzip_temp_dir /tmp
> mod_gzip_dechunk Yes
> mod_gzip_item_include file \.htm$
> mod_gzip_item_include file \.html$
> mod_gzip_item_include file \.php$
> mod_gzip_item_include file \.pl$
> mod_gzip_item_include file \.cgi$
> mod_gzip_item_include file \.phps$
> mod_gzip_item_include mime text/.*
Nothing spectacular here, I think.
> but when I run
> /usr/local/apache/bin/apachectl configtest
> I get
> /usr/sbin/apachectl: line 171: 8550 Segmentation fault $HTTPD -t
> where $HTTPD is my /usr/sbin/apache
Oops. Quite interesting.
I would try first to nail this down in the area of the in-
stallation process (maybe you have a corrupted DSO file or
something like that?).
So please explain what exactly you did there.
> what does this mean ?
Apache crashed, obviously while checking the configuration
directives.
Sounds like some of the configuration parsers has run wild
and points to a memory section it isn't entitled to access.
It might be a bug in mod_gzip (although I cannot reproduce
it with your configuration), or it might be a corrupted file
you loaded as "mod_gzip.so" etc..
> How can I solve this problem?
First we would have to identify whether it is a bug or a
broken installation. Therefore ... see above.
Regards, Michael
_______________________________________________
mod_gzip mailing list
mod_gzip@lists.over.net
http://lists.over.net/mailman/listinfo/mod_gzip