HANG과 SPIN의 구분

제품 : ORACLE SERVER
작성날짜 : 2002-04-19
HANG과 SPIN의 구분
======================
Explanation
1. 용어 정의
hanging     : 아무런 작업도 일어나지 않는 상태
spinning: 상당한 양의 시스템 자원을 사용하면서도 아무런 의미가 없는,
특정한 작업이 loop 안에서 반복되는 상태
2. 구분 방법
hang과 spin을 구분하기 위해서 먼저 v$session_wait 을 참조해야 한다.
v$session_wait로 현재 상태에서 어떤 세션이 waiting 상태에 있는지를 조회할 수 있다.
다음은 v$session_wait을 조회하는 예이다.
SELECT sid,seq#,event,p1,p2,p3,wait_time
FROM v$session_wait;
위 SQL 문장은 최소한 3번 이상 실행 한 후 결과를 비교해 보아야 한다.
컬럼의 의미
sid 세션의 System IDentifier
seq# Sequence number. 이 값은 특정 세션에서 새로운 wait 이벤트가 발생할 때
마다 증가된다. 이 값을 서로 다른 시점에서 비교해 보면 세션에서 작업이
진행중인지 여부를 알 수 있다.
event 세션에서 wait 하고 있거나, 이전에 마지막으로 wait 했던 operation
p1 p2 p3 이 컬럼들은 event별로 서로 다른 내용을 나타낸다.
wait_time 값이 0일 경우 세션이 특정 event를 wait 하고 있는 것을 나타낸다.
     0이 아닌 값일 경우 세션이 이전에 wait 했던 마지막 event를 나타낸다.
3. 진단 방법
정상적인 상황에서는 세션에서 다른 operation을 실행 할 때 마다 v$session_wait
컬럼 값이 계속 변하게 된다.
Hang이 발생한 상황에서는, 문제가 되는 세션에서 더이상 작업이 진행되지 않고
프로세스에서 시스템 자원(메모리, CPU ...)을 사용하지 않는 상태가 된다.
일반적으로 서버에서 특정한 event를 waiting 하고 있을 경우, event가
발생하면 세션에서 추가 작업이 지속될 수 있다.
하지만 어떤 이유에서건 waiting 하고 있는 event가 발생하지 않을 경우에는
hang 상태를 유발시킬 수 있다. Hang이 발생하였다면 waiting 하고 있는 event를
찾아 내어 어떤 조치를 취해야 할 지 판단하여야 한다.
예를 들어 세션에서 disk에 write를 끝내는 event에 대해 waiting 하고 있을 경우
왜 writing이 오랜시간동안 끝나지 않는지를 밝혀내야 한다.
Spin이 발생하는 상황에서는 컬럼 값이 변하지 않을 수도 있고 계속 변할 수도
있으며, 이것은 spin이 발생하는 상황에 따라 다르다. Spin이 발생하는 상황에서는
CPU나 메모리등의 자원을 계속 사용하게 된다.
특정 세션에서 spin이 발생하는 상황에서는 code 레벨에서 어떤 부분에서 spin이 발생
하는지를 판단하는 것이 중요하다. 관련 정보를 얻기 위해서는 event 값을 참조할 수도
있지만, 일반적으로 문제가 발생된 프로세스에 대한 errorstack을 발생시켜, 지원을
받는 것이 바람직하다.
4. V$SESSION_WAIT 조회 예제
다음은 SQL*Plus에서 실행시킬 수 있는 script의 예제이다.
column sid format 990
column seq# format 99990
column wait_time heading 'WTime' format 99990
column event format a30
column p1 format 9999999990
column p2 format 9999999990
column p3 format 9990
select sid,event,seq#,p1,p2,p3,wait_time
from V$session_wait
Sample Output:
SID EVENT SEQ# P1 P2 P3 WTime
9 Null event 347 0 300 0 0
10 Null event 344 0 300 0 0
11 Null event 343 0 300 0 0
12 Null event 342 0 300 0 0
1 pmon timer 335 300 0 0 0
2 rdbms ipc message 779 300 0 0 0
3 rdbms ipc message 8 30000 0 0 0
4 rdbms ipc message 484 300 0 0 0
8 rdbms ipc message 1 500 0 0 0
7 rdbms ipc message 14 180000 0 0 0
5 rdbms ipc message 335 300 0 0 0
6 smon timer 74 300 0 0 0
16 SQL*Net message from client 1064 1650815315 1 0 -1
다음은 svrmgrl에서의 실행 예제이다.
SVRMGR> select sid,event,seq#,p1,p2,p3,wait_time from V$session_wait;
SID EVENT SEQ# P1 P2 P3 WAIT_TIME
9 Null event 503 0 300 0 0
10 Null event 501 0 300 0 0
11 Null event 500 0 300 0 0
12 Null event 499 0 300 0 0
1 pmon timer 491 300 0 0 0
2 rdbms ipc mess 935 300 0 0 0
3 rdbms ipc mess 9 30000 0 0 0
4 rdbms ipc mess 640 300 0 0 0
8 rdbms ipc mess 1 500 0 0 0
7 rdbms ipc mess 14 180000 0 0 0
5 rdbms ipc mess 491 300 0 0 0
6 smon timer 81 300 0 0 0
16 SQL*Net messag 74 1650815315 1 0 1
Reference Ducumment
---------------------

