You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by palewire <be...@gmail.com> on 2009/05/22 20:51:53 UTC
[users@httpd] Are apache caching modules redudant of memcached?
In an attempt to address the lsof problem we flagged in this thread --
http://is.gd/CqD0 -- I've been rifling through my httpd.conf looking for
unnecessary modules I can trim out of my httpd processes.
So far this has basically amounted to me eliminating things like mod_cgi,
mod_vhost_alias, mod_speling and other Modules provided by my host by
default, but which don't seem necessary to my Django application site.
As I review the modules, I see a series of modules relating to caching. They
are:
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
The site I am operating is using a memory caching system provided by the
memcached application. I'm curious whether memcached is redudant to these
Apache processes, or dependent on them.
In other words, is it safe for me to comment them out?
Thanks in advance. I really appreciate the kind expertise available here in
the listserv.
Ben.
--
View this message in context: http://www.nabble.com/Are-apache-caching-modules-redudant-of-memcached--tp23676109p23676109.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Are apache caching modules redudant of memcached?
Posted by André Warnier <aw...@ice-sa.com>.
Ben,
indeed I seem to recall seeing things like ldap and kerberos libraries.
So probably you do have some redundant mod_auth* stuff in your
configuration, and could probably comment them out.
Independently of the number of open files, which this may impact or not,
anything you don't need and remove will diminish the memory footprint of
your server, which taking into account that after loading these
libraries it forks into n children, means n X the individual footprint.
Even if you have plenty of memory, that can only be beneficial.
Anthony J. Biacco wrote:
> Well, I use very basic authentication for apache (2.2.x), just htpasswd files and allow,deny hosts lines. So these are the only auth/authz/authn lines I have enabled. I imagine you could get by on these (or less) as long as Django uses its own libs or third party libs for its database auth. access.
>
>
>
> # Basic auth - general
>
> LoadModule authn_file_module modules/mod_authn_file.so
>
> # Allow,Deny directives
>
> LoadModule authz_host_module modules/mod_authz_host.so
>
> # Basic auth - require valid-user
>
> LoadModule authz_user_module modules/mod_authz_user.so
>
> # Basic auth - AuthType
>
> LoadModule auth_basic_module modules/mod_auth_basic.so
>
>
>
> -Tony
>
> ---------------------------
>
> Manager, IT Operations
>
> Format Dynamics, Inc.
>
> 303-573-1800x27
>
> abiacco@formatdynamics.com <ma...@formatdynamics.com>
>
> http://www.formatdynamics.com <http://www.formatdynamics.com/>
>
>
>
> From: Ben Welsh [mailto:ben.welsh@gmail.com]
> Sent: Friday, May 22, 2009 4:26 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Are apache caching modules redudant of memcached?
>
>
>
> Tony --
>
> Thank you for your time and advice. I've gone ahead and commented out the modules, and haven't encountered any problems so far.
>
> I'm also wondering how many of the authorization modules are necessary -- considering I have Django doing a lot of that through the DB. But that might be another thread ... =)
>
> Ben.
>
> On Fri, May 22, 2009 at 1:32 PM, Anthony J. Biacco <ab...@formatdynamics.com> wrote:
>
> You can comment them out
>
> -Tony
> ---------------------------
> Manager, IT Operations
> Format Dynamics, Inc.
> 303-573-1800x27
> abiacco@formatdynamics.com
> http://www.formatdynamics.com
>
>
>
>> -----Original Message-----
>> From: palewire [mailto:ben.welsh@gmail.com]
>> Sent: Friday, May 22, 2009 12:52 PM
>> To: users@httpd.apache.org
>> Subject: [users@httpd] Are apache caching modules redudant of
>> memcached?
>>
>>
>> In an attempt to address the lsof problem we flagged in this thread --
>> http://is.gd/CqD0 -- I've been rifling through my httpd.conf looking
>> for
>> unnecessary modules I can trim out of my httpd processes.
>>
>> So far this has basically amounted to me eliminating things like
>> mod_cgi,
>> mod_vhost_alias, mod_speling and other Modules provided by my host by
>> default, but which don't seem necessary to my Django application site.
>>
>> As I review the modules, I see a series of modules relating to
> caching.
>> They
>> are:
>>
>> LoadModule cache_module modules/mod_cache.so
>> LoadModule disk_cache_module modules/mod_disk_cache.so
>> LoadModule file_cache_module modules/mod_file_cache.so
>> LoadModule mem_cache_module modules/mod_mem_cache.so
>>
>> The site I am operating is using a memory caching system provided by
>> the
>> memcached application. I'm curious whether memcached is redudant to
>> these
>> Apache processes, or dependent on them.
>>
>> In other words, is it safe for me to comment them out?
>>
>> Thanks in advance. I really appreciate the kind expertise available
>> here in
>> the listserv.
>>
>> Ben.
>> --
>> View this message in context:
> http://www.nabble.com/Are-apache-caching-
>> modules-redudant-of-memcached--tp23676109p23676109.html
>> Sent from the Apache HTTP Server - Users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Are apache caching modules redudant of memcached?
Posted by "Anthony J. Biacco" <ab...@formatdynamics.com>.
Well, I use very basic authentication for apache (2.2.x), just htpasswd files and allow,deny hosts lines. So these are the only auth/authz/authn lines I have enabled. I imagine you could get by on these (or less) as long as Django uses its own libs or third party libs for its database auth. access.
# Basic auth - general
LoadModule authn_file_module modules/mod_authn_file.so
# Allow,Deny directives
LoadModule authz_host_module modules/mod_authz_host.so
# Basic auth - require valid-user
LoadModule authz_user_module modules/mod_authz_user.so
# Basic auth - AuthType
LoadModule auth_basic_module modules/mod_auth_basic.so
-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco@formatdynamics.com <ma...@formatdynamics.com>
http://www.formatdynamics.com <http://www.formatdynamics.com/>
From: Ben Welsh [mailto:ben.welsh@gmail.com]
Sent: Friday, May 22, 2009 4:26 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Are apache caching modules redudant of memcached?
Tony --
Thank you for your time and advice. I've gone ahead and commented out the modules, and haven't encountered any problems so far.
I'm also wondering how many of the authorization modules are necessary -- considering I have Django doing a lot of that through the DB. But that might be another thread ... =)
Ben.
On Fri, May 22, 2009 at 1:32 PM, Anthony J. Biacco <ab...@formatdynamics.com> wrote:
You can comment them out
-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco@formatdynamics.com
http://www.formatdynamics.com
> -----Original Message-----
> From: palewire [mailto:ben.welsh@gmail.com]
> Sent: Friday, May 22, 2009 12:52 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Are apache caching modules redudant of
> memcached?
>
>
> In an attempt to address the lsof problem we flagged in this thread --
> http://is.gd/CqD0 -- I've been rifling through my httpd.conf looking
> for
> unnecessary modules I can trim out of my httpd processes.
>
> So far this has basically amounted to me eliminating things like
> mod_cgi,
> mod_vhost_alias, mod_speling and other Modules provided by my host by
> default, but which don't seem necessary to my Django application site.
>
> As I review the modules, I see a series of modules relating to
caching.
> They
> are:
>
> LoadModule cache_module modules/mod_cache.so
> LoadModule disk_cache_module modules/mod_disk_cache.so
> LoadModule file_cache_module modules/mod_file_cache.so
> LoadModule mem_cache_module modules/mod_mem_cache.so
>
> The site I am operating is using a memory caching system provided by
> the
> memcached application. I'm curious whether memcached is redudant to
> these
> Apache processes, or dependent on them.
>
> In other words, is it safe for me to comment them out?
>
> Thanks in advance. I really appreciate the kind expertise available
> here in
> the listserv.
>
> Ben.
> --
> View this message in context:
http://www.nabble.com/Are-apache-caching-
> modules-redudant-of-memcached--tp23676109p23676109.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Are apache caching modules redudant of memcached?
Posted by Ben Welsh <be...@gmail.com>.
Tony --
Thank you for your time and advice. I've gone ahead and commented out the
modules, and haven't encountered any problems so far.
I'm also wondering how many of the authorization modules are necessary --
considering I have Django doing a lot of that through the DB. But that might
be another thread ... =)
Ben.
On Fri, May 22, 2009 at 1:32 PM, Anthony J. Biacco <
abiacco@formatdynamics.com> wrote:
> You can comment them out
>
> -Tony
> ---------------------------
> Manager, IT Operations
> Format Dynamics, Inc.
> 303-573-1800x27
> abiacco@formatdynamics.com
> http://www.formatdynamics.com
>
>
> > -----Original Message-----
> > From: palewire [mailto:ben.welsh@gmail.com]
> > Sent: Friday, May 22, 2009 12:52 PM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] Are apache caching modules redudant of
> > memcached?
> >
> >
> > In an attempt to address the lsof problem we flagged in this thread --
> > http://is.gd/CqD0 -- I've been rifling through my httpd.conf looking
> > for
> > unnecessary modules I can trim out of my httpd processes.
> >
> > So far this has basically amounted to me eliminating things like
> > mod_cgi,
> > mod_vhost_alias, mod_speling and other Modules provided by my host by
> > default, but which don't seem necessary to my Django application site.
> >
> > As I review the modules, I see a series of modules relating to
> caching.
> > They
> > are:
> >
> > LoadModule cache_module modules/mod_cache.so
> > LoadModule disk_cache_module modules/mod_disk_cache.so
> > LoadModule file_cache_module modules/mod_file_cache.so
> > LoadModule mem_cache_module modules/mod_mem_cache.so
> >
> > The site I am operating is using a memory caching system provided by
> > the
> > memcached application. I'm curious whether memcached is redudant to
> > these
> > Apache processes, or dependent on them.
> >
> > In other words, is it safe for me to comment them out?
> >
> > Thanks in advance. I really appreciate the kind expertise available
> > here in
> > the listserv.
> >
> > Ben.
> > --
> > View this message in context:
> http://www.nabble.com/Are-apache-caching-
> > modules-redudant-of-memcached--tp23676109p23676109.html
> > Sent from the Apache HTTP Server - Users mailing list archive at
> > Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
RE: [users@httpd] Are apache caching modules redudant of memcached?
Posted by "Anthony J. Biacco" <ab...@formatdynamics.com>.
You can comment them out
-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco@formatdynamics.com
http://www.formatdynamics.com
> -----Original Message-----
> From: palewire [mailto:ben.welsh@gmail.com]
> Sent: Friday, May 22, 2009 12:52 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Are apache caching modules redudant of
> memcached?
>
>
> In an attempt to address the lsof problem we flagged in this thread --
> http://is.gd/CqD0 -- I've been rifling through my httpd.conf looking
> for
> unnecessary modules I can trim out of my httpd processes.
>
> So far this has basically amounted to me eliminating things like
> mod_cgi,
> mod_vhost_alias, mod_speling and other Modules provided by my host by
> default, but which don't seem necessary to my Django application site.
>
> As I review the modules, I see a series of modules relating to
caching.
> They
> are:
>
> LoadModule cache_module modules/mod_cache.so
> LoadModule disk_cache_module modules/mod_disk_cache.so
> LoadModule file_cache_module modules/mod_file_cache.so
> LoadModule mem_cache_module modules/mod_mem_cache.so
>
> The site I am operating is using a memory caching system provided by
> the
> memcached application. I'm curious whether memcached is redudant to
> these
> Apache processes, or dependent on them.
>
> In other words, is it safe for me to comment them out?
>
> Thanks in advance. I really appreciate the kind expertise available
> here in
> the listserv.
>
> Ben.
> --
> View this message in context:
http://www.nabble.com/Are-apache-caching-
> modules-redudant-of-memcached--tp23676109p23676109.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org