Edgewall Software

Opened 16 years ago

Last modified 12 years ago

#6467 closed defect

Cannot allocate memory: '/usr/lib64/python2.5' after httpd restart — at Initial Version

Reported by: ken@… Owned by: Christopher Lenz
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.11b2
Severity: normal Keywords: setuptools
Cc: tkalix@…, dfraser Branch:
Release Notes:
API Changes:
Internal Changes:

Description

OS: Fedora 8 x86_64 SELinux CPU: Core 2 Duo 2.66 MEM: 4GB

Everytime I restart my apache server I am unable to access Trac. If I refresh the page 10 times, then on the 10th refresh it works perfectly. The exact same error message is displayed those 10 times in the log:

[Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] mod_python (pid=24035, interpreter='trac.mydomain.com', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] ServerName: 'trac.mydomain.com' [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] DocumentRoot: '/var/www/trac' [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] URI: '/' [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] Location: '/' [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] Directory: None [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] Filename: '/var/www/trac/' [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] PathInfo: [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] Traceback (most recent call last): [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib64/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib64/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target\n result = _execute_target(config, req, object, arg) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib64/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target\n result = object(arg) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py", line 87, in handler\n gateway.run(dispatch_request) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/web/wsgi.py", line 87, in run\n response = application(self.environ, self._start_response) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 391, in dispatch_request\n env = _open_environment(env_path, run_once=run_once) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 58, in _open_environment\n env_cache[env_path] = open_environment(env_path) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/env.py", line 462, in open_environment\n env = Environment(env_path) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/env.py", line 141, in init\n from trac.loader import load_components [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/trac/loader.py", line 28, in <module>\n import pkg_resources [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2552, in <module>\n working_set = WorkingSet() [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 384, in init\n self.add_entry(entry) [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 399, in add_entry\n for dist in find_distributions(entry, True): [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1659, in find_on_path\n for entry in os.listdir(path_item): [Sat Dec 08 11:50:59 2007] [error] [client 74.64.54.143] OSError: [Errno 12] Cannot allocate memory: '/usr/lib64/python2.5'

Change History (0)

Note: See TracTickets for help on using tickets.