#4654 BLOC Never A: datastore passes files to activities by copying to /tmp
Zarro Boogs per Child
bugtracker at laptop.org
Mon Nov 5 05:57:27 EST 2007
#4654: datastore passes files to activities by copying to /tmp
-----------------------+----------------------------------------------------
Reporter: tomeu | Owner: tomeu
Type: defect | Status: new
Priority: blocker | Milestone: Never Assigned
Component: datastore | Version:
Keywords: update.1? | Verified: 0
-----------------------+----------------------------------------------------
This won't work in the case of very big files, causing OOM and other
nastiness.
Also, activities are responsible for cleaning up those files, and if they
fail to do so, we'll get again at memory shortage.
The solution we have devised is for the datastore to create a read-only
hard link when the activity requests access to the file data.
--
Ticket URL: <http://dev.laptop.org/ticket/4654>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list