5-10 second delay when launching Terminal.app in OSX

A couple of days ago my Terminal.app (console) got a really annoying feature. When launching the console or when I created a new tab it got stuck for about 5-10 seconds before I got my prompt.

If you are like me and are spending most of your time in Terminal.app you understand how annoying this is/was.

I tried to rename .profile, .inputrc and evey other startup script I had in my home folder but the problem did not go away.

Then I found an OSX user which had his Terminal crash when started. He solved his problem by cleaning up some OSX systemlogs. So I thought I try the same trick.

The logfiles which he removed where the asl files under /private/var/log/asl/

I read about them here: http://macosx.com/tech-support/can-i-deleteasl-log/24223.html

But I figured I’d just remove them all :)

[cc lang=bash]
sudo rm -rf /private/var/log/asl/*
[/cc]

When all asl files where removed my Terminal went back to normal again and I am sooooooo relieved.

This worked for me BUT I do not recommend you to remove anything if you do not know what you are doing!!!

Cheers!

Posted in Operatingsystem, Utilities at September 11th, 2009. Trackback URI: trackback Tags: , , , , Written by: Mathias Stjernström

4 Responses to “5-10 second delay when launching Terminal.app in OSX”

I just wanted to add that this worked for me as well; I had maybe a 5s tops delay, and after this it has dropped to below a second; still not as fast as on my Macbook Pro, but good enough.

Thanks Mathias!

Brian BibeaultNo Gravatar on February 3rd, 2010 at 6:00 pm

Thanks for sharing Brian!

/mathias

Mathias StjernströmNo Gravatar on February 4th, 2010 at 12:44 pm

I just want to put out that this actually fixed a few of the delay problems I was having throughout the system.

DougNo Gravatar on July 12th, 2010 at 4:49 pm

Thanks Doug!

/mathias

Mathias StjernströmNo Gravatar on July 12th, 2010 at 7:24 pm

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

pastbedti.me is using WP-Gravatar