Yes,  I am running it artifactory stand alone on CentOS.  I just initiated an 
upload again while keeping an eye on /tmp and  
$ARTIFACTORY_HOME/data/tmp/artifactory-uploads  folders.  You are correct that 
artifactory does keep the temporary files in 
$ARTIFACTORY_HOME/data/tmp/artifactory-uploads then removes it once upload is 
complete.  However, on my system, artifactory also save a copy of the file to 
the /tmp folder and names it something like "upload_XXX_XXX_XXX.tmp".  I can 
tell that this file is from artifactory because it's the same size as the file 
I uploaded and the owner of the file is the 'artifactory' user.  This file 
never gets removed so I quickly get in a situation where artifactory responds 
with 'No space left on disk".

Would you happen to know why artifactory is saving a copy of the uploaded file 
to to my /tmp folder then?

Here is a list of my directories.  Artifactory is installed to /thebe folder.

-bash-3.2$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             2.9G  1.9G  847M  70% /
/dev/sda5              99M  7.0M   87M   8% /tmp
/dev/sda3             487M   87M  375M  19% /var
tmpfs                 252M     0  252M   0% /dev/shm
/dev/mapper/VolGroup0-thebe1 9.9G  359M  9.0G   4% /thebe


________________________________________
From: Noam Tenne [[email protected]]
Sent: Thursday, December 23, 2010 3:54 AM
To: [email protected]
Subject: Re: [Artifactory-users] clean upload files from /tmp folder

FYI, this issue is dated back to version 1.2.x of Artifactory and is no longer 
relevant (neither location nor cleanup mechanism).
Currently, Artifactory's UI deployer keeps the temporary files (up until actual 
deployment) in $ARTIFACTORY_HOME/data/tmp/artifactory-uploads, not in /tmp, so 
I suspect that it's not Artifactory's temporary files.
Does this instance run on the default Jetty AS?

On Thu, Dec 23, 2010 at 3:37 AM, Khai Do 
<[email protected]<mailto:[email protected]>> wrote:
Hello. Can anyone tell me how artifactory uses the /tmp folder?  It seems like 
artifactory places temp files in there when users upload files thru the UI.  
The files look something like "upload_3b70534e_12d1072b697__8000_86727657.tmp". 
 I'm wondering whether artifactory will clean up those files?  My /temp space 
isn't that large so it fills up pretty quickly.   This issue 
https://issues.jfrog.org/jira/browse/RTFACT-18  seems to indicate that 
artifactory should be cleaning up those temp files every 15 minutes, however 
it's been at least 24 hours and the files are still there.   I've also tried to 
restart the server and the /tmp folder doesn't get cleaned either.   Does 
anybody know whether RTFACT-18 has regressed? Attached is my server config.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Artifactory-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to