Mac OS X

Moving Swap on OS X 10.5 Leopard

By default, OS X 10.5 stores its swapfiles in /private/var/vm:

$ ls -lh /private/var/vm
total 131072
-rw------T  1 root  wheel    64M May 28 10:32 swapfile0

Recently I've been having some fun with a Mac Pro that has 32GB (sic) of RAM. The machine is being used for some bioinformatics work which involves huge chunks of memory. Naturally we ran out of memory and started swapping, but we wanted to swap faster.


OS X: To Protect and Serve

Over the weekend an importer force attacked my Mac. Fortunately, even though the box was unattended at the time, Mac OS X retaliated, eliminating all traces of this hostile force.

I couldn't find much on the web about the "Importer force killed!" message other than Simone Manganelli's helpful tweet.


ImageMagick, MacPorts and MAMP

After installing ImageMagick from MacPorts, I ran into the following error in my MAMP Apache error log when trying to run PHP code that resized images:

Symbol not found: __cg_jpeg_resync_to_restart

To solve this, edit /Applications/MAMP/Library/bin/envvars to read:

export DYLD_FALLBACK_LIBRARY_PATH=/Applications/MAMP/Library/lib

Cannot install OS X Server Admin software on Leopard

I'd like to install Apple's Server Administration Tools for OS X 10.4 Tiger Server. But I'm running Leopard. The installer stops with the following helpful message: "You are not allowed to install the software on this disk for an unknown reason."

Apparently if you just copy the apps from a computer running Tiger to one running Leopard, it works fine.



Subscribe to RSS - Mac OS X