[Koha-bugs] [Bug 14893] Separate temporary storage per instance in Upload.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 15 10:11:18 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14893

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to M. Tompsett from comment #2)
> (In reply to Marcel de Rooy from comment #1)
> > To make life easier when multiple instances are uploading temporary
> > files to Koha, this patch adds the database name to the upload subfolder
> > in your /tmp folder.
> 
> /tmp may empty after a reboot. I think I best do more testing to understand
> file flow.

Not necessarily. Depends on your configuration.
On Debian, check /etc/default/rcS
# delete files in /tmp during boot older than x days.
# '0' means always, -1 or 'infinite' disables the feature
#TMPTIME=0

Note that when the OS empties the /tmp folder, this is not a problem. The files
that we stored there were temporary. A future cronjob will remove all entries
in the upload table that are not found anymore.
Of course, one should not set /tmp as the location for permanent storage :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list