Hi,
The title of this thread is actually pretty descriptive of what is happening. I'm not going back to Windows (I don't think) but for the last few days my Mac has been behaving like a Windows machine. Every 3 or 4 hours I have to reboot my computer because it starts going slower and slower until I cannot work anymore. Everything slows down to a crawl. I cannot switch windows. There is a huge lag between the time I type a character and the character appears on screen. If you have worked with Windows, you know that this was a fairly frequent affair and you were used to have to reboot your machine every once in a while. I thought those days were over :-(
Can anybody help me figure out what is going on? I would be very thankful.
OK, if I'm asking for your help, there is some information that I'm going to have to provide. Here it is:
Model Name: iMac
Model Identifier: iMac11,1
Processor Name: Intel Core i7
Processor Speed: 2,8 GHz
Number Of Processors: 1
Total Number Of Cores: 4
L2 Cache (per core): 256 KB
L3 Cache: 8 MB
Memory: 8 GB
Processor Interconnect Speed: 4.8 GT/s
Boot ROM Version: IM111.0034.B02
Running OSX 10.6.8 (Snow Leopard)
As you can see, I have plenty of processing power and memory. I have taken a screenshot of the activity monitor screen at the time the slowdown started. I'm including it here
.
As you can see, there is plenty of RAM available. I have a utility that monitors memory and I was able to see that during the whole session I always had at least 4GB of free memory. Yet, as you can also see, page outs are high (at least that what I think given what I normally see, or saw) and swap memory has been used.
The real culprit seems to be the process called 'WindowServer'. When the slowdown happens, this process consumes almost 100% of the cpu power and it stays there until I reboot.
I have checked the log files (system.log and windowserver.log) and I can see a lot of error messages that I don't understand. I include a selection below. I have deleted huge portions because the seem to be repetitions of the same error. What puzzles me particularly is the message "Preposterous datagram length xxxxx".
I also include links to the files just in case someone needs to see more information to figure out what is going on. You can find them here:
https://dl.dropbox.com/u/447406/system.log
https://dl.dropbox.com/u/447406/windowserver.log
What I find even more surprising is that once it starts going slow there is nothing I can do to recover normalcy. I've tried a utility that frees up memory but it doesn't seem to do anything. I have even shutdown all applications but the computer is still painfully slow with no application activated (well, probably the Finder is always on as is revealed by the error messages).
As I said, I would be really thankful for any help anybody can provide to solve this problem.
Josep M.
Selection of error messages:
system.log
Jul 22 13:11:30 hal2 [0x0-0x98098].com.apple.systemevents[1710]: com.apple.FolderActions.enabled: Already loaded
Jul 22 13:12:08 hal2 thunderbird[673]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 13:12:08 hal2 thunderbird[673]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 22 13:12:08 hal2 [0x0-0x2e02e].org.mozilla.thunderbird[673]: Sun Jul 22 13:12:08 hal2.local thunderbird[673] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 13:12:08 hal2 thunderbird[673]: kCGErrorIllegalArgument: CGSGetPortStreamData
[...]
Jul 22 13:12:08 hal2 [0x0-0x2e02e].org.mozilla.thunderbird[673]: Sun Jul 22 13:12:08 hal2.local thunderbird[673] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 13:12:09 hal2 thunderbird[673]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 50331648
[...]
Jul 22 13:12:09 hal2 [0x0-0x2e02e].org.mozilla.thunderbird[673]: Sun Jul 22 13:12:09 hal2.local thunderbird[673] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 13:12:15 hal2 thunderbird[673]: kCGErrorRangeCheck: CGSDispatchDatagramsFromStream : Preposterous datagram length 926941440
[...]
Jul 22 14:25:09 hal2 Finder[243]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 14:25:09 hal2 Finder[243]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 22 14:25:09 hal2 Finder[243]: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:25:09 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:09 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 14:25:09 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:09 hal2.local Finder[243] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
[...]
Jul 22 14:25:12 hal2 Finder[243]: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:25:12 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:12 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 50331648
Jul 22 14:25:12 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:12 hal2.local Finder[243] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:25:12 hal2 Finder[243]: kCGErrorRangeCheck: CGSDispatchDatagramsFromStream : Preposterous datagram length 926941440
[...]
Jul 22 14:46:32 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:32 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type -2046492672
Jul 22 14:46:32 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:32 hal2.local Finder[243] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:46:33 hal2 Finder[243]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type -1610285056
Jul 22 14:46:33 hal2 Finder[243]: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:46:33 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:33 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type -1610285056
Jul 22 14:46:33 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:33 hal2.local Finder[243] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
windowserver.log
Jul 22 14:23:56 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Jul 22 14:25:13 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Jul 22 14:25:38 [190] kCGErrorIllegalArgument: CGXMoveWindowListToWorkspace: invalid window id: 3f4
Jul 22 14:26:17 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Jul 22 14:27:36 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
The title of this thread is actually pretty descriptive of what is happening. I'm not going back to Windows (I don't think) but for the last few days my Mac has been behaving like a Windows machine. Every 3 or 4 hours I have to reboot my computer because it starts going slower and slower until I cannot work anymore. Everything slows down to a crawl. I cannot switch windows. There is a huge lag between the time I type a character and the character appears on screen. If you have worked with Windows, you know that this was a fairly frequent affair and you were used to have to reboot your machine every once in a while. I thought those days were over :-(
Can anybody help me figure out what is going on? I would be very thankful.
OK, if I'm asking for your help, there is some information that I'm going to have to provide. Here it is:
Model Name: iMac
Model Identifier: iMac11,1
Processor Name: Intel Core i7
Processor Speed: 2,8 GHz
Number Of Processors: 1
Total Number Of Cores: 4
L2 Cache (per core): 256 KB
L3 Cache: 8 MB
Memory: 8 GB
Processor Interconnect Speed: 4.8 GT/s
Boot ROM Version: IM111.0034.B02
Running OSX 10.6.8 (Snow Leopard)
As you can see, I have plenty of processing power and memory. I have taken a screenshot of the activity monitor screen at the time the slowdown started. I'm including it here
As you can see, there is plenty of RAM available. I have a utility that monitors memory and I was able to see that during the whole session I always had at least 4GB of free memory. Yet, as you can also see, page outs are high (at least that what I think given what I normally see, or saw) and swap memory has been used.
The real culprit seems to be the process called 'WindowServer'. When the slowdown happens, this process consumes almost 100% of the cpu power and it stays there until I reboot.
I have checked the log files (system.log and windowserver.log) and I can see a lot of error messages that I don't understand. I include a selection below. I have deleted huge portions because the seem to be repetitions of the same error. What puzzles me particularly is the message "Preposterous datagram length xxxxx".
I also include links to the files just in case someone needs to see more information to figure out what is going on. You can find them here:
https://dl.dropbox.com/u/447406/system.log
https://dl.dropbox.com/u/447406/windowserver.log
What I find even more surprising is that once it starts going slow there is nothing I can do to recover normalcy. I've tried a utility that frees up memory but it doesn't seem to do anything. I have even shutdown all applications but the computer is still painfully slow with no application activated (well, probably the Finder is always on as is revealed by the error messages).
As I said, I would be really thankful for any help anybody can provide to solve this problem.
Josep M.
Selection of error messages:
system.log
Jul 22 13:11:30 hal2 [0x0-0x98098].com.apple.systemevents[1710]: com.apple.FolderActions.enabled: Already loaded
Jul 22 13:12:08 hal2 thunderbird[673]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 13:12:08 hal2 thunderbird[673]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 22 13:12:08 hal2 [0x0-0x2e02e].org.mozilla.thunderbird[673]: Sun Jul 22 13:12:08 hal2.local thunderbird[673] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 13:12:08 hal2 thunderbird[673]: kCGErrorIllegalArgument: CGSGetPortStreamData
[...]
Jul 22 13:12:08 hal2 [0x0-0x2e02e].org.mozilla.thunderbird[673]: Sun Jul 22 13:12:08 hal2.local thunderbird[673] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 13:12:09 hal2 thunderbird[673]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 50331648
[...]
Jul 22 13:12:09 hal2 [0x0-0x2e02e].org.mozilla.thunderbird[673]: Sun Jul 22 13:12:09 hal2.local thunderbird[673] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 13:12:15 hal2 thunderbird[673]: kCGErrorRangeCheck: CGSDispatchDatagramsFromStream : Preposterous datagram length 926941440
[...]
Jul 22 14:25:09 hal2 Finder[243]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 14:25:09 hal2 Finder[243]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 22 14:25:09 hal2 Finder[243]: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:25:09 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:09 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 6
Jul 22 14:25:09 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:09 hal2.local Finder[243] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
[...]
Jul 22 14:25:12 hal2 Finder[243]: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:25:12 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:12 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 50331648
Jul 22 14:25:12 hal2 com.apple.Finder[243]: Sun Jul 22 14:25:12 hal2.local Finder[243] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:25:12 hal2 Finder[243]: kCGErrorRangeCheck: CGSDispatchDatagramsFromStream : Preposterous datagram length 926941440
[...]
Jul 22 14:46:32 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:32 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type -2046492672
Jul 22 14:46:32 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:32 hal2.local Finder[243] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:46:33 hal2 Finder[243]: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type -1610285056
Jul 22 14:46:33 hal2 Finder[243]: kCGErrorIllegalArgument: CGSGetPortStreamData
Jul 22 14:46:33 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:33 hal2.local Finder[243] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type -1610285056
Jul 22 14:46:33 hal2 com.apple.Finder[243]: Sun Jul 22 14:46:33 hal2.local Finder[243] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData
windowserver.log
Jul 22 14:23:56 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Jul 22 14:25:13 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Jul 22 14:25:38 [190] kCGErrorIllegalArgument: CGXMoveWindowListToWorkspace: invalid window id: 3f4
Jul 22 14:26:17 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Jul 22 14:27:36 [190] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1 second. Server has re-enabled them.
Last edited by a moderator:
