Modify

Opened 17 years ago

Closed 17 years ago

#2158 closed defect (fixed)

adding a file -- gives MemoryError

Reported by: vivs Owned by: Radek Bartoň
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 17 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.