Understanding ctime

ctimes have got to be one of the most widely misunderstood features of POSIX filesystems. It’s very intuitive –and very wrong –to believe that just as mtime is the time the file was last modified and atime is the time the file was last accessed,ctime must be the time the file was [...]

SouthEast Linux Fest (SELF) 2012

I had a great time at SELF in Charlotte,NC this weekend. One of the highlights,for me,was for the first time meeting some fellow BSD types in the flesh –Kris Moore (founder of the PC-BSD distribution) and Dru Lavigne (Director of the FreeBSD Foundation),no less. While discussing the pain of doing [...]

Storing PHP sessions in memcached instead of in files

in php.ini:

session.save_handler = memcache session.save_path = “tcp://serv01:11211,tcp://serv02:11211,tcp://serv03:11211″

Obviously,you need php5-memcache installed,replace “serv1″“serv2″and “serv3″with valid server address(es),and you’ll need to restart your Apache server after making the change.

Why would you need to do this? Well,this week I had to deal with a web application server pool [...]