Harddisken læser/skriver og CPU har travlt selvom jeg ikke laver noget...
En process der hedder mdimport tager op til 35% af CPU på min PMG4 933MHz.
For den uvidende er det underligt - hvad foregår der?
Normalt eller alarmerende?
- Mikael
Sample fra Activity Monitor følger her:
----
Analysis of sampling pid 937 every 10.000000 milliseconds
Call graph:
279 Thread_1007
279 0x2c50
279 0x2da8
279 0x6ca4
279 0x8e80
279 CFRunLoopRun
279 CFRunLoopRunSpecific
279 __CFRunLoopRun
279 mach_msg
279 mach_msg_trap
279 mach_msg_trap
279 Thread_1103
279 _pthread_body
279 forkThreadForFunction
279 0x4aac
279 kevent
279 kevent
279 Thread_1203
279 _pthread_body
279 0x89ec
271 0x8568
228 0x638c
226 ImageImporterFile
226 CGImageSourceCopyPropertiesAtIndex
226 CGImageSourceGetPropertiesAtIndex
225 makeImagePlus
121 CGImageSourceGetCount
121 gifPluginImageCount
94 _cg_DGifOpen
93 _cg_DGifGetScreenDesc
93 CGImageReadSessionGetBytes
93 CGImageReadGetBytesAtOffset
92 pread
92 pread
1 CGImageReadGetBytesAtOffset
1 CGImageReadSessionGetBytes
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
18 _cg_DGifGetCodeNext
17 CGImageReadSessionGetBytes
17 CGImageReadGetBytesAtOffset
17 pread
17 pread
1 CGImageReadGetBytesAtOffset
1 CGImageReadGetBytesAtOffset
4 _cg_DGifGetImageDesc
3 DGifGetWord
3 CGImageReadSessionGetBytes
3 CGImageReadGetBytesAtOffset
3 pread
3 pread
1 CGImageReadSessionGetBytes
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
2 _cg_DGifGetExtension
2 _cg_DGifGetExtensionNext
2 CGImageReadSessionGetBytes
2 CGImageReadGetBytesAtOffset
2 pread
2 pread
2 _cg_DGifGetRecordType
2 CGImageReadSessionGetBytes
2 CGImageReadGetBytesAtOffset
2 pread
2 pread
1 _cg_DGifGetExtensionNext
1 CGImageReadSessionGetBytes
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
104 gifPluginInit
80 _cg_DGifOpen
79 _cg_DGifGetScreenDesc
79 CGImageReadSessionGetBytes
79 CGImageReadGetBytesAtOffset
79 pread
79 pread
1 CGImageReadSessionGetBytes
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
22 _cg_DGifGetCodeNext
22 CGImageReadSessionGetBytes
22 CGImageReadGetBytesAtOffset
22 pread
22 pread
1 _cg_DGifGetExtension
1 _cg_DGifGetExtensionNext
1 CGImageReadSessionGetBytes
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
1 _cg_DGifGetImageDesc
1 CGImageReadSessionGetBytes
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
1 _CGImageSourceBindToPlugin
1 CGImageReadGetBytesAtOffset
1 pread
1 pread
2 ImportFromFile
2 -[NSAttributedString(NSAttributedStringKitAdditions)
initWithURL
tions:documentAttributes:error:]
2 _NSReadAttributedStringFromURLOrData
2 -[NSConcreteFileHandle readDataOfLength:buffer:]
2 read
2 read
27 0x6008
24 0x5328
24 _LSCopyItemAttributesForRefInfoWithOptions
13 _LSCopyNodeAttributes
9
LSCopyNodeAttribute_DisplayKindLocalizationDictionary(LSNodeAttributeStateCa
che*)
8 _LSBundleCopyStringDictionaryForKey
3 FSNodeCopyBundle
3 _CFBundleCreate
3 CFBundleGetInfoDictionary
3
_CFBundleCopyInfoDictionaryInDirectoryWithVersion
2 _CFPropertyListCreateFromXMLData
2 parsePListTag
2 parseDictTag
2 parseArrayTag
2 parseDictTag
1 parseDictTag
1 parseXMLElement
1 parseXMLElement
1 _CFBundleCopyDirectoryContentsAtPath
1 getdirentries
1 getdirentries
2 _LSCopyBundleStringDictionariesForLocales
2 _LSCopyBundleStringsForLocale
2 CFBundleCopyResourceURLForLocalization
2 _CFFindBundleResources
1 CFURLCreateStringWithFileSystemPath
1
CFURLCreateStringByReplacingPercentEscapesUsingEncoding
1
CFURLCreateStringByReplacingPercentEscapesUsingEncoding
1 _CFFindBundleResourcesInResourcesDir
1 _CFFindBundleResourcesInRawDir
1 _CFSearchBundleDirectory
1 _CFBundleCopyDirectoryContentsAtPath
1 CFStringCreateWithCString
1 __CFStringCreateImmutableFunnel3
1 _CFRuntimeCreateInstance
1 CFAllocatorAllocate
1 malloc_zone_malloc
1 szone_malloc
1 szone_malloc
1 CFDictionaryCreate
1 __CFDictionaryInit
1 __CFDictionaryInit
1 CFDictionaryGetValue
1 CFEqual
1 CFEqual
1 TSAcquireReader
1 TSAcquireReader
1 LSNodeAttributeStateCache::hasBinding()
1 LSGetBindingStateForNode(LSBindingState*, FSNode*)
1 LSGetBinding(LSBindingState*)
1 LSEvaluateClaimArray(LSBindingState*, unsigned
long const*, unsigned long)
1 LSEvaluateClaimArray(LSBindingState*,
unsigned long const*, unsigned long)
2
LSCopyNodeAttribute_ContentType(LSNodeAttributeStateCache*)
1 LSNodeAttributeStateCache::hasTypeData()
1 LSTypeDataInitForNode(LSContext*, LSTypeData*,
FSNode*, __CFString const*, unsigned long)
1 LSTypeDataGetBestType(LSContext*, unsigned long,
LSTypeData*)
1 LSGetTypeForUTIChars(LSDatabase*, XCFChars
const*, unsigned long*)
1 CSGetStringForCharacters
1 CSMapGetKeyAndValueForKeyData
1 _CSMapFindBucketForKeyData
1 _CSStringStoreUnitMatchesString
1 dyld_stub_memcmp
1 dyld_stub_memcmp
1 _UTTypeCreateDynamicIdentifierForFileInfo
1 _UTAbbreviateTerm
1 strncmp
1 strncmp
2
LSCopyNodeAttribute_DisplayNameLocalizationDictionary(LSNodeAttributeStateCa
che*)
2 _LSBundleCopyLocalizedNameDictionary
2 _LSBundleCopyStringDictionaryForKey
1 FSNodeCopyBundle
1 _CFBundleCreate
1 CFBundleGetInfoDictionary
1
_CFBundleCopyInfoDictionaryInDirectoryWithVersion
1 CFURLCreateDataAndPropertiesFromResource
1
_CFFileURLCreateDataAndPropertiesFromResource
1 _CFReadBytesFromFile
1 CFURLGetFileSystemRepresentation
1
CFURLCreateStringWithFileSystemPath
1
CFURLCreateStringWithFileSystemPath
1 URLPathToPOSIXPath
1
CFURLCreateStringByReplacingPercentEscapesUsingEncoding
1
CFURLCreateStringByReplacingPercentEscapes
1 CFStringAppend
1
__CFStringChangeSizeMultiple
1
__CFStrAllocateMutableContents
1
__CFStrAllocateMutableContents
1 _LSCopyBundleStringDictionariesForLocales
1 _LSCopyBundleStringsForLocale
1 CFURLCreateDataAndPropertiesFromResource
1
_CFFileURLCreateDataAndPropertiesFromResource
1 _CFReadBytesFromFile
1 read
1 read
11 _LSFindOrRegisterBundleNode
4 _LSBundleFindWithNode
2 CSStoreGetNextUnit
2 CSStoreGetNextUnit
2 _LSAliasCompareToNode
2 _LSUniCharCompare
1 _CFRelease
1 CFAllocatorDeallocate
1 CFAllocatorDeallocate
1 _LSUniCharCompare
3 LSRegisterBundleNode(LSContext*, unsigned long,
FSNode*, FSNode*, unsigned long, unsigned long*)
2 LSRegisterDirectoryNode(LSContext*, FSNode*,
LSRegistrationInfo*, AliasRecord const*, unsigned long*)
1 LSCopyBinaryPlistData(void const*)
1 __CFBinaryPlistWriteToStream
1 _flattenPlist
1 _flattenPlist
1 _flattenPlist
1 _flattenPlist
1 LSDispatchRegistration(LSContext*, char const*,
LSRegistrationInfo*, AliasRecord const*, unsigned char const*, unsigned
long, unsigned long*)
1 _LSRegisterItemInfo
1 _LSPluginClient_RegisterItemInfo
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 FSNodeNewAlias
1 _FSNewVersion3Alias
1 AL_fillVersion3Alias
1 AL_fillInternalAliasRecord
1 AL_fillDirectoryBlock
1 _FSGetCatalogInfoByName
1 FSMount::getattrs(unsigned long, char
const*, unsigned long, unsigned long, FSAttributeInfo*, unsigned long,
unsigned char*)
1 VolFSMount::_getattrs(unsigned long,
char const*, unsigned long, unsigned long, FSAttributeInfo*, unsigned long,
unsigned char*)
1 GetVolFSAttributes(VolumeInfo*,
unsigned long, char const*, unsigned long, unsigned long, FSAttributeInfo*,
unsigned long, unsigned long, FSVolAttributeInfo*, unsigned char*)
1 getattrlist_retry(unsigned,
unsigned long, char const*, unsigned long, attrlist*, void*, unsigned long,
unsigned long)
1 CreateVolFSPath(unsigned,
unsigned long, char const*, unsigned long, char*)
1 sprintf
1 __memcpy
1 __memcpy
2 _LSCreateContainerNodeAndFlagsForNode
2 _FSSamePhysicalDevice
2 _SameIOKitDevice
2 _GetWholeDeviceForBSDName
2 identifierToIOKitObject
1 IOMakeMatching
1 szone_free
1 szone_free
1 IOServiceGetMatchingServices
1 io_service_get_matching_services
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 _LSContainerGet
1 _LSContainerGet
1 _LSContextUpdate
1 _LSContextInit
1 LSContextInitClient(LSContext*)
1 _LSSetLocalDatabase
1 CSRefRelease
1 LSDatabaseDestroy(void const*)
1 CSRefRelease
1 CS_vm_deallocate(void*, unsigned long)
1 vm_deallocate
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
2 0x5ad0
2 0xb32c
2 _CopyPropertyStore
2 THFSPlusPropertyStore::GetProperties() const
2 THFSPlusPropertyStore:
en(bool) const
2 THFSPlusPropertyStore::MakeProperties(unsigned
char*, unsigned long, bool) const
1 BuddyStorage::Initialize()
1 BuddyStorage::Commit()
1 BuddyStorage::FreeAddressesSize()
1
IADeletePointerArrayOnUnwind:
IADeletePointerArrayOnUnwind [unified]()
1 UInt32Set:
UInt32Set [in-charge
deleting]()
1 SkipList:
SkipList [unified]()
1 szone_free
1 szone_free
1 BuddyStorage:
BuddyStorage [unified]()
1 UInt32Set:
UInt32Set [in-charge deleting]()
1 SkipList:
SkipList [unified]()
1 __spin_unlock
1 __spin_unlock
1 0x56f8
1 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 __CFDictionaryFindBuckets1b
13 0x64dc
13 0x38d8
13 MDItemSetAttributes
11 __MDItemSetAttributes
11 StoreSetManyAttributesForOID
10 _client_SetAttributesForOID
10 mach_msg
10 mach_msg_trap
10 mach_msg_trap
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 CFDictionaryApplyFunction
1 __setAttributes_applier
1 _MDItemValidateOperation
1 _MDAttributeValidateOperation
1 _MDValidateAttributeName
1 CFCharacterSetIsLongCharacterMember
1 CFCharacterSetIsLongCharacterMember
1 _CFRelease
1 __CFDictionaryDeallocate
1 _CFRelease
1 _CFRelease
1 0x65ec
1 -[NSLock unlock]
1 dyld_stub_pthread_cond_broadcast
1 dyld_stub_pthread_cond_broadcast
1 0x65f8
1 NSPopAutoreleasePool
1 _CFRelease
1 __CFDictionaryDeallocate
1 _CFRelease
1 __CFArrayDeallocate
1 __CFArrayReleaseValues
1 malloc_zone_free
1 malloc_zone_free
1 NSPopAutoreleasePool
1 NSPopAutoreleasePool
7 0x81dc
7 _MDGetNextFileToProcess
7 _client__MDGetNextFileToProcess
6 mach_msg
6 mach_msg_trap
6 mach_msg_trap
1 _client__MDGetNextFileToProcess
1 0x851c
1 -[NSURL initFileURLWithPath:]
1 -[NSFileManager fileExistsAtPath:isDirectory:]
1 _NSFileExistsAtPath
1 lstat
1 lstat
279 Thread_1303
279 _pthread_body
279 forkThreadForFunction
279 0xb644
279 kevent
279 kevent
279 Thread_1403
279 _pthread_body
279 ReadSchedulerThreadEntryPoint
279 TSWaitOnSemaphoreCommon
279 pthread_cond_timedwait_relative_np
279 semaphore_timedwait_signal_trap
279 semaphore_timedwait_signal_trap
279 Thread_1503
279 _pthread_body
279 AVS::DestroyAVCDeviceController(AVS::AVCDeviceController*)
279 CFRunLoopRun
279 CFRunLoopRunSpecific
279 __CFRunLoopRun
279 mach_msg
279 mach_msg_trap
279 mach_msg_trap
279 Thread_1603
279 _pthread_body
279 CAPThread::Entry(CAPThread*)
279 HALRunLoop::OwnThread(void*)
279 CFRunLoopRunSpecific
279 __CFRunLoopRun
279 mach_msg
279 mach_msg_trap
279 mach_msg_trap
Total number in stack (recursive counted multiple, when >=5):
15 CGImageReadGetBytesAtOffset
14 pread
13 CGImageReadSessionGetBytes
9 mach_msg
9 mach_msg_trap
6 _pthread_body
5 _CFRelease
Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 857
kevent 558
semaphore_timedwait_signal_trap 279
pread 224
Sample analysis of process 937 written to file /dev/stdout
Sampling process 937 each 10 msecs 300 times
----