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 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 [...]
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 [...]
My name is Theodore Nguyen-Cao. I'm a software engineer and I blog my thoughts on technology and life.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Dec | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |