Jump to content
5 posts in this topic

Recommended Posts

Does anyone know how to turn this off? After an half hour or so, i assume this auto-defrag thing starts up and my cpu-fan gets louder.

It's really annoying, there is no reason to do this daily, I would rather do it manully.

 

Already tried google, manpages, /etc/periodic, no luck...

There is no defrag process running on OS X, I can assure you of that. Sounds like some kind of cron job or launchd managed process running... or Time Machine if you have that setup. It could be the daily maintenance script running, but that should take very little time. Did you install any software that runs background processes during idle time?

Thanks for answering. I just assumed it was this auto-defrag thing, since its "special" in osx.

I got Time Machine off. There are no non-leopard bg-processes and I checked the cronjobs already, even removed the locate.cron since I rather to do that manually than weekly.

 

I will try to find out with dtrace/dtruss, not sure if it helps, I'm more into strace. Can't do it interactive either, since the job cancels when I move my mouse.

 

Will post when I have time to find out...

Thanks for answering. I just assumed it was this auto-defrag thing, since its "special" in osx.

I got Time Machine off. There are no non-leopard bg-processes and I checked the cronjobs already, even removed the locate.cron since I rather to do that manually than weekly.

 

I will try to find out with dtrace/dtruss, not sure if it helps, I'm more into strace. Can't do it interactive either, since the job cancels when I move my mouse.

 

Will post when I have time to find out...

 

Oh, you actually know what you are talking about. :P I thought it was just another kiddie with a defrag question.

 

iirc, auto-defrag only runs on file access. When a small file is opened and it is found to be fragmented it is moved to clean up the fragments.

 

It also could be the AHFC doing its thing, but I don't remember what the tracking cycle on that is.

Hehe, yeah, I'm not a newbie to Linux/UNIX, but pretty new to OSX, which is pretty different with all it's layers.

 

So, I fixed it, but I am not smarter than before...

The problem was loginwindow/ScreenSaverEngine.app, I don't really know wtf they were doing, but they were doing it often.

Well I simply deleted /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app and it was gone. The screensaver still works though, strange enough. And it had nothing to do with a screensaver, the screensaver is set to off and it wasn't running when the cpu got hot.

 

To get an idea:

debug chris$ wc -l createbyproc.out.2 createbyproc.out.4 opensnoop.out.2 opensnoop.out.4

59355 createbyproc.out.2

4517 createbyproc.out.4

85685 opensnoop.out.2

5926 opensnoop.out.4

2 = before, 4 afterwards

Here's the full output, of course omitted: http://pastebin.com/m56d28bd8

 

I'm using kalyway 10.5.1 updated to 10.5.2 with the combo. For anyone else with this problem, try it the same way and make a backup.

 

cpu fan quiet, user happy :P

×
×
  • Create New...