/ Forside / Teknologi / Hardware / Mac / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Mac
#NavnPoint
UlrikB 4810
kipros 1675
Klaudi 1010
myg 920
pifo 907
Stouenberg 838
molokyle 830
Bille1948 815
rotw 760
10  EXTERMINA.. 750
MacBook løber varm - ukendt process (lang ~
Fra : nospamtoMike [8000 C~


Dato : 14-03-08 10:35

Min Macbook 2.2 med 4GB RAM og 10.5.2 løber varm. Blæserne kører fuld skrue
og i Activity Monitor ser jeg en process som hedder <mds> (root) som bruger
al CPU. Sammen med en anden process der hedder mdworker (nobody).

Hvad er meningen og hvad gør jeg? Fatter minus af hvad der foregår.

Advarsel: denne post er meget lang. Jeg håber der er en eller anden, som
synes det er interessant at nørde i det indre af OS X



Mikael
------

Herunder et sample fra mds og derefter et sample fra mdworker:

mds
Sampling process 21 for 3 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling mds (pid 21) every 1 millisecond
Call graph:
1110 Thread_2503
1110 0x5af6
1110 0xe048
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_2603
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0xcfa2
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_2703
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0xcfc5
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_2803
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0xcfe8
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_2903
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0xd00b
1106 0x57de1
1106 CFRunLoopRunInMode
1106 CFRunLoopRunSpecific
1088 mach_msg
1088 mach_msg_trap
1088 mach_msg_trap
13 __CFMachPortPerform
13 0x47468
13 mach_msg_dispatch
5 vm_deallocate
5 mach_msg
5 mach_msg_trap
5 mach_msg_trap
3 mach_msg_dispatch
2 0x46bba
2 0x559a5
2 0x42f95
2 CFDictionaryApplyFunction
2 0x4516d
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
2 vm_allocate
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 0x46baa
1 0x46baa
2 mach_port_insert_member
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 CFSetGetCount
1 CFSetGetCount
1 __CFRunLoopModeFindSourceForMachPort
1 CFSetApplyFunction
1 CFSetApplyFunction
1 mk_timer_arm
1 mk_timer_arm
4 0x57db0
4 NSPopAutoreleasePool
2 0x51f4b
2 _CFRelease
2 munmap$UNIX2003
2 munmap$UNIX2003
2 0x51f5f
1 _CFRelease
1 munmap$UNIX2003
1 munmap$UNIX2003
1 objc_collecting_enabled
1 objc_collecting_enabled
1110 Thread_2a03
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0xd02e
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_2b03
1110 thread_start
1110 _pthread_start
1110 kevent
1110 kevent
1110 Thread_2c03
1110 thread_start
1110 _pthread_start
666 0x9d8e
666 pthread_cond_timedwait$UNIX2003
666 __semwait_signal
666 __semwait_signal
444 0x9cf1
444 pthread_cond_timedwait$UNIX2003
444 __semwait_signal
444 __semwait_signal
1110 Thread_2d03
1110 thread_start
1110 _pthread_start
1110 read$UNIX2003
1110 read$UNIX2003
1110 Thread_2e03
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0x865ee
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1080 mach_msg
1080 mach_msg_trap
1080 mach_msg_trap
28 __CFMachPortPerform
28 0x47468
28 mach_msg_dispatch
23 0x511cf
14 0x4dc60
14 MDPlistBytesCopyPlistAtIndex
14
MDPlistBytesCopyPlistAtIndexWithCallbacks
14 copyObject
14 copyDictionary
13 copyObject
8 copyDictionary
5 copyObject
5 CFStringCreateWithBytes
5
__CFStringCreateImmutableFunnel3
3
__CFStringCreateImmutableFunnel3
2
_CFRuntimeCreateInstance
2 malloc_zone_malloc
1 __spin_lock
1 __spin_lock
1 szone_malloc
1
tiny_malloc_from_free_list
1
tiny_free_list_add_ptr
1
tiny_free_list_add_ptr
3 CFDictionaryCreate
3 CFDictionaryAddValue
3 __CFDictionaryGrow
1
__CFDictionaryFindBuckets2
1 __CFStringHash
1 __CFStringHash
1 __CFDictionaryGrow
1 malloc_zone_malloc
1 __spin_lock
1 __spin_lock
4 CFStringCreateWithBytes
4
__CFStringCreateImmutableFunnel3
2 _CFRuntimeCreateInstance
1 malloc_size
1 malloc_size
1 malloc_zone_malloc
1 szone_malloc
1
tiny_malloc_from_free_list
1
tiny_malloc_from_free_list
1
__CFStringCreateImmutableFunnel3
1 __memcpy
1 __memcpy
1 copyObject
1 CFDictionaryCreate
1 CFDictionaryAddValue
1 __CFDictionaryGrow
1 __CFDictionaryGrow
5 0x4dd80
5 _CFRelease
5 munmap$UNIX2003
5 munmap$UNIX2003
2 0x4dc6a
2 _CFRelease
2 munmap$UNIX2003
2 munmap$UNIX2003
1 0x4dc4e
1 MDPlistBytesCreate
1 maybeSwapPlistBytes
1 maybeSwapPlistBytes
1 0x4dcf2
1 0x2d5b6
1 0x1ee34
1 _setjmp
1 _setjmp
3 vm_deallocate
3 mach_msg
3 mach_msg_trap
3 mach_msg_trap
1 mach_msg_dispatch
1 vm_allocate
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 mk_timer_create
1 mk_timer_create
1 mk_timer_destroy
1 mk_timer_destroy
1110 Thread_2f03
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0x53a34
1108 0x57de1
1108 CFRunLoopRunInMode
1108 CFRunLoopRunSpecific
1080 mach_msg
1080 mach_msg_trap
1080 mach_msg_trap
22 __CFMachPortPerform
12 0x56513
12 mach_msg_dispatchx
5 vm_allocate
5 mach_msg
5 mach_msg_trap
5 mach_msg_trap
3 0x517d1
3 0x51ead
2 0x52986
1 0x553b4
1 mach_port_insert_right
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 0x55553
1 mach_port_mod_refs
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 0x5292a
1 0x551e1
1 objc_sync_enter
1 id2data
1 fetch_cache
1 _objc_fetch_pthread_data
1 _objc_fetch_pthread_data
2 0x51773
2 0x51773
1 0x5177a
1 0x5177a
1 mach_msg_dispatchx
10 0x47468
10 mach_msg_dispatch
6 0x46f3d
6 0x52872
5 0x527c1
5 MDStoreOIDArrayApplyFunction
3 0x52699
3 MDPlistBytesCopyPlistBytesAtIndex
2 vm_allocate
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 MDPlistBytesCreate
1 _CFRuntimeCreateInstance
1 malloc_zone_malloc
1 __spin_lock
1 __spin_lock
1 0x526ec
1 0x5213b
1 MDStoreOIDArrayCreateMutableCopy
1 __memcpy
1 __memcpy
1 0x526f4
1 _CFRelease
1 munmap$UNIX2003
1 munmap$UNIX2003
1 0x5275e
1 0x544a6
1 0x57504
1 CFDictionarySetValue
1 CFDictionarySetValue
2 vm_allocate
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 mach_msg_dispatch
1 vm_deallocate
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
2 mach_port_extract_member
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 CFRunLoopRunSpecific
1 CFSetApplyFunction
1 __CFRunLoopCollectSources0
1 __CFRunLoopCollectSources0
1 __CFRunLoopFindMode
1 CFSetGetValue
1 __CFSetFindBuckets1b
1 _CFHash
1 _CFHash
1 mk_timer_arm
1 mk_timer_arm
2 0x57db0
2 NSPopAutoreleasePool
1 -[NSObject release]
1 __CFDoExternRefOperation
1 __CFDoExternRefOperation
1 0x51f5f
1 _CFRelease
1 __MDPlistBytesFinalize
1 __MDPlistBytesFinalize
1110 Thread_3003
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0x53a34
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_3103
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0x53a34
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_3203
1110 thread_start
1110 _pthread_start
1110 _handleExceptions
1110 mach_msg
1110 mach_msg_trap
1110 mach_msg_trap
1110 Thread_3303
1110 thread_start
1110 _pthread_start
1110 __NSThread__main__
1110 -[NSThread main]
1110 0x57baf
1110 0x440cf
1110 0x57de1
1110 CFRunLoopRunInMode
1110 CFRunLoopRunSpecific
1064 mach_msg
1064 mach_msg_trap
1064 mach_msg_trap
34 __CFMachPortPerform
34 0x47468
34 mach_msg_dispatch
12 0x457c4
12 0x3fd3c
9 0x408ce
9 fsctl
9 fsctl
2 0x40a60
2 0x6b055
2 fcntl$UNIX2003
2 fcntl$UNIX2003
1 0x41082
1 0x45a7d
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
9 mach_msg_dispatch
6 vm_deallocate
6 mach_msg
6 mach_msg_trap
6 mach_msg_trap
4 vm_allocate
4 mach_msg
4 mach_msg_trap
4 mach_msg_trap
3 0x458f7
3 0x3ec6d
2 0x43d4c
2 mmap
2 mmap
1 0x43dc2
1 +[NSObject alloc]
1 +[NSObject allocWithZone:]
1 _internal_class_createInstance
1
_internal_class_createInstanceFromZone
1 calloc
1 malloc_zone_calloc
1 szone_calloc
1 __bzero
1 __bzero
3 mach_port_insert_member
3 mach_msg
3 mach_msg_trap
3 mach_msg_trap
3 mk_timer_arm
3 mk_timer_arm
2 mach_port_extract_member
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 CFRunLoopRunSpecific
1 _CFRunLoop0
1 CFDictionaryGetValue
1 CFDictionaryGetValue
1 __CFRunLoopModeFindSourceForMachPort
1 CFSetApplyFunction
1 __CFRunLoopFindSource
1 __CFRunLoopFindSource
1 mk_timer_destroy
1 mk_timer_destroy
1110 Thread_3403
1110 thread_start
1110 _pthread_start
1110 setattr_runLoop
1110 runLoop
1110 si_scheduler_run_waiting_timeout
1013 pthread_cond_timedwait_relative_np
1013 _pthread_cond_wait
1003 semaphore_timedwait_signal_trap
1003 semaphore_timedwait_signal_trap
10 _pthread_cond_wait
97 si_scheduler_once
97 si_scheduler_once
97 si_work_queue_process
94 setAttributes
69 si_writeBackAndIndex
43 ContentIndexUpdateContent
41 setDocumentAttributes
41 TermUpdateSetAddDocumentInfo
41 termUpdateSetProcessFields
41 invertValueToUpdateSet
36 CITokenizerGetTokens
36 _CITokenizerGetTokens
14 _CFStringTokenizerTokenize
9
icu::RuleBasedTokenizer::tokenize(int, RuleBasedTokenRange*, unsigned long*)
7
icu::RuleBasedTokenizer::tokenize(int, RuleBasedTokenRange*, unsigned long*)
2 utext_next32
2 __CFStringAccess
2 doAccess
2
__CFStrConvertBytesToUnicode
2
__CFStrConvertBytesToUnicode
3
MeCab::TaggerImpl::parseToNode(char const*, unsigned long)
3 MeCab::Viterbi::analyze(char
const*, unsigned long)
3 MeCab::Viterbi::viterbi(char
const*, unsigned long)
2
MeCab::TokenizerImpl<mecab_node_t, mecab_path_t>::lookup(char const*, char
const*)
1
MeCab::TokenizerImpl<mecab_node_t, mecab_path_t>::lookup(char const*, char
const*)
1 __bzero
1 __bzero
1
MeCab::Viterbi::connectNormal(unsigned long, mecab_node_t*)
1
MeCab::Viterbi::connectNormal(unsigned long, mecab_node_t*)
1 OSAtomicCompareAndSwapPtrBarrier
1 __compare_and_swap32
1 __compare_and_swap32
1 langid_identify
1 langid_identify
7
_CFStringTokenizerTokenizeCompoundWord
6
_CFStringTokenizerTokenizeCompoundWord
1 __CFStrConvertBytesToUnicode
1 __CFStrConvertBytesToUnicode
7 getPropertyTokensCallback
4 pushPropertyTerm
4 pushPropertyTerm
2 addToExistingTermUpdateList
1 __memcpy
1 __memcpy
1 addToExistingTermUpdateList
1 utf8_encodestr
1 utf8_encodestr
6 __CFSTUnitIndexSetString
3 utext_close
2 free
2 szone_free
1 szone_free
1 tiny_free_list_add_ptr
1 tiny_free_list_add_ptr
1 utext_close
2
icu::RuleBasedBreakIterator::first()
2 utext_setNativeIndex
2 __CFStringAccess
1 CFStringGetCharacters
1 CFStringGetCharacters
1 doAccess
1 doAccess
1
icu::RuleBasedBreakIterator::setText(UText*, UErrorCode&)
1 utext_clone
1 __CFStringClone
1 __CFStringClone
1 free
1 munmap$UNIX2003
1 munmap$UNIX2003
1 getContentTokensCallback
1 PositionNodeFinalizeDocument
1 PositionNodeFinalizeDocument
2 FlattenCFTypeToBuffer
1 CFNumberGetValue
1 CFNumberGetValue
1
WriteCharactersFromSignBiasedExponentStrippedMantissa
1
WriteCharactersFromSignBiasedExponentStrippedMantissa
2 pushPropertyTerm
2 pushPropertyTerm
1 addToExistingTermUpdateList
1 __memcpy
1 __memcpy
2 index_ShouldFlushCache
1 TermUpdateSetGetStats
1 slab_usage
1 slab_usage
1 pthread_rwlock_rdlock$UNIX2003
1 pthread_mutex_lock
1 pthread_mutex_lock
15 decodeDBOToDictionary(datastore_info*, long
long, db_obj*, bool, int, bool)
11 decodeSDBField
3 CFDictionarySetValue
3 __CFDictionaryGrow
3 malloc_zone_malloc
3 szone_malloc
3 tiny_malloc_from_free_list
3 tiny_malloc_from_free_list
2 createValue(datastore_info*, dbfield_enum,
int, void*, bool)
1 CFNumberCreate
1 OSAtomicCompareAndSwapPtrBarrier
1 OSAtomicCompareAndSwapPtrBarrier
1 createString(datastore_info*, int, char
const**, bool)
1 createString(datastore_info*, int, char
const**, bool)
2 decodeSDBField
1 CFStringCreateWithBytes
1 __CFStringCreateImmutableFunnel3
1 __CFStringCreateImmutableFunnel3
1 __CFArrayInit
1 _CFRuntimeCreateInstance
1 _CFRuntimeCreateInstance
1 db_unlock_datastore
1 pthread_rwlock_unlock$UNIX2003
1 __spin_lock
1 __spin_lock
1 strlen
1 strlen
3 CFDictionarySetValue
2 __CFDictionaryGrow
2 _spin_unlock
2 _spin_unlock
1 CFDictionarySetValue
1 decodeDBOToDictionary(datastore_info*, long
long, db_obj*, bool, int, bool)
5 si_writeBackDBO
5 db_update_obj
5 page_update_obj
5 __memcpy
5 __memcpy
3 CFDictionaryCreateCopy
3 CFDictionaryCreateMutableCopy
3 CFDictionaryAddValue
3 __CFDictionaryGrow
3 __CFDictionaryFindBuckets2
3 __CFDictionaryFindBuckets2
2 _CFRelease
2 __CFDictionaryDeallocate
2 _CFRelease
1 __CFArrayDeallocate
1 __CFArrayDeallocate
1 __CFArrayReleaseValues
1 _CFRelease
1 _CFRelease
1 ContentIndexDelete
1 setThreadIdAndInfo
1 time
1 gettimeofday
1 __gettimeofday
1 __nanotime
1 __nanotime
4 CFStringCompare
2 CFStringCompareWithOptions
2 CFStringCompareWithOptionsAndLocale
2 CFStringCompareWithOptionsAndLocale
2 CFStringGetLength
2 CFStringGetLength
4 db_add_localized_string_field
4 db_add_field
2 get_id_for_string
2 get_id_for_string
1 __memcpy
1 __memcpy
1 check_and_decompose_string
1 utf8_decodestr
1 unicode_decompose
1 unicode_decompose
3 _CFRelease
3 __CFDictionaryDeallocate
3 _CFRelease
1 _CFRelease
1 __CFDictionaryDeallocate
1 __CFDictionaryDeallocate
1 szone_free
1 szone_free
2 0x2d3d4
2 0x51762
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
2 CFDictionaryGetValue
2 __CFDictionaryFindBuckets1b
2 CFEqual
1 CFEqual
1 __CFStringEqual
1 __CFStringEqual
2 db_get_obj_callback
1 db_get_obj_callback
1 page_find_oid
1 page_find_oid
2 setAttributes
2 syscall
2 syscall
1 CFDictionaryCreate
1 CFDictionaryAddValue
1 __CFDictionaryGrow
1 __CFDictionaryFindBuckets2
1 __CFDictionaryFindBuckets2
1 fastUTF8String(__CFString const*, long*, char*,
long)
1 fastUTF8String(__CFString const*, long*, char*,
long)
1 open$UNIX2003
1 open$UNIX2003
1 setOneFieldLocked(__CFString const*, void const*,
datastore_info*, db_obj**, int, bool)
1 db_add_field
1 db_add_field
3 close$UNIX2003
3 close$UNIX2003
1110 Thread_3503
1110 thread_start
1110 _pthread_start
1110 compaction_runLoop
1110 runLoop
1110 si_scheduler_run_waiting_timeout
1110 si_scheduler_once
1110 si_scheduler_once
1110 si_work_queue_process
1110 si_mergeIndex
1110 OuterMerge
1110 ContentIndexMergeIndexes
1110 _ContentIndexMergeIndexes
842 mergeIndexData
578 unpackPostingChunk
548 PayloadProcessDocIDRangeBitsReversed
319 readDataForOneDocument
160 msync$UNIX2003
160 msync$UNIX2003
89 writeWindowWriteBytes
41 __memcpy
41 __memcpy
30 writeWindowWriteBytes
18 ftruncate
18 ftruncate
69 readDataForOneDocument
1 dyld_stub_memcpy
1 dyld_stub_memcpy
137 pread$UNIX2003
137 pread$UNIX2003
92 PayloadProcessDocIDRangeBitsReversed
30 unpackPostingChunk
114 packContextFinalize
101 packPostingChunks
49 packPostingChunks
43 packPostingChunkInclude
43 packPostingChunkInclude
7 packPostingChunkBitmap
7 packPostingChunkBitmap
2 __bzero
2 __bzero
11 packContextFinalize
2 packRunHeadR
2 packRunHeadR
88 mergeIndexData
37 ftruncate
37 ftruncate
12 __memcpy
12 __memcpy
8 readDataForOneDocument
5 writeWindowWriteBytes
3 __memcpy
3 __memcpy
2 writeWindowWriteBytes
3 readDataForOneDocument
5 CFBitVectorSetBitAtIndex
5 CFBitVectorSetBitAtIndex
201 pread$UNIX2003
201 pread$UNIX2003
66 msync$UNIX2003
66 msync$UNIX2003
1 dyld_stub_memcpy
1 dyld_stub_memcpy

Total number in stack (recursive counted multiple, when >=5):
31 mach_msg
31 mach_msg_trap
16 _pthread_start
16 thread_start
11 0x57de1
11 CFRunLoopRunInMode
11 CFRunLoopRunSpecific
11 _CFRelease
10 -[NSThread main]
10 0x57baf
10 __NSThread__main__
9 __memcpy
6 __CFDictionaryGrow
6 munmap$UNIX2003
6 vm_allocate
5 malloc_zone_malloc

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 13239
__semwait_signal 1110
kevent 1110
read$UNIX2003 1110
semaphore_timedwait_signal_trap 1003
pread$UNIX2003 338
msync$UNIX2003 226
PayloadProcessDocIDRangeBitsReversed 92
mergeIndexData 88
readDataForOneDocument 72
__memcpy 66
ftruncate 55
packPostingChunks 49
packPostingChunkInclude 43
writeWindowWriteBytes 32
unpackPostingChunk 30
mach_msg_dispatch 14
munmap$UNIX2003 12
packContextFinalize 11
_pthread_cond_wait 10
fsctl 9
icu::RuleBasedTokenizer::tokenize(int, RuleBasedTokenRange*,
unsigned long*) 7
packPostingChunkBitmap 7
_CFStringTokenizerTokenizeCompoundWord 6
pushPropertyTerm 6
CFBitVectorSetBitAtIndex 5
__CFStringCreateImmutableFunnel3 5
mk_timer_arm 5
Sample analysis of process 21 written to file /dev/stdout
---------------------------------------------------------
---------------------------------------------------------
---------------------------------------------------------


mdworker
Sampling process 162 for 3 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling mdworker (pid 162) every 1 millisecond
Call graph:
1819 Thread_2503
1819 0x27ea
1819 0x8b8b
1819 0xbd76
1819 CFRunLoopRunInMode
1819 CFRunLoopRunSpecific
1819 mach_msg
1819 mach_msg_trap
1819 mach_msg_trap
1819 Thread_2603
1819 thread_start
1819 _pthread_start
1803 0x96f4
1682 0x6003
1682 ImportFromFile
1682 0x5504d3
1682 AudioFileOpen
862 read$UNIX2003
862 read$UNIX2003
820 AudioFileOpenURL
817 AudioFileObject::DoOpen(__CFURL const*, signed
char, int)
817 WAVEAudioFile::ParseAudioFile()
817 Cached_DataSource::ReadBytes(unsigned short,
long long, unsigned long, void*, unsigned long*)
817 Cached_DataSource::ReadFromHeaderCache(long
long, unsigned long, void*, unsigned long*)
817 pread$UNIX2003
817 pread$UNIX2003
2 AudioFileOpenURL
1 AudioFileFormatRegistry::GetFormatForFile(__CFURL
const*, unsigned long, int, unsigned long, void const*)
1 CFURLGetFSRef
1 _CFGetFSRefFromURL
1 __CFCarbonCore_FSPathMakeRef
1 FSPathMakeRef
1 FSPathMakeRefInternal(unsigned char
const*, unsigned long, unsigned long, FSRef*, unsigned char*)
1 PathGetObjectInfo(char const*, unsigned
long, unsigned long, VolumeInfo**, unsigned long*, unsigned long*, char*,
unsigned long*, unsigned char*)
1 getattrlist$UNIX2003
1 getattrlist$UNIX2003
117 close$UNIX2003
117 close$UNIX2003
3 0x583e
1 0x6ad8
1 CFURLGetFSRef
1 _CFGetFSRefFromURL
1 __CFCarbonCore_FSPathMakeRef
1 FSPathMakeRef
1 FSPathMakeRefInternal(unsigned char const*,
unsigned long, unsigned long, FSRef*, unsigned char*)
1 PathGetObjectInfo(char const*, unsigned long,
unsigned long, VolumeInfo**, unsigned long*, unsigned long*, char*, unsigned
long*, unsigned char*)
1 getattrlist$UNIX2003
1 getattrlist$UNIX2003
1 0x6d00
1 _LSCopyItemAttributesForRefInfo
1 _LSCopyItemAttributesForRefInfoWithOptions
1 _LSCopyNodeAttributes
1 _LSCopyNodeAttributes
1 0x75ae
1 _UTTypeCopyPedigree
1 _UTGetActiveTypeForCFString
1 _UTGetStringForCFString
1 XCFBufInitWithCFString
1 XCFBufInitWithCFStringRange
1 CFStringGetTypeID
1 CFStringGetTypeID
1 0x5f7d
1 -[NSURL path]
1 CFURLCopyFileSystemPath
1 CFURLCreateStringWithFileSystemPath
1 CFURLCreateStringWithFileSystemPath
11 0xa625
11 0xabda
11 mach_msg
11 mach_msg_trap
11 mach_msg_trap
3 0x9648
3 -[NSURL initFileURLWithPath:]
3 -[NSFileManager fileExistsAtPath:isDirectory:]
3 lstat
3 lstat
1 0x971f
1 0xc019
1 -[NSString hasPrefix:]
1 -[NSString rangeOfStringtions:range:]
1 -[NSString rangeOfStringtions:range:locale:]
1 CFStringFindWithOptionsAndLocale
1 CFStringFindWithOptionsAndLocale
1 0xa472
1 vm_deallocate
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1819 Thread_2703
1819 thread_start
1819 _pthread_start
1819 __NSThread__main__
1819 -[NSThread main]
1819 kevent
1819 kevent
1819 Thread_2803
1819 thread_start
1819 _pthread_start
1819 __NSThread__main__
1819 -[NSThread main]
1819 kevent
1819 kevent

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
kevent 3638
mach_msg_trap 1831
read$UNIX2003 862
pread$UNIX2003 817
close$UNIX2003 117
Sample analysis of process 162 written to file /dev/stdout
----------------------------------------------------------


 
 
Thomas von Hassel (14-03-2008)
Kommentar
Fra : Thomas von Hassel


Dato : 14-03-08 10:38

nospamtoMike [8000 C] <nospam@kern.dk> wrote:

> Min Macbook 2.2 med 4GB RAM og 10.5.2 løber varm. Blæserne kører fuld skrue
> og i Activity Monitor ser jeg en process som hedder <mds> (root) som bruger
> al CPU. Sammen med en anden process der hedder mdworker (nobody).
>
> Hvad er meningen og hvad gør jeg? Fatter minus af hvad der foregår.
>
> Advarsel: denne post er meget lang. Jeg håber der er en eller anden, som
> synes det er interessant at nørde i det indre af OS X

det er noget spotlight halløj .. .så enten er den ved at reindexere din
disk, eller også er spotlight crashet ..

/thomas


nospamtoMike [8000 C~ (14-03-2008)
Kommentar
Fra : nospamtoMike [8000 C~


Dato : 14-03-08 11:10



> det er noget spotlight halløj .. .så enten er den ved at reindexere din
> disk, eller også er spotlight crashet ..

Tak. Så er det bare at vente...
Forstår ikke lige hvorfor den skulle indeksere i så lang tid.

Mikael


Michael Rasmussen (14-03-2008)
Kommentar
Fra : Michael Rasmussen


Dato : 14-03-08 11:39

nospamtoMike [8000 C] skrev:

> Tak. Så er det bare at vente...
> Forstår ikke lige hvorfor den skulle indeksere i så lang tid.

Hvor længe har den indekseret? Måske er der et arkiv som spotlight er
gået i baglås på, evt. grundet en fejl i filsystemet.

Måske kan noget i denne tråd hjælpe <URL:
http://forums.macosxhints.com/showthread.php?t=83265 >

--
Michael Rasmussen
------------------------------------------------------------------------
»If you don't fail at least 90 percent of the time,
you're not aiming high enough«, Alan Kay.

Peter Farsinsen (14-03-2008)
Kommentar
Fra : Peter Farsinsen


Dato : 14-03-08 11:12

nospamtoMike [8000 C] wrote:
> Min Macbook 2.2 med 4GB RAM og 10.5.2 løber varm. Blæserne kører fuld skrue
> og i Activity Monitor ser jeg en process som hedder <mds> (root) som bruger
> al CPU. Sammen med en anden process der hedder mdworker (nobody).

Havde samme 'problem' den anden dag. En genstart løste det...

--
Peter Farsinsen
fornavn@efternavn.dk

nospamtoMike [8000 C~ (14-03-2008)
Kommentar
Fra : nospamtoMike [8000 C~


Dato : 14-03-08 11:27

Er der nogen der ved hvad mds og mdworker betyder?

Mikael


Peter Farsinsen (14-03-2008)
Kommentar
Fra : Peter Farsinsen


Dato : 14-03-08 11:33

nospamtoMike [8000 C] wrote:
> Er der nogen der ved hvad mds og mdworker betyder?

Google (og Thomas :P)... Ser ud til, at processen tilhører Spotlights
indekseringsværktøj.

--
Peter Farsinsen
fornavn@efternavn.dk

Morten Reippuert Knu~ (14-03-2008)
Kommentar
Fra : Morten Reippuert Knu~


Dato : 14-03-08 18:32

nospamtoMike [8000 C] <nospam@kern.dk> wrote:
> Er der nogen der ved hvad mds og mdworker betyder?

spotlight indexeringstejenseten.

Sikkert en tredieparts plugin der stejler.

--
Morten Reippuert Knudsen <http://blog.reippuert.dk>

Merlin Works CR-3/2.5 & Campagnolo Chorus 2007.

PeterBP (18-03-2008)
Kommentar
Fra : PeterBP


Dato : 18-03-08 03:28

nospamtoMike [8000 C] <nospam@kern.dk> wrote:

> Er der nogen der ved hvad mds og mdworker betyder?
>
> Mikael

MD = metadata

Dvs data der er bearbejdet udfra dine rådata på harddisken. Fx. stikord
fra tekstfiler.

--
regards , Peter B. P. http://macplanet.dk
Washington D.C.: District of Criminals

"I dont drink anymore... of course, i don't drink any less, either!

PeterBP (18-03-2008)
Kommentar
Fra : PeterBP


Dato : 18-03-08 03:28

nospamtoMike [8000 C] <nospam@kern.dk> wrote:

> Min Macbook 2.2 med 4GB RAM og 10.5.2 løber varm. Blæserne kører fuld skrue
> og i Activity Monitor ser jeg en process som hedder <mds> (root) som bruger
> al CPU. Sammen med en anden process der hedder mdworker (nobody).
>
> Hvad er meningen og hvad gør jeg? Fatter minus af hvad der foregår.
>
> Advarsel: denne post er meget lang. Jeg håber der er en eller anden, som
> synes det er interessant at nørde i det indre af OS X
>
>
>
> Mikael

mds er en velkendt satan. Det er MetaDataSpotlight (eller noget i den
dur) som indekserer dine harddiske.

Anfhængigt af hvor meget data du har, skal de højet køre nogle få timer.

Blievr de ved i det uendelige, dræb da mds, og slet .V100-Spotlight
mappen på alle dine diske, og start forfra. (Brug Onyx til at gøre
usynlige mapper og filer synlige igen).


--
regards , Peter B. P. http://macplanet.dk
Washington D.C.: District of Criminals

"I dont drink anymore... of course, i don't drink any less, either!

nospamtoMike [8000 C~ (18-03-2008)
Kommentar
Fra : nospamtoMike [8000 C~


Dato : 18-03-08 07:10

Tak for svar - jeg blev lidt klogere!

Mikael


Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408885
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste