Modify

Opened 7 years ago

Closed 7 years ago

#2158 closed defect (fixed)

adding a file -- gives MemoryError

Reported by: vivs Owned by: Blackhex
Priority: normal Component: DownloadsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Adding small files goes ok but when trying to add a large file (>500mb) apache returns a 500 Internal Server Error and checking the (apache) logs one finds:

[Tue Nov 06 11:53:15 2007] [error] [client 192.168.1.48] File "/usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py", line 37, in readline\n return self.req.readline(size), referer: http://jsaf.calytrix.com:8000/trac/admin/downloads/downloads [Tue Nov 06 11:53:15 2007] [error] [client 192.168.1.48] MemoryError, referer: http://jsaf.calytrix.com:8000/trac/admin/downloads/downloads

is this an apache error or a trac one?

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for reporting.

The probem was in DownloadsPlugin because it copied upload file at once not block by block as it should be. Fixed with r2742.

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.