[ZendTo] Incoming folder filling up
Gretton, Liam
liam.gretton at leicester.ac.uk
Thu Jul 1 09:26:23 BST 2021
Hi Jules,
Yes, that's pretty much it. I use the tarball download of ZendTo rather than the installer, and must have overlooked a step somewhere, as I haven't got that cronjob at all. I'll pick it apart and see if there's anything else I've overlooked.
Thanks very much for your help as always,
Liam
Liam Gretton
Systems Specialist
IT Services,
University of Leicester, University Road, Leicester, LE1 7RH, UK
t: +44 (0)116 252 2254
e: liam.gretton at leicester.ac.uk<mailto:liam.gretton at leicester.ac.uk>
w: www.le.ac.uk<http://www.le.ac.uk/>
[cid:image001.gif at 01D76E5B.27E000F0]
Follow us on Twitter<https://twitter.com/uniofleicester> or visit our Facebook<http://www.facebook.com/uniofleicester> page
From: Jules <Jules at Zend.To>
Sent: 30 June 2021 11:24
To: ZendTo Users <zendto at zend.to>
Cc: Gretton, Liam <liam.gretton at leicester.ac.uk>
Subject: Re: [ZendTo] Incoming folder filling up
Hi Liam,
In /etc/cron.d/zendto you should see, among other lines, a "find" command which does this:
5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1
Every 4 hours, at 5 minutes past the hour, that should delete all files in the "/var/zendto/incoming" directory that are more than 24 hours (1440 minutes) old.
Check your /etc/cron.d/zendto has that line, which 6.03-5 certainly should have.
Have you moved the /var/zendto/incoming directory to somewhere else? If so, fix the path in this line or ensure there is a link from /var/zendto/incoming to wherever your "incoming" directory is now.
Cheers,
Jules.
On 23/06/2021 11:52, Gretton, Liam via ZendTo wrote:
Hi,
I've only just noticed that over the last few months the Filedrop incoming folder has accumulated hundreds of files. The files in question don't appear to match what's in the dropoff area (obviously those older than a couple of weeks are no longer dropoffs anyway). Therefore I guess these left-over files are a result of interrupted or abandoned uploads.
Does Filedrop have a mechanism for clearing up the incoming folder? I'm not sure of the mechanism for recognising a completed upload and turning it into a dropoff, and how this could go wrong. The start of the problem roughly coincides with the point that AV (not ClamAV) was installed on the server: could the AV be locking the file and preventing Filedrop from deleting it?
If there's not an existing mechanism to clean this folder up I'll create a simple cron job to delete old files there. Would I be right in thinking that there should only ever be in-flight uploads present there?
I'm still on 6.03-5, planning to upgrade over the summer.
Thanks,
Liam
(I first sent this to the list on June 18 but it didn't appear)
Liam Gretton
Systems Specialist
IT Services,
University of Leicester, University Road, Leicester, LE1 7RH, UK
t: +44 (0)116 252 2254
e: liam.gretton at leicester.ac.uk<mailto:liam.gretton at leicester.ac.uk>
w: www.le.ac.uk<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.le.ac.uk%2F&data=04%7C01%7Cliam.gretton%40leicester.ac.uk%7C49d036125dd14cdb851008d93bb13cd3%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637606454686665360%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nSx%2B9OqLuFgly9s2hUorpyttJr1Szstz3x5r3cjUxaM%3D&reserved=0>
[cid:image001.gif at 01D76E5B.27E000F0]
Follow us on Twitter<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Funiofleicester&data=04%7C01%7Cliam.gretton%40leicester.ac.uk%7C49d036125dd14cdb851008d93bb13cd3%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637606454686675315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=m1PX1%2FCg6wQjk2oaxqmBrS1ew7Z2IsVult%2BXxp19cNQ%3D&reserved=0> or visit our Facebook<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.facebook.com%2Funiofleicester&data=04%7C01%7Cliam.gretton%40leicester.ac.uk%7C49d036125dd14cdb851008d93bb13cd3%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637606454686685274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tjwsHUOScsHItVzVTve%2BLVq9zcXuaptspUBprLfUj0I%3D&reserved=0> page
_______________________________________________
ZendTo mailing list
ZendTo at zend.to<mailto:ZendTo at zend.to>
http://jul.es/mailman/listinfo/zendto<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjul.es%2Fmailman%2Flistinfo%2Fzendto&data=04%7C01%7Cliam.gretton%40leicester.ac.uk%7C49d036125dd14cdb851008d93bb13cd3%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637606454686685274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ybg5Md9djILOZryQKQ6iiA1rBG8thDtcpWLpe8%2Fkl6w%3D&reserved=0>
Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'I have lost friends, some by death ... others through sheer inability
to cross the street.' - Virginia Woolf
www.Zend.To<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zend.to%2F&data=04%7C01%7Cliam.gretton%40leicester.ac.uk%7C49d036125dd14cdb851008d93bb13cd3%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637606454686685274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MQ%2F8y2SKzJ5li4kg0kHdrl6HenGmZXSUC8CPRDBmBFE%3D&reserved=0>
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20210701/65bee18e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3340 bytes
Desc: image001.gif
URL: <http://jul.es/pipermail/zendto/attachments/20210701/65bee18e/attachment-0001.gif>
More information about the ZendTo
mailing list