Opened 16 years ago

Closed 16 years ago

#2820 closed bug (fixed)

IOError: [Errno 24] Too many open files: u'/var/trac/dev.haiku-os.org/attachments/ticket/2700/dsc00536.jpg'

Reported by: Adek336 Owned by: haiku-web
Priority: normal Milestone: R1
Component: Website/Trac Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

How to Reproduce

While doing a GET operation on /raw-attachment/ticket/2700/dsc00536.jpg, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'format': 'raw', 'path': u'2700/dsc00536.jpg', 'realm': u'ticket'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-2)

System Information

Trac 0.11.1
Python 2.5.1 (r251:54863, Nov 3 2007, 02:54:36) [C]
setuptools 0.6c8
psycopg2 2.0.6
Genshi 0.5
Pygments 0.10
Subversion 1.4.5 (r25188)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/attachment.py", line 402, in process_request
    data = self._render_view(req, attachment)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/attachment.py", line 680, in _render_view
    req.send_file(attachment.path, mime_type)
  File "/opt/csw/lib/python/site-packages/Trac-0.11.1-py2.5.egg/trac/web/api.py", line 395, in send_file
    fileobj = file(path, 'rb')
IOError: [Errno 24] Too many open files: u'/var/trac/dev.haiku-os.org/attachments/ticket/2700/dsc00536.jpg'

Change History (1)

comment:1 by nielx, 16 years ago

Resolution: fixed
Status: newclosed

See #2660

Note: See TracTickets for help on using tickets.