iTunes locking up

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

iTunes locking up

Post by djhack1639 » Fri May 03, 2013 3:28 pm

Hi all. For the past few days iTunes has been unusable on my zfs volume and I'm looking for any assistance to resolve the issue.

My iTunes library is on a mirrored pool which reports that it is healthy.
A scrub resulted in 0 errors and 0 repairs.
A SMART check reports both disks as healthy.
Code: Select all
  pool: Prometheus
 state: ONLINE
 scan: scrub repaired 0 in 3h58m with 0 errors on Thu May  2 14:23:22 2013
config:

   NAME                                           STATE     READ WRITE CKSUM
   Prometheus                                     ONLINE       0     0     0
     mirror-0                                     ONLINE       0     0     0
       GPTE_E53D30CB-21A9-4CDE-957E-6A430782F10D  ONLINE       0     0     0  at disk3s2
       GPTE_F3D67F38-4340-4936-B233-E7E92FDF89FA  ONLINE       0     0     0  at disk4s2

errors: No known data errors


In console logs I am seeing an unresolved trace error for *many* tracks (945 instances before I force quit iTunes this time):
Code: Select all
5/3/13 3:56:33.660 PM iTunes[3268]: Possible unresolved transaction race -104/(/path to library/filename)


I found this thread about laggy performance with mention of similar race errors where the problem was resolved by recreating the pool.
http://zevo.getgreenbytes.com/forum/viewtopic.php?f=7&t=1537&start=10#p3148
I'd really rather not recreate the pool. I do have backups on my NAS4Free zfs box, it's the time it will take to restore that gets me down...

I also found some evidence that these errors result when folks run their iTunes library over SMB or on non-HFS+ disks. The errors resolve then they switch to an AFP share.
https://discussions.apple.com/thread/2185982?start=0&tstart=0

iTunes has been working reasonably well until this week. There were occasional freezes, but I do have an old, large, disorganized library and iTunes is a bit of a donkey at times so I wasn't concerned. Perhaps it was this problem getting steadily worse all along?

Any suggestions are very welcome!

Thanks,
Geoff
djhack1639 Offline


 
Posts: 3
Joined: Tue Dec 18, 2012 12:16 am

Re: iTunes locking up

Post by grahamperrin » Sat May 04, 2013 2:39 pm

Welcome to the forum!

djhack1639 wrote:Any suggestions are very welcome!


For this, I'd begin with the advice from dbrady at viewtopic.php?p=2944#p2944 (you have been to that topic already, but may be unaware that Don Brady is a developer, with GreenBytes).

What's the hardware?

For what other than iTunes is the pool used?
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: iTunes locking up

Post by djhack1639 » Mon May 06, 2013 8:27 am

Thanks for the reply, I'll check out Dave's advice.

On the pool, in addition to the iTunes library, I also have my iPhoto library (no noticeable problems), and some longer term storage items like backup disk images and some software installers. There is a little over 100gb available on the pool at the moment.

My hardware:
CPU: i5 2500
Motherboard: Gigabyte z68ma-d2h-b3
Video: Gigabyte Radeon 8650 1gb
RAM: 16gb matched

Storage:
Intel 520 series SSD - 2 partitions - one for osx, one for win7
Samsung 830 series SSD - working/data
ZFS: The mirror is two WD Black 1tb drives. Different models as they were purchased in different years.
WDC WD1002FAEX-00Y9A0
WDC WD1001FALS-00U9B0
djhack1639 Offline


 
Posts: 3
Joined: Tue Dec 18, 2012 12:16 am

Re: iTunes locking up

Post by djhack1639 » Mon May 06, 2013 12:04 pm

Spindump output here. There are definitely some repetitive sections, but making real sense out of the info is currently beyond my knowledge.


After running the spindump, I forgot about iTunes. 2+ hours later I noticed it still running - everything seems to be fine for now. Finally, after a week+, I can sync my devices. Perhaps this is related to the delay Dave mentioned.
djhack1639 Offline


 
Posts: 3
Joined: Tue Dec 18, 2012 12:16 am

Re: iTunes locking up

Post by emory » Thu May 23, 2013 8:21 pm

I don't know if it warrants a separate thread or not, but my recent attempt to put-Users-on-ZEVO was a train wreck and iTunes was the initial smoketest that something was wrong.

Every time I'd start iTunes I'd get an error message [1] that indicated a permissions problem. Media played fine, Music, Podcasts were OK, but I couldn't make any purchases on the iTunes Store.

It wasn't until I went to run an App that uses iCloud that I realized something was seriously wrong — ubiquityd and friends were losing their collective shit over sync tasks with iCloud Documents and Files. I've been down this road before when my iCloud account got into a completely failed state that required about three weeks of back-and-forth with Apple Engineering and AppleCare to get resolved so I wasn't about to waste any time and risk going through that again.

I had a three-way mirrored zpool, so I split one disk off into a new pool, converted the other two into an Apple RAID 1 volume, moved the data back, and everything was totally copacetic. I regret that I don't have more information to share but in my experience there is something that iCloud and assorted helpers that is really unhappy about ZFS volumes. I will make an effort to paw through the ubd logs and get a sample of the messages, but presently I am also moving my home directories back onto a wee SSD save for some of the data that lives in Library/Application\ Support (like my DEVONthink Pro sync stash, Steam games, and: fingers-crossed, MobileBackups of iOS devices created by iTunes) that will be spanning into a zpool. If it all works OK I'll blow up my Apple RAID, attach 1 or 2 disks to the zpool I split off and see if that works better.






[1] That I unfortunately don't have recorded
emory Offline


 
Posts: 15
Joined: Mon Sep 17, 2012 7:47 pm

Re: iTunes locking up

Post by grahamperrin » Sat May 25, 2013 6:25 am

emory, probably best to move those things to separate topics. Maybe beginning with the permissions issue …

… I recall an ACL issue, unrelated to ZEVO, that can cause iTunes to misbehave. And so on.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq, ilovezfs and 0 guests

cron