You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/07/23 09:51:41 UTC

[Bug 55296] New: HTTPD memory usage increasing continoulsy

https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

            Bug ID: 55296
           Summary: HTTPD memory usage increasing continoulsy
           Product: Apache httpd-2
           Version: 2.2.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Runtime Config
          Assignee: bugs@httpd.apache.org
          Reporter: sumitinder.digra@aricent.com

After an overnight run httpd memory usage has reached to 1.6Gb.
Memory consumption started at around 10Mb and httpd service was left running
overnight which resulted in increase in memory to 1.6Gb.
System resource are getting exhausted.

1. Start httpd service.
2. Use service which send request to httpd server(as our application is GUI
based which send request)
3. Keep http service running overnight.

list of packages used:
httpd-2.2.3-43.el5.centos
mod_python-3.2.8-3.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Sumitinder <su...@aricent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
           Severity|critical                    |blocker

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

--- Comment #9 from Aman Aggarwal <am...@aricent.com> ---
I suspect that since, mod_python is not part of httpd product lines, hence, may
be during reload, the code might not be releasing earlier loaded mod_python
module.

Can you please suggest way how can we avoid reloading of mod_python module
during httpd reload?

regards,
aman

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Eric Covener <co...@gmail.com> ---
(In reply to Sumitinder from comment #4)
> Eric, how will you conclude that it is related to mod_python issue? Do you
> any reference to that.
> 
> Meanwhile, we have reduced number of modules in httpd.conf file 
> 
> LoadModule authz_host_module modules/mod_authz_host.so
> LoadModule log_config_module modules/mod_log_config.so
> LoadModule setenvif_module modules/mod_setenvif.so
> LoadModule mime_module modules/mod_mime.so
> LoadModule autoindex_module modules/mod_autoindex.so
> LoadModule negotiation_module modules/mod_negotiation.so
> LoadModule dir_module modules/mod_dir.so
> LoadModule alias_module modules/mod_alias.so
> LoadModule cgi_module modules/mod_cgi.so
> 
> including mod_python module.
> 
> Please suggest if you have any inputs in this regard.

You're looking for support, not to report a bug.  Bugzilla is only for bugs. 
You'll have to find someone to help you narrow this down (perhaps the user
support mailing list advertised on the httpd website)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

--- Comment #6 from Stefan Fritsch <sf...@sfritsch.de> ---
In any case, there is nothing we can do about a 7 years old release. Httpd
2.4.x has greatly reduced memory usage in some configurations. And even in the
2.2.x branch, there have been various memory leak fixes since 2.2.3, for
example in 2.2.8 and 2.2.15.

So, unless you can reproduce the issue with a current version, we won't spend
any time investigating further.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Aman Aggarwal <am...@aricent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---
     Ever confirmed|0                           |1

--- Comment #8 from Aman Aggarwal <am...@aricent.com> ---
Hi,

We have observed this issue is coming when httpd reload command is invoked. We
confirmed that this comes when mod_python is imported in httpd.conf file.

It is 100% reproducible and coming on both Centos 5.x and 6.4 setups. Can you
please check and suggest if there is any issue in httpd reload command?

Regards,
Aman Aggarwal

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eric Covener <co...@gmail.com> ---
We have to assume the leak is in mod_python, which isn't part of the httpd
distribution from the ASF. If you can show a leak without it [and other non-ASF
modules], re-open.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Sumitinder <su...@aricent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---
     Ever confirmed|1                           |0

--- Comment #4 from Sumitinder <su...@aricent.com> ---
Eric, how will you conclude that it is related to mod_python issue? Do you any
reference to that.

Meanwhile, we have reduced number of modules in httpd.conf file 

LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule cgi_module modules/mod_cgi.so

including mod_python module.

Please suggest if you have any inputs in this regard.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continoulsy

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Does it happen without mod_python? What's the minimum set of modules/config
that shows the leak?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Mike Rumph <mi...@oracle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|HTTPD memory usage          |HTTPD memory usage
                   |increasing continoulsy      |increasing continuously

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

--- Comment #7 from Christophe JAILLET <ch...@wanadoo.fr> ---
Moreover, looking at mod_python homepage:

v3.2.10:
(MODPYTHON-78) Added support for Apache 2.2.
(MODPYTHON-172) Fixed three memory leaks that were found in
_apachemodule.parse_qsl, req.readlines and util.cfgtree_walk. 

v3.3.1:
(MODPYTHON-181) Fixed memory leak when mod_python handlers are defined for more
than one phase at the same time.
(MODPYTHON-182) Fixed memory leak in req.readline().
(MODPYTHON-184) Fix memory leak in apache.make_table(). This was used by
util.FieldStorage class so affected all code using forms. 
(MODPYTHON-194) Fixed potential memory leak due to not clearing the state of
thread state objects before deleting them.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #10 from Eric Covener <co...@gmail.com> ---
(In reply to Aman Aggarwal from comment #9)
> I suspect that since, mod_python is not part of httpd product lines, hence,
> may be during reload, the code might not be releasing earlier loaded
> mod_python module.
> 
> Can you please suggest way how can we avoid reloading of mod_python module
> during httpd reload?

nothing we can help with in ASF bugzilla.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 55296] HTTPD memory usage increasing continuously

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55296

Sumitinder <su...@aricent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Sumitinder <su...@aricent.com> ---
This issue is observed on Centos 5.5. We need mod_python for our application as
HTML code is generated using mod_python module at our end.

We are running our application with the below module set mentioned in
httpd.conf file.

LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
#LoadModule proxy_module modules/mod_proxy.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule version_module modules/mod_version.so


Additionally, few modules are also loaded from conf.d/ path:-
1. mrtg.conf
2. php.conf (though we dont use php)
3. python.conf
4. squid.conf
5. webalizer.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org