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 [...]

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 [...]

Ubuntu upgrade broke Wordpress

Something with my past two Ubuntu upgrades broke all the internal links on my blog running on Wordpress.
It turns out the upgrade process changed the name of the target link on the .htaccess symbolic link file under my Wordpress install directory.
After the install this is what was linked:
.htaccess -> /etc/wordpress/htaccess
Notice the missing “.” in .htaccess.
To [...]

 

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