A Noted Path

Personal blog of Theodore Nguyen-Cao

Options:

Following up on my previous post , I’ve been experience slow load times (10-15 secs) on the initial request after application restarts. This has to do with the way mod_rails manages application instances (Although, I experienced this when using mongrel_cluster and proxy balancers). It will spin up instances on page request and each [...]

I had heard of mod_rails awhile back but never had the time to take a closer look at it.  While setting up a new rails app, I was getting frustrated with all of the configuration I needed to do to get the mongrel clusters and proxy balancers setup.  So I decided to give passenger a [...]

Where is my sequel sock?

I was looking for where mysql.sock was since running rake db:bootstrap was complaining with “No such file or directory - /tmp/mysql.sock”. Rails looks for the mysql.sock file under /tmp/mysql.sock by default.  Ubuntu using an apt-get install of mysql puts the mysql.sock file at /var/run/mysqld/mysqld.sock.
I always forget where it is. So, I’m writing it down.
/var/run/mysqld/mysqld.sock
You [...]

 

January 2009
M T W T F S S
« Dec    
 1234
567891011
12131415161718
19202122232425
262728293031