Similar Messages

  • Safari PowerBook G4 hangs spinning pinwheel

    Hi all,
    I seem to get this same result consistently at the same web site.
    Safari hangs spinning pinwheel forever,
    Activity Monitor shows Safari "not responding."
    Cannot Force Quit. Only way out is a hard reset.
    Very simple install on this PG G4 mostly for web surfing.
    Machine is acting well for all other uses.
    Any suggestions?
    I'm stumped on this.
    So long for now, TOM

    Hi Carolyn and any other interested listers,
    Well it's been interesting trying to fix these issues. Many experiences of the past week are pointing to hardware issues.
    I tried to back up my HD expecting the worst, but couldn't get through the process of Restoring (cloning) it to my external FW Disk using Disk Utility ( a task I've done forever without isses).
    So I got out the original PBG4 Hardware  test and it failed during the "Memory Test." Next I removed the 1 GB RAM chip from the computer and re-ran the Hardware test twice with AOK results, so I am assuming the soldered on RAM is not the issue.
    I was able to run the computer from a Disk Warrior CD, and thought it might boot without anything but the onboard RAM, but no go. It kernal panics without any additional RAM installed. Doesn't the Mac need at least 512 MB of RAM and that would explain it, or should it be booting. (Mac OS Leopard X.5.8 installed).
    I guess I should get a replacement 1 GB Chip.
    Could it be bad contacts. How does one clean the contacts on a RAM Chip.
    Thanks in advance, and so long for now, TOM

  • Need Help!  Mac Hangs Spinning Ball -ugh!

    Problem description:
    Macbook pro i7 750gb, 16gb ram.  Computer running slow.   Mac hangs repeatedly. Spinning ball appears as Running Mavericks.  250gb hard drive space free.
    Below is a report of what's going on behind the scenes with my Macbook.  I'm not sure exactly what to look for in regards to the data.  Would someone please take a moment to help me with understanding what is going on with my mac?
    EtreCheck version: 2.1.1 (104)
    Report generated December 9, 2014 at 8:14:12 AM EST
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.8 GHz Intel Core i7 CPU: 2-core
      16 GB RAM Upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1600 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 512 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 0:19:8
    Disk Information: ℹ️
      APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      ]\ (disk0s2) / : 749.30 GB (259.55 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GS31N 
    USB Information: ℹ️
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Anywhere
    Kernel Extensions: ℹ️
      /Library/Application Support/Roxio
      [not loaded] com.roxio.TDIXController (1.7) [Support]
      /System/Library/Extensions
      [not loaded] com.Logitech.Unifying.HID Driver (1.2.0 - SDK 10.0) [Support]
      [not loaded] com.devguru.driver.SamsungComposite (1.4.20 - SDK 10.6) [Support]
      /System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
      [not loaded] com.devguru.driver.SamsungACMControl (1.4.20 - SDK 10.6) [Support]
      [not loaded] com.devguru.driver.SamsungACMData (1.4.20 - SDK 10.6) [Support]
      [not loaded] com.devguru.driver.SamsungMTP (1.4.20 - SDK 10.5) [Support]
      [not loaded] com.devguru.driver.SamsungSerial (1.4.20 - SDK 10.6) [Support]
    Startup Items: ℹ️
      ParallelsTransporter: Path: /Library/StartupItems/ParallelsTransporter
      ProTec6: Path: /Library/StartupItems/ProTec6
      ProTec6b: Path: /Library/StartupItems/ProTec6b
      Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist [Support]
      [running] com.Logitech.Control Center.Daemon.plist [Support]
      [invalid?] com.oracle.java.Java-Updater.plist [Support]
      [running] com.tvmobili.artwork.plist [Support]
    Launch Daemons: ℹ️
      [failed] anacron.plist [Support] [Details]
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.google.keystone.daemon.plist [Support]
      [loaded] com.macpaw.CleanMyMac2.Agent.plist [Support]
      [invalid?] com.oracle.java.Helper-Tool.plist [Support]
      [running] com.synium.cleanappdaemon.plist [Support]
      [failed] com.tvmobili.tvmobilisvcd.plist [Support] [Details]
    User Launch Agents: ℹ️
      [running] .dat0131.000 (hidden) [Support]
      /System/Library/CoreServices/Folder Actions Dispatcher.app/Contents/MacOS/Folder Actions Dispatcher /System/Library/CoreServices/Folder Actions Dispatcher.app/Contents/MacOS/Folder Actions Dispatcher
      [loaded] com.adobe.ARM.[...].plist [Support]
      [loaded] com.facebook.videochat.[redacted].plist [Support]
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
    User Login Items: ℹ️
      VMware Fusion Helper Application (/Applications/VMware Fusion.app/Contents/Library/VMware Fusion Helper.app)
      Google Drive Application (/Applications/Google Drive.app)
      KiesAgent ApplicationHidden (/Applications/Kies.app/Contents/MacOS/KiesAgent.app)
      fuspredownloader ApplicationHidden (/Users/[redacted]/Library/Application Support/.FUS/fuspredownloader.app)
    Internet Plug-ins: ℹ️
      DirectorShockwave: Version: 11.5.9r615 [Support]
      Mozillaplug: Version: 1.0
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      Google Earth Web Plug-in: Version: 6.1 [Support]
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 2.3.1.2 [Support]
      Unity Web Player: Version: UnityPlayer version 2.6.1f3 [Support]
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.239 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      iPhotoPhotocast: Version: 7.0
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewer: Version: 9.5.5 [Support]
      CouponPrinter-FireFox_v2: Version: Version 1.1.6
      GarminGpsControl: Version: 2.9.3.0 Release [Support]
      Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 [Support]
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    User internet Plug-ins: ℹ️
      fbplugin_1_0_3: Version: Unknown [Support]
      iGetterBundle: Version: 2.8 [Support]
      CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Support]
      WebEx: Version: 1.0 [Support]
      WebEx64: Version: 1.0 - SDK 10.5 [Support]
    Safari Extensions: ℹ️
      OpenIE
    3rd Party Preference Panes: ℹ️
      Déjà Vu  [Support]
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
    Time Machine: ℹ️
      Auto backup: YES
      Destinations:
      TOURO [Local]
      Total size: 4.00 TB
      Total number of backups: 22
      Oldest backup: 2014-01-19 10:31:29 +0000
      Last backup: 2014-12-02 14:13:04 +0000
      Size of backup disk: Excellent
      Backup size 4.00 TB > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
          4% socketfilterfw
          3% mds
          3% Finder
          3% chown
          3% fseventsd
    Top Processes by Memory: ℹ️
      172 MB mds_stores
      172 MB com.apple.WebKit.WebContent
      120 MB com.apple.IconServicesAgent
      86 MB Google Drive
      69 MB Finder
    Virtual Memory Information: ℹ️
      13.53 GB Free RAM
      1.59 GB Active RAM
      407 MB Inactive RAM
      1.66 GB Wired RAM
      397 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 9, 2014, 08:28:00 AM tvmobilisvcd_2014-12-09-082800_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:27:49 AM tvmobilisvcd_2014-12-09-082749_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:27:38 AM tvmobilisvcd_2014-12-09-082738_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:27:28 AM tvmobilisvcd_2014-12-09-082728_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:27:18 AM tvmobilisvcd_2014-12-09-082718_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:27:06 AM tvmobilisvcd_2014-12-09-082706_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:26:56 AM tvmobilisvcd_2014-12-09-082656_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:26:48 AM tvmobilisvcd_2014-12-09-082648_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:26:36 AM tvmobilisvcd_2014-12-09-082636_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:26:26 AM tvmobilisvcd_2014-12-09-082626_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:26:17 AM tvmobilisvcd_2014-12-09-082617_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:26:01 AM tvmobilisvcd_2014-12-09-082601_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:25:52 AM tvmobilisvcd_2014-12-09-082552_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:25:43 AM tvmobilisvcd_2014-12-09-082543_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:25:33 AM tvmobilisvcd_2014-12-09-082533_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:25:18 AM tvmobilisvcd_2014-12-09-082518_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:25:00 AM tvmobilisvcd_2014-12-09-082500_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:24:43 AM tvmobilisvcd_2014-12-09-082443_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:24:26 AM tvmobilisvcd_2014-12-09-082426_Johns-MacBook-Pro.crash
      Dec 9, 2014, 08:24:17 AM tvmobilisvcd_2014-12-09-082417_Johns-MacBook-Pro.crash
      Dec 9, 2014, 07:55:56 AM Self test - passed
      Dec 9, 2014, 01:02:32 AM tvmobilisvcd_2014-12-09-010232_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:02:18 AM tvmobilisvcd_2014-12-09-010218_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:02:07 AM tvmobilisvcd_2014-12-09-010207_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:01:53 AM tvmobilisvcd_2014-12-09-010153_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:01:43 AM tvmobilisvcd_2014-12-09-010143_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:01:32 AM tvmobilisvcd_2014-12-09-010132_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:01:19 AM tvmobilisvcd_2014-12-09-010119_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:01:08 AM tvmobilisvcd_2014-12-09-010108_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:00:57 AM tvmobilisvcd_2014-12-09-010057_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:00:44 AM tvmobilisvcd_2014-12-09-010044_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:00:34 AM tvmobilisvcd_2014-12-09-010034_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:00:24 AM tvmobilisvcd_2014-12-09-010024_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:00:12 AM tvmobilisvcd_2014-12-09-010012_Johns-MacBook-Pro.crash
      Dec 9, 2014, 01:00:00 AM tvmobilisvcd_2014-12-09-010000_Johns-MacBook-Pro.crash
      Dec 9, 2014, 12:59:50 AM tvmobilisvcd_2014-12-09-005950_Johns-MacBook-Pro.crash
      Dec 9, 2014, 12:59:35 AM tvmobilisvcd_2014-12-09-005935_Johns-MacBook-Pro.crash
      Dec 9, 2014, 12:59:23 AM tvmobilisvcd_2014-12-09-005923_Johns-MacBook-Pro.crash
      Dec 9, 2014, 12:59:12 AM tvmobilisvcd_2014-12-09-005912_Johns-MacBook-Pro.crash
      Dec 9, 2014, 12:58:51 AM tvmobilisvcd_2014-12-09-005851_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:26:42 AM tvmobilisvcd_2014-12-08-002642_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:26:32 AM tvmobilisvcd_2014-12-08-002632_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:26:22 AM tvmobilisvcd_2014-12-08-002622_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:26:10 AM tvmobilisvcd_2014-12-08-002610_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:25:59 AM tvmobilisvcd_2014-12-08-002559_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:25:48 AM tvmobilisvcd_2014-12-08-002548_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:25:38 AM tvmobilisvcd_2014-12-08-002538_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:25:29 AM tvmobilisvcd_2014-12-08-002529_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:25:18 AM tvmobilisvcd_2014-12-08-002518_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:25:08 AM tvmobilisvcd_2014-12-08-002508_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:24:57 AM tvmobilisvcd_2014-12-08-002457_Johns-MacBook-Pro.crash
      Dec 8, 2014, 12:24:46 AM tvmobilisvcd_2014-12-08-002446_Johns-MacBook-Pro.crash
      Dec 7, 2014, 11:09:58 PM tvmobilisvcd_2014-12-07-230958_Johns-MacBook-Pro.crash
      Dec 7, 2014, 11:09:48 PM tvmobilisvcd_2014-12-07-230948_Johns-MacBook-Pro.crash
      Dec 7, 2014, 11:09:34 PM tvmobilisvcd_2014-12-07-230934_Johns-MacBook-Pro.crash
      Dec 7, 2014, 11:09:13 PM tvmobilisvcd_2014-12-07-230913_Johns-MacBook-Pro.crash
      Dec 7, 2014, 11:08:58 PM tvmobilisvcd_2014-12-07-230858_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:25:30 PM tvmobilisvcd_2014-12-07-122530_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:25:20 PM tvmobilisvcd_2014-12-07-122520_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:25:08 PM tvmobilisvcd_2014-12-07-122508_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:24:57 PM tvmobilisvcd_2014-12-07-122457_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:24:47 PM tvmobilisvcd_2014-12-07-122447_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:24:29 PM tvmobilisvcd_2014-12-07-122429_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:24:03 PM tvmobilisvcd_2014-12-07-122403_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:23:52 PM tvmobilisvcd_2014-12-07-122352_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:23:41 PM tvmobilisvcd_2014-12-07-122341_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:23:28 PM tvmobilisvcd_2014-12-07-122328_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:23:12 PM tvmobilisvcd_2014-12-07-122312_Johns-MacBook-Pro.crash
      Dec 7, 2014, 12:24:16 PM tvmobilisvcd_2014-12-07-122416_Johns-MacBook-Pro.crash
      Dec 9, 2014, 12:59:03 AM tvmobilisvcd_2014-12-09-005903_Johns-MacBook-Pro.crash

    Here's what finally worked for me:
    Try shutting down Safari, then delete the following:
    /Users/<user>/Library/Caches/com.apple.Safari
    /Users/<user>/Library/Caches/Metadata/Safari
    /Users/<user>/Library/Preferences/com.apple.Safari.plist
    /Users/<user>/Library/Preferences/com.apple.Safari.RSS.plist
    /Users/<user>/Library/Safari
    Well, I swore I did all those, maybe except the "/Users/<user>/Library/Caches/com.apple.Safari" one, but all is well now! Browsing great. Thanks!

  • ITunes 11 hangs (spinning beach ball) in Mountain Lion

    Whenever I open iTunes, it hangs with a spinning beach ball for about three minutes. During this time, Activity Monitor shows iTunes (not responding) using 90–130% of the CPU.
    After a few minutes, the beach ball stops and iTunes works fine...for a while. Double clicking on any audio file on my desktop, sets off the spinning beach ball again for another three minutes, at which time iTunes becomes responsive again, but the sound file does not play.
    I've tried tossing the iTunes preferences and running Disk Warrior to no avail. I'm running 10.8.2 on my mid-2007 iMac. Any ideas/suggestions for troubleshooting?

    Okay, I think I've finally solved my problem. I moved my entire iTunes library from one hard drive to another, then I deleted everything from iTunes (selected all songs, hit delete key, but didn't delete songs from disk) and then reimported them by dragging my Music folder into iTunes.
    I'm not sure if moving the songs from one disk to another really helped, but deleting and reinstalling the songs definitely did.
    I actually let iTunes perform a "scan for music" to reinstall the tracks, but that never seems to bring in everything. I had to drag in all of my compilation disks and some other miscellaneous tracks. P.I.T.A.
    But, the good news is iTunes no longer hangs.

  • Safari hangs (spinning ball) 5 seconds after opening. Help?

    I have exhausted my knowledge, time for some community help
    I have a Macbook Pro 10.5.8 with Safari 5.0.5. Everything except the issue works great!
    Problem:
    When I click to open Safari, it opens, loads the startpage and then hangs about 5 seconds later. The whole computer isn't usable until I force quit Safari.
    Every 15 seconds or so it returns to 'normal' and I can click a menu, switch applications, try to Force Quit Safari, but the spinning ball returns and everything hangs 2 seconds later.
    I can use Firefox with no issues, unless Safari is still open.
    What I have tried:
    Inplace reinstall of OS X from CD.
    All the Software Updates
    Reinstall Safari from apple website.
    Reset Safari
    Empty Cache
    Everything from this post (https://discussions.apple.com/message/10671044#10671044)
    Everything from this post (http://forums.macrumors.com/showpost.php?p=8413681&postcount=6)
    All to no avail, still same issue.
    Any help or ideas?
    Thanks!
    -tbgsav

    Here's what finally worked for me:
    Try shutting down Safari, then delete the following:
    /Users/<user>/Library/Caches/com.apple.Safari
    /Users/<user>/Library/Caches/Metadata/Safari
    /Users/<user>/Library/Preferences/com.apple.Safari.plist
    /Users/<user>/Library/Preferences/com.apple.Safari.RSS.plist
    /Users/<user>/Library/Safari
    Well, I swore I did all those, maybe except the "/Users/<user>/Library/Caches/com.apple.Safari" one, but all is well now! Browsing great. Thanks!

  • Mavericks mail hanging (spinning beach ball)

    Since upgrading yesterday the Mail application is constantly freezing (spinning beach ball) and the only option is force-quit. Sometimes happend when I try to draft a new mail, sometimes when I read and email and sometimes on its own when I come back to my computer.
    I can make it happen 100% of the time when I try toselect  Mail > Preferences
    The dialog never comes up and I get the spinning beach ball.
    Date/Time:       2013-10-24 04:09:07 -0700
    OS Version:      10.9 (Build 13A603)
    Architecture:    x86_64
    Report Version:  18
    Command:         Mail
    Path:            /Applications/Mail.app/Contents/MacOS/Mail
    Version:         7.0 (1816)
    Build Version:   1
    Project Name:    Mail
    Source Version:  1816000000000000
    Parent:          launchd [233]
    PID:             5822
    Event:           hang
    Duration:        15.48s
    Steps:           15 (100ms sampling interval)

    Same problem. Tried everything. I've looked a lot of places and tried a lot of things- and logged nearly 15 hours of time with the highest level of Apple support and got nowhere. Even had them harvest my data logs and uploaded all of that.
    Then I found a post on another messageboard that did it for me. Take a look at your:
    username/Library/Mail/V2/MailData/Accounts.plist
    Instead of being a few KB (as it should have been), mine was 40 MB with tens of thousands of duplicated Hotmail account entries.
    I knew all of my mail settings, so I just trashed this file and relaunched the app, then manually added back all of my mail account settings via the mail interface.
    Poof- no more issues. No Mail hang. No preference files launching and eating up enormous CPU and RAM. No problems whatsoever. Hope it helps you all too.
    Note: this does not eliminate messages, only settings. So the fix takes all of 5 minutes if you remember your mail server settings.
    Cheers.

  • Since upgrade to 10.5.8, frequent temporary hangs (spinning beachball)

    Good day!
    Since updating to 10.8.5 on my MacBook Pro (15" unibody design), I'm encountering frequent visits (every 5 to 10 minutes) by the spinning beachball which last for 30 seconds or so.
    At first I thought something might be slurping up all the processor power, but Activity Monitor isn't showing anything. The one thing I haven't checked yet is whether it still happens if I'm not connected via AirPort. The incidents do not appear to be limited to apps using the Internet.
    Any great ideas? Thanks!

    Been having the same issues happening on the same machine as you. I did this yesterday, and so far so good.
    1. Restart in safe mode (Hold down shift key when you hear the chime)
    2. Under Applications > Utilities > Disk Utilities, select your hard drive on the left column, and click "Repair Permissions"
    3. Once done, restart
    It's been a day since I've done this, and no beachballs yet (fingers crossed)

  • System Preferences hangs (spinning circle) when removing/adding panes

    Anytime I attempt to remove, update or add a pane in System Preferences I get the multi-color spinning circle. This has been happening ever since I decided to start removing some of the older panes that I no longer used. I was able to remove a couple, then this issue started. Unfortunately, I do not recall the items I removed. (this occurs in both the 32 bit and 64 bit versions)
    Any ideas, this is driving me nuts?

    The problem appears to have been fixed. Trying to add a Google Account now displays this (different) pop-up dialog:
    Since I originally had this problem, I have installed recent updates including the OS X Yosemite 10.10.3 Supplemental Update, Keynote 6.5.3, Pages 5.5.3, Numbers 3.5.3, and Xcode 6.3.1. Google accounts appear to work fine in all applications I tested now.

  • NetInstall hangs - spinning forever

    10.4.7 server, created disk image using System Image Utility, imaging ibook G4 10.3.9. Following directions in System Image Utility Help, on creating a new install set. Creating image took a long time, left overnight, in the morning it said the image was created successfully. enabled the image in Server Admin, NetBoot pane, set image as startup disk for another laptop (I have 16 to go) and restarted. ibook starts, blue globe, grey screen with spinning wheel, turns to blueish screen with spinning wheel, sits and spins for hours. I left this going overnight as well, no such luck. Still spinning in the morning. I have tried restarting, same thing. what am I doing wrong?

    Try the instructions on this page for your specific issue.
    (16066)

  • Illustrator CC hangs (spinning beach ball) on File New

    ...'Nuff said.
    All I do is goto File > New to start a new document and the app hangs.
    I cannot believe I pay a subscription to this.
    Damn you Adobe! Monopolizing the creative market with a sub-standard product.

    What happens if you wait enough for it to come back to life? Does it?
    You are supposed to see a dialog to select certain options for the document. If you don't care about them, you could just press Command(Control on WIN)+Alt+N to create a document with the default values. See if that works.

  • IWeb hangs (spinning beachball) when I try to paste HTML code from DW-why?

    Can anyone tell me why this might be happening? When I try and paste HTML code from Dreamweaver using Web Widgets. Then the only solution is to Force Quit which means I lose any other work I've already done in iWeb. Anyone else had this problem? Is there a workaround?

    Your last two posts didn't appear in the forum! They came through my email but there is no link.

  • OS 10.4.10 Hangs, Spinning wheel, Wont startup, kernel panic

    I have had all of these things happen in the last couple of days. The most recent update is the only system change that has occured. I have tried Disk utility (from within OS and off recover disks). Recover disk utility says "reserved fields in the catalog record have incorrect data" and invalid leaf record count, it should be 16 instead of 33". It says one HFS volume repaired one volume could not be repaired. Both quick and long hardware test report pass.
    I am about to try fsck.
    Any suggestions before I try recovery reinstall? BTW, I upgraded from 10.3.9. Do I have to to recover to 10.3.9 before returning to 10.4?

    I had to run fsck twice to get a disk OK response. I then ran Disk Utility/repair disk from the recovery disk and I still get 1 HFS volume repaired and 1 volume could not be repaired. OS X is up and running for the time being, it has worked like this for a day and then gone unstable.
    Ant thoughts?

  • IPhoto causing 20-30 second hangs - spinning beach ball and music stops

    Very often when I browse through my pictures, suddenly iPhoto will freeze, the beach ball appears and if I attempt to use other programs the entire system freezes. If I'm playing music in iTunes, it will pause and then restart after 20-30 secs when iPhoto and the rest of the system suddenly works again as if nothing happened.
    Anyone else notices this? It happens as I said quite often, and I can provoke it by flipping through pictures very fast (for instance by holding down the left or right arrow on the keyboard).
    I noticed that this message often appears in the console when I initiate iPhoto:
    06/10/09 14.17.11 iPhoto[1023] ILLogger ILMediaBrowserPathWatcher: ** Error in ILMediaBrowserPathWatcher startFSEventStream failed to start for paths: (
    "/Users/mikkeldrewsen/Library/Preferences"
    I don't know if that's relevant, but there it is none the less.
    I hope someone can help me!

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Hanging Spinning Wheel

    I am trying to play a mental game on the AARP web site.  However the spinng wheel appears upon selecting "Play"  I am running OS X 10.6.8 and Safari 5.1.7.  Thinking this was a problem with Adobe Flash Player, I have downloaded and run the Adobe uninstaller program for Flash Player and then downloaded and installed Flash Player 11.2.  No luck.  What's next?  
    Thanks, Kristen

    oops - it's Flash Player v 11.3 not 11.2

  • New MBP - endless spinning ball :(

    I have had this MBP for about six months. It is a 1.83 Ghz Intel Core Duo, OS10.4.8. I had the spinning ball problem from the beginning, so I upgraded my memory to 1.5 GB. That has helped only slightly.
    Lately I have been using it more professionally, more often - Photoshop CS2, pretty big files back and forth, scanning, managing files, etc. I am encountering the spinning ball constantly: navigating between files, changing file sizes, opening files, and especially working with the Bridge (I think the File Browser was better, at least performance wise).
    I am really, really disppointed with this machine. It is not fast, it does not perform well, and most frustratingly, as I've stated, I get the hanging spinning ball all the time. It feels like the six year old PC laptop my wife finally got rid of, not a state-of-the-art Mac laptop.
    I called Apple a few months back and they said the warranty was only for hardware, and I had to troubleshoot software issues on the Apple site.
    I also bought this machine in the States, and brough it here to the UK. (I don't know if that effects my warranty).
    I can't work professionally with this product, I thought Apple was better than this - I also have a G5 desktop machine which works pretty well.
    What should I do??
    G5, dual 2Ghz   Mac OS X (10.4.6)  
    G5, dual 2Ghz   Mac OS X (10.4.6)  
    G5, dual 2Ghz   Mac OS X (10.4.6)  
    G5, dual 2Ghz   Mac OS X (10.4.6)  
    G5, dual 2Ghz   Mac OS X (10.4.6)  

    Christopher, as others have mentioned, your problems are due to running legacy PPC apps via Rosetta emulation. And these are substantial programs with big RAM and CPU appetites.
    Rosetta effectively doubles their RAM demands and cuts their performance by about 50% due to emulating PPC instructions on the fly.
    The spinning balls are due to page outs in the Virtual Memory system, which uses the Hard Drive to make up for too little real RAM.
    The more legacy apps you are running in Rosetta, the more virtual memory is used -- and this affects the responsiveness of all applications, even Intel native or Universal ones.
    The solutions are: 1) run fewer legacy PPC apps; 2) get more RAM; 3) make sure you have adequate free space (at least 10% free) on your hard drive to allow VM to work efficiently.
    If you fire up Utilities > Activity Monitor you can see which PPC legacy apps are running. Try to get that down to none. Activity Monitor will also tell you how many page-outs are occuring in Virtual Memory. My guess is: alot!

Maybe you are looking for

  • Linking i-pad2 to a TV

    I have just purchesed a dedicated AV lead to link my i-pad2 to my TV and when it's connected BBC i-player works perfectly. However, ITV player, 4OD and TV Catchup only produce sound through the TV with no picture. Does anyone know what the problem is

  • How do I switch the Start Up Disk back to Mac OSX hardrive ?

    Hi Mac users.... I think I created a huge problem on my computer. I was looking to stop a program from opening up, snapz pro x, every time I restarted my computer. I found out how to delete eventually, but during my search I went to system preference

  • Oracle Reports Integration with JDeveloper

    Hi Gurus, We have our Oracle Forms Applications 10g Release1 running on the Application Server 9.0.4. I have understood that using oracle Forms Faces, the existing Forms can be brought into the J2EE Frame work developed using ADF Faces. Now my questi

  • Editing Topics in Work

    I am working on a project with individuals that are not so technically savvy, so I had them creates documents using Word. This is my first time using RoboHelp, I typically build a web site from scratch. I saw that RoboHelp would retain style formatti

  • Youtube video's not multitasking anymore

    Hi, Before I upgraded my iPad 2 to iOS6, I've always been able to play a youtube video through Safari, press the home button and just press the play button on my EarPods and it would gladly play further. But after I upgraded to iOS6, this function ju