Were these file uploads canceled or connection dropped on the way up possibly?
I've just tested this with several different file sizes and see none of these files in tmp on the account afterward.
I am not sure however what I'm sure is these are only present in some accounts that exclusively use File Manager (i.e., not FTP).
Have you attempted to duplicate this yourself from one of the accounts? I think I'd start there. That way you know yourself if the upload makes it properly or not. And if it does, does the tmp file get removed proper or no?
Let us know how it goes.![]()
Okay I tried uploading some files and they appear to happen only if they are cancelled/broken uploads.
So now you need to find out why that's happening. If the user is no help there, your logs might be useful not sure how much though.
Hmm, I am not sure how logs might be useful. Isn't this happening within the cpanel software and shouldn't the temp files be clear after x hours?
Well, for example if the user had too many connections to the server for some reason, or his IP changed during the upload and he got temporarily blocked by your firewall. Or maybe it was clamav blocking. I think those sort of things might cause this issue and be logged.
You can manually run tmpwatch as root user to check exactly what it does with this:
The t means test mode, the v is verbose, tells you what it will do.Code:/usr/sbin/tmpwatch -tv 240 /tmp
User account tmp directories are not a part of that. I believe there are other threads on how to automate clearing that with a cron, but I couldn't dig one up here to link you to in the limited amount of time I looked.
Hopefully someone much smarter than I can chime in on this one for you.
Those log files are created when files are uploaded to the account via cPanel File Manager. It lists the file size, file name, it's progress, and the location of the temporary file during the time of upload. They should, however, be automatically removed over time. If this is not happening, please submit a ticket so we can look into this further:
Submit A Ticket
Thank you.
cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
-- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support
I am now running a cron job to clean them but I'm pretty sure it's not being cleaned on it's own since the temp file's date is FEB 2012 and it's now JUL 2012.
cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
-- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support