Skip navigation

iTunes 10 Keeps Creating Temp File.tmp Files

20054 Views 70 Replies Latest reply: Dec 18, 2013 4:16 PM by rmisaac RSS
1 2 3 ... 5 Previous Next
Niall Mallyon Calculating status...
Currently Being Moderated
May 15, 2012 12:18 PM

I am using iTunes 10.6.1 (7) on Lion 10.7.4 and I have (yet again) noticed that iTunes has started creating multiple copies of Temp File.tmp in the iTunes folder.


It creates a copy every single time I do anything inside iTunes, including skipping a track or checking the iTune store.  I thought that maybe my ClamXav Sentry scanner was causing issues so I removed the iTune directory from the scan and even shut it down alltogether.  I have not shared my iTunes library either so I can se no reason that anything else is holding onto this file and causing iTunes to create a copy of the iTunes Music Library.xml file.


A disk repair has also not helped.


I have searched everywhere within the forums and via Google and can find no solution or explanation.


Its simple starts at some random time and they stops just as randomly.  However this time is particularly bad as EVERYTHING I do inside iTunes caused the problem.


Any help or guidance greatly appreciated.





MacBook Pro, Mac OS X (10.7.4)
  • Mr Blond Qc Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 16, 2012 6:41 PM (in response to Niall Mallyon)

    Hi guys,


    I have the same problem here. I just find that itunes was creating temp file.tmp for I don't know how long. As a result I find over 2000 files for 110GB total of temp files. I deleted them but iTunes still continues to recreate them.

    I have 25 temp files in two days! ****. After all my google reserch the only thing I found is this thread guys.

    Although I'm pretty good with macs not an expert/programer. I did in the past use terminal but I had precise instruction.

    I was wondering if you could coach me out in regards of fixing this problem.

    Could you be a bit more explecite on how you rename the iTunes Music Library.xml via terminal in order to fix the problem.

    I would be very gratefull.


    Thanks guys,



  • Mr Blond Qc Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 29, 2012 9:51 PM (in response to Niall Mallyon)

    Hi Niall,


    First I really want to thank you for you time and effort in this matter. I really apreciate.


    I want to know what is the differance between doing this task in terminal instead of via Finder?


    Would the result would be the same?


    I tried via terminal but the command iii) did not work.


    So I finished it with finder.


    In the end iTunes is still creating the temp files.


    What do you think?


    THanks a lot!



  • Mr Blond Qc Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 31, 2012 8:43 PM (in response to Niall Mallyon)



    To answer your question I have only one account. So I don't think that would be the problem. Although, I might have found the answer to my problem. When I checked the XML file in the finder I found that the permissions were (under the command I function) unknown access.  When ever the XML file become unknown access itunes start to creating temp files.


    So when I fixed the problem the first time by replacing the XML filed by the temp file it give me the ability to fix the problem. I also restarted the computer and repaire disk permission. I continue to monitor the finder to check periodically if the problem was still going on.


    And today it did.

    So the source of my problem is that the XML file become unknown access for a reason that I don't know.


    Would you have any input on this?


    tune up.jpg

  • Mr Blond Qc Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 1, 2012 9:20 PM (in response to Niall Mallyon)



    Well the only thing I don't know is why the xml files become at some point unknown access.

    I have Tune up software on my computer and I'm looking in to that to see if tune up would not have some kind of impact on this.


    I'll keep you posted for the update.


    well I want to say thank you very much for all your help in this.



  • Jan Teurlings Calculating status...
    Currently Being Moderated
    Aug 10, 2012 10:27 PM (in response to Niall Mallyon)

    Just like to add that I had the same problem, and that this trick solved it but I had to change some things.


    First this info: I run one administrator account.


    I tried deleting the library file but got the wrong permission note - I checked and indeed the file had "Unknown privileges" or something similarly worded.


    Using the terminal I then deleted the file, by using commands i and ii.


    I next took, in the finder, the very last temp file being created by looking at create date. This was not "Temp File" but "Temp File 143". It was important to get the last created one because a previous attempt failed. I just renamed that file in the finder into iTune Music Library.xml, confirmed I wanted to change the extension, and deleted the remaing temp files. I have it now running for 12 hours without any temp files being created.

  • Mr Blond Qc Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 11, 2012 7:42 AM (in response to Jan Teurlings)

    Hi Jan,


    Thanks for letting us know. Keep me posted with that because I'm still in with the problem did not find the solution yet.

    I have update on my side that I will post soon. Keep monitoring the finder to see if the temp file reappear.


    Mine reappeared when I changed something in my itune. Like importing a new album for exemple. For me it took 2 days and then itune was back to creating the temp file.

    Hope you solve your problem.

  • Mr Blond Qc Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 11, 2012 9:51 PM (in response to Mr Blond Qc)

    Hey Guys,


    It's seem that the source of the problem is the XML that become at some point Unknown Access.

    Can you tell me how old is your library? Mine originally started in 2007 and I just keep updating it with the upgrade.

  • Jan Teurlings Level 1 Level 1 (75 points)
    Currently Being Moderated
    Aug 11, 2012 10:36 PM (in response to Mr Blond Qc)

    Mine library is even older, from like 2003  or so. At this moment the library is keeping its permissions and there are no temp files reappearing, even though I have added and removed some music from the library. Will keep you updated.



1 2 3 ... 5 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (7)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.