Looking inside the Apple MacBook Air

Ever wondered what Apple’s MacBook Air looks like on the inside? TechRepublic took theirs apart and made a small pictorial of the process. See the pictures.

Without an optical drive Apple managed to bring the overall size down and through the use of hidden connectors for usb and vga they managed keep the lines smooth all around.

The MacBook Air is a beauty but somehow the inside does not impress me. Maybe it’s seem a bit too simple or maybe it’s just me. I don’t know 🙂

Source: TechRepublic

How to set default session timeout in Linux

My DC operation guys access Linux servers on a daily basis but somehow they never remember to log out. This is a security risk as anyone could gain access to the open console and create caos.

Today, yet again I’m forced to play the bad guy by dummy proofing my Linux servers by implementing default timeout for user sessions.

Bash and Korn both support the TMOUT variable which I will use to set the default timeout.

The etc/.bashrc file will apply the timeout system wide but if you need it to be user specific then modify the ~/.bashrc file instead.

Here’s how it’s done.

Log off, start a new session and wait for 5 minutes. Your session should terminate

Deluge BitTorrent Client released

A new verison of Deluge is out. Version

Changes made to this version shown below,

  • Fix force recheck
  • auto scraping of tracker if it doesn’t report number of peers on reply
  • fix web seed proxy preference
  • Fix adding of duplicate torrents
  • Fix timers for saving fastresume and uploaded memory
  • Fix rechecking on start
  • PnP fixes
  • Fix possible libtorrent crash in storage

Grab your copy here.

Source: Deluge

Happy birthday Nuffnang

Happy 1st birthday Nuffnang.

The name Nuffnang is no more a stranger amongst bloggers across Asia. From a humble beginng Nuffnang has grown considerably in past year. Almost every blogger I know is on Nuffnang now or has heard about it. The recent TV coverage really helped.

Today, Nuffnang is a year old and to show it’s appreciation Nuffnang has put together the “Nuffnang Pajama Party” which is scheduled for the 15th March 2008. Initialiy it was scheduled for the 8th but that date later conflicted with our general elections thus the move.

Read about the Pajama Party.

Source: Nuffnang Blog

How to increase file descriptors max limit on Linux

Today my DBA reported that the server she was working on was spitting out “too many open files” errors and no new processes could be started.

This is a common problem with DB servers with heavy transactions. In my environment there are 6 DB instances running on the server. No quite the optimized setup I would say.

The fix was to increase the total file descriptors kernel parameter count in the /etc/sysctl.conf file. I doubled my limit from 8192 to 16384.

The walk through,

1. Find out what the current open file descriptor limit is.


2. View how many open file descriptors are currently being used.

3. View how many files are open. The number returned might defer as 1 file descriptor can have multiple open files attached to it.

4. Edit the kernel paramneter file /etc/sysctl.conf and add line “fs.file-max=[new value]” to it.

5. Apply the changes.

Problem fixed.

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak