![]() |
Best spy/malware and performance util for 10.5.x/Intel?
Greetings,
I have a Macbook Pro running 10.5.1. My Macbook is nowhere near as fast as it used to be. I am thinking that it has spy/malware, perhaps a virus. Can anyone recommend a good system utility for OSX that takes care of spy/malware and viruses? I have a strong Unix and Linux background and I have tried analyzing the Macbook's sluggish performance by looking at process trees. I have run the fix permissions process on the disk drive as well. It seems like much of the sluggishness is due to disk I/O. When opening any program I watch the bouncing program icon for as much as two minutes while waiting for a browser window or application (iPhoto, Pages, etc) to start. I know in the Winbloze environment there are super-utilities that optimize the disk volumes, cleanup and optimize the registries and streamline the OS environment to maximize system performance. Does such a thing exist for OSX? If so, can anyone suggest such a utility? Thanks! |
You may have a problem with your disk or with the filesystem on it.
Do "Verify Disk" in Disk Utility - does it indicate any problems? |
Quote:
But explicitly updating your prebinding should not be necessary any more in OS X. Did you interrupt your OS X Install in some way? Especially during the "optimizing" portion of the install? For what it's worth, a command to force update your prebinding is: sudo update_prebinding -root / -force Trevor |
I did not interupt the install process. As I stated in my OP the performance was great and it deteriorated over time. So, it was working well at one time.
I bit the bullet and bought iDefrag and am running it on the system volume now in "online" mode which is not as good as booting it from the bootable CD image so it can do low-level defrag operations. I had run the verify process on the system volume. I also installed the free-ware app "Onyx" so run a smart lookup on the disk and a verify and it was all okay. Hopefully it is just a heavily fragged partition. |
Quote:
Have you checked Console to see if any messages give an indication of what is slowing you down? Have you looked at Activity Monitor? |
I would not advise the use of iDefrag. At all. If you must use it, make sure that you have a reliable up-to-date backup before using it, every time you use it.
I also agree with benwiggy that a fragmented hard drive is an extremely unlikely explanation for a two-minute wait to launch applications. That sounds like a systemic problem of some kind. Did you try the update_prebinding command I mentioned above? Trevor |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
You're going to have to be way more explicit before anyone can give good advice. Quote:
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
If there is no cenrtalized system database or index necessary for system operation in OSX then bully for me (us). I simply asked in general terms in case there was such a thing that needed to be checked or repaired. Quote:
Quote:
|
Quote:
One odd example of slowness. I open Finder and select Applications. I click the side scrollbar to move down the listing and I get the rainbow wheel while populates the window with date/time stamps, sizes and details. This is an example of how widespread and systemic the slowness is. Starting applications, scrolling in Finder windows, operation dialog boxes opening and becoming responsive (print, pdf, etc). |
Quote:
Quote:
Of course, one option is to do an "Archive and Install", which will preserve your users, third party installed apps, and settings, but will give you a shiny new OS install (preserving your previous system in an archive). Trevor |
Quote:
Quote:
|
Is VMWare running when you experience your computer running slowly?
|
@Mikey-San & jeffwsi
Before this turns into a argument (it somewhat already is), Repairing permissions does nothing (if anything at all): http://www.macworld.com/article/5222...rmissions.html http://www.unsanity.org/archives/000410.php But it doesn't really hurt to do it anyway. You could try booting from the System Restore disk, and run "Repair Disk" which does a very different set of repairs to the filesystem, not the permissions of a few files. Fonts rarely cause problems, unless you specifically work with them alot. As for a central DB the system uses, the closest thing might be the filesystem journal, or maybe even the Spotlight DB, but I don't think these are absolutely necessary for the Mac to function. Spotlight can be turned off, and journaling is an optional feature of the filesystem. If something was wrong with the filesystem's journal, the Repair Disk command should be able to detect and fix it. Is there anything in the logs that might explain why your Mac is running slow? You can use the Console.app to easily browse through the various logs, or view them in /Library/Logs, ~/Library/Logs, and /var/log. The system.log might have something interesting. |
Do you have any network drives mounted? Or do you have any user accounts whose credentials are on a networked server?
Or in more general terms, does any part of your config depend on being connected to a network? Even if you don't think you have any network dependencies, I'd strongly recommend physically disconnecting from all networks (including turning off Airport) and then reboot and then see if the problem is there. Do similar troubleshooting steps in other directions - e.g. the standard one of logging in as a different user to see if the problem is there. |
Quote:
The assumption I was referring to wasn't that you said your computer felt slow--obviously, it's not performing as well as you are used to. You're talking about viruses and malware, and that's the big leap I was talking about. There's nothing wrong with then asking how you've gotten to that idea. How else are we supposed to help if we don't know what's really going on? Quote:
Quote:
Quote:
Here's a great article: http://unsanity.org/archives/000410.php Quote:
Quote:
So. A beachball simply means that the GUI is being blocked by some operation. Could indeed be a disk read or write operation (usually the case). But so far, I still don't hear any evidence that points to a virus. What third-party software do you have installed? Quote:
Quote:
For what it's worth, it's definitely in the Darwin kernel sources. I think the specific implementation is different from its original inception in Panther, but these days it's handled by the hfs_relocate() function, which gets called by hfs_vnop_open() when opening a file if the following conditions are met: - System has been up for 3 minutes - File has not been modified in the last 60 seconds - File is at least 20 MB - File has 8 or more extents Under these conditions, the file gets relocated to contiguous space, if available on the disk. Quote:
Quote:
Quote:
|
Quote:
The slowness will appear during the accoount login/desktop initialization phase, before userspace apps are started. |
Quote:
I experience this slowness with networking disabled, on battery or plugged to AC, at home or work or even in the middle of the desert many miles away from anything. :D |
The most common cause of slowdowns among my clients is too many icons on the desktop. If you have a lot of icons on your desktop, move them elsewhere. You'll be surprised at the speed improvements.
|
Most common causes of system performance going down is the following
Software configuration No more free HD space (for virtual memory) Filesystem issues (fsck or diskwarrior can fix) Hardware failure (bad ram or a HD on its way out) OS corruption (it happens, even in OS X) There are other factors that can happen too, but a lot of those can be environment specific so I won't bother listing them. However, what I listed above are the most common problems I see every day with OS X and Macs, and I admin 6,000 Macs to give you an idea of where I am getting this from. First place I would look is in the system.log and see if any errors are happening. If you are getting like an I/O error, then your HD is having issues reading/writing data and that could be software (corrupted file system) or hardware (the drive is starting to fail). That was an example. |
Quote:
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
May 27 13:41:13 macbook-pro-15 SecurityAgent [679]: NSExceptionHandler has recorded the following exception: NSRangeException -- *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0) Stack Trace: 0x3719a 0x93c7a0fb 0x90ab202b <snip> (29 more hex string values) |
booting into single user mode you can run fsck, by holding down cmd + S right at power on will boot you into SUM. Run fsck from there and see if it gets any errors in doing so.
|
Nah, 16 isn't a lot of icons. Usually, I see people with 50+ and then things get slow. (I think this bug was fixed in Leopard. Anyone know?)
Quote:
The error you see in the console log after login may be accompanied by a crash. Is there a crash log for Security Agent listed in Console.app? What login items do you have listed in System Preferences > Accounts? What third-party software do you have installed? Does this slowdown happen with a new, fresh user account? |
Quote:
Quote:
Then you can type in something like Code:
/sbin/fsck -fyhttp://support.apple.com/kb/TS1417 Quote:
Quote:
Quote:
http://www.google.com/search?q=Secur...wing+exception Doesn't seem to be causing |
Quote:
Quote:
|
The first thing I would do in trying to diagnose a beachball (http://en.wikipedia.org/wiki/Spinning_wait_cursor) problem is to look at the system.log and console.log where messages are usually time-stamped. Any messages at the time of the problem?
Next try the following: - log in as a different (preferrably freshly-created) user. Does the problem exist there? - startup in Safe Mode by holding down the Shift key after you hear the startup chime. Does the problem exist there? If the above doesn't give any clues as to the nature of the problem, you could bring in the big guns - the Apple Developer tools ("Xcode Tools", which are on one of the DVDs that came with your Mac) includes "Instruments" which is a set of performance monitoring tools. Using those tools should show you what is happening. |
Quote:
Edit: In this specific case, it looks like the array was empty, and the app tried to query it for an object. Oops. Quote:
|
Quote:
|
jeffwsi, you've now had four requests to create a brand new user and tell us if the slowdowns continue there (five if you include this post). Could you please check that out and let us know?
Also, you mention an error message on startup, and that error message is nothing to worry about. I'm curious, though, do you have an error message in your logs when you try to launch an application and it takes two minutes? Quote:
Trevor |
Quote:
If someone is dedicated enough to troubleshoot the problem to the point of figuring out what the cause was, there is the possibility that they might learn that the problem stemmed from something that they did (e.g. installing haxie XYZ, or removing file PDQ) and therefore they will know enough to avoid doing the same thing in the future. |
Quote:
Trevor |
Typo alert:
My defragmentation post is too old for me to edit, but I just re-read it and realized I meant to type LESS THAN 20 MB. Not more. Sorry if this caused any confusion for anyone. Sorry for the thread bump, too. |
Since your initial post was regarding spyware, MacScan will get rid of tracking cookies (I run MacScan every few days and find at least a dozen of them in that amount of time). It's supposed to find most spyware, including Trojan Horses, keyloggers, etc. Over the few months I've used it, it only showed tracking cookies in the display of what it found.
As far as speed overall, My Imac seemed to benefit most from disabling most fonts. Read this article: http://katzwebdesign.wordpress.com/2...worked-for-me/ I have also eliminated unneeded languages using Monolingual and reduced the size of programs using Xslimmer, both of which may have helped speed. Try any or all and see if they help. |
Quote:
Quote:
|
if you think your problems are disk related, then i suggest you boot from the leopard install dvd and run the disk repair facility. after that you can also try booting in safe mode because i think that does some sort of repair/defrag automatically as well.
-marc |
Funny that this thread just died on the vine without a resolution...
Looking for the sequel. Anyone know what the resolution was to this? Thanks |
| All times are GMT -5. The time now is 12:44 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.