Huston, we have a problem…
$ cd tmp/sessions/
$ rm *
-bash: /bin/rm: Argument list too long
mc and deleting by hand helped. There were 22507 session files taking up about 1.7MB of space. I suppose it’s time to look at other session storing methods.
To be honest, I’ve been a Rails programmer/enthusiast for quite a while now (something along 1.5 years; I think I’ve first downloaded it in July, 2005) but it’s only now that I can show you my first public project using this awesome framework. So without further ado, here it is, the Kania Lodge:
The Rails part on this website is the custom CMS that is backing it all up (based on RedCloth). Most of the hard work was with the design, though (Photoshop, etc.). I know it is a hardly original design as I’m not a full-time designer, yet I’ve done my best for it to look good. I’ve aimed for simplicity, cleanliness and good overall feel/aesthetics. Did I miss or am I right on the spot? :)
The team that creates the WordPress Podcasts decided that my WP Movie Ratings plugin is good enough to be featured in the newest episode, the 17th. I feel so honored I’m almost blushing. Go, listen to it. Now. There’s also a local copy you can download. The part about my plugin starts at 23:11.
Now as for my surname, I was aware it’s hard to pronounce it right but the way he read it… man, you’ve made my day! :)
Continuing from Top 25 music of 2006 and doing exactly the same for movies. Just like before. Here are the pictures that moved me deeply in 2006. They’ve shattered my mind, they’ve crushed my heart, they’ve made me laugh and they’ve made me cry my eyes out. They are all more than highly recommended.
- Bezmiar sprawiedliwosci (2006)
- Renaissance (2006)
- Plac Zbawiciela (2006)
- Syriana (2005)
- V for Vendetta (2005)
- Leben der Anderen, Das (2006)
- Kiss Kiss Bang Bang (2005)
- Brick (2005)
- Inside Man (2006)
- United 93 (2006)
While I do highly enjoy watching foreign movies (see the TOP 3 aka the cream), my top 10 list consist of 6 USA-made productions. It’s just something that makes Hollywood movies so damn good. Is it money? Maybe the craftsmanship? Who knows. Point is they make them like no one other. And they are usually the best. Period. Although you are free to disagree :-)
Just like last year – here are my favourite tunes of 2006!
- Largo – Tango Passion
- Randy Crawford – When I Get Over You
- Métisse – Boom Boom Ba
- Sharam – Patt (Party All The Time)
- Nelly Furtado – Say It Right
- The Jet Set – Just Call Me
- Ferry Corsten – Holding On
- Morandi – Love Me
- Bob Sinclair – World, Hold On
- Andru Donalds & Eugenia Vlasova – Wind Of Hope
- Therapy – Diane
- Pussycat Dolls ft. Snoop Dogg – Buttons
- Mory Kante – Yeke Yeke
- Kasia Cerekwicka – Na Kolana
- Arash ft. Aneela – Bombay Dreams
- Pati Yang – Reverse The Day.
- K-Maro – Les Frcres Existent Encore
- U2 & Green Day – The Saints Are Coming
- Chicane ft. Tom Jones – Stoned In Love
- Ivan i Delfin – Jej Czarne Oczy
- Ласковый Май – Белые Розы (Biełyje Rozy)
- Akcent – Kylie
- Malu – Fotonovela
- Shamur – Gonna Make it
- Long & Junior feat. DJ Wiesłaff – Bo Ja Tańczyc Chcę (Style Mix 2004)
It should be no surprise that half of those tunes come straight from my dance class.
So you have a LAN with 50+ users and you set up a nice Squid w3cache as a transparent proxy with 100GB of space reserved for the cache (hdds are so cheap nowadays…). Weeks pass and suddenly you notice that something is messing up your web experience as Firefox suddenly decides to run painfully slow. About 30 minutes wasted on finding the culprit (like changing your DNS servers, clearing browser cache, etc.) until you decide to check the router and then the Squid with its logs. And then you find something fishy:
2007/01/01 17:51:19| WARNING! Your cache is running out of filedescriptors
2007/01/01 17:51:35| WARNING! Your cache is running out of filedescriptors
2007/01/01 17:51:51| WARNING! Your cache is running out of filedescriptors
I won’t be explaining why this happens. Others have done it before. What I’m going to do is present you with a solution that does not require a complete Squid recompilation/reinstallation procedure.
# add this just after the comments (before any script code)
ulimit -HSn 4096
And now watch the
/var/log/squid/cache.log for a similar line:
2007/01/01 18:32:27 With 4096 file descriptors available
If it still says
1024 file descriptors available (or similarly low value) you are out of luck (or you’ve just messed something up).