Angsuman Chakraborty
August 27th, 2008
Many like to twitter using IM (Instant Messenger) because it is very simple and fast to tweet and simple to get continuous updates on your topics of interest.
In the good old days Twitter used to provide IM support. You could use any Instant Messenger supporting Jabber (XMPP protocol) to connect to Twitter buddy (twitter@twitter.com) on Gooogle GTalk server and twitter to your hearts content. For several months however Twitter has stopped supporting IM. How can we satiate our twitter crush during their downtime? There is a way.
Read more (389 words) »
Filed under Fedora 7, Fedora Core 6, Headline News, How To, Linux, Linux Migration, Open Source Software, Web, Web 2.0, Web Services | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
August 26th, 2008
Every one in my company knows about pkill, an obscure Linux command because we use Firefox (we are 100% Linux based) as the default browser. What is the relation, you ask? The answer is simple.
Read more (159 words) »
Filed under Browser, Firefox, Humor, Linux, Open Source Software, Web | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
August 13th, 2008
I mean every word of it. I found this simple configuration tip after days of continuously looking at MySQL logs (mytop), top, slow log queries, debugging the hell out of applications, reading tons of MySQL optimization tips (and pulling my remaining hairs in frustration) on the web. Even MySQL optimization tips from MySQL doesn't mention it. And yet this single tip solved all my MySQL headaches and performance problems. Here are some of the problems I faced:
My powerful dedicated server was frequently consuming 100% of the CPU even with moderate load.
Even with tons of optimization and indexes, I found my server idle CPU going to 0%. The key resource consumer was MySQL. The worst part was that MySQL refused to serve new request as all threads were exhausted waiting (for some miracle to happen?).
Does any of that sound familiar? Then read on for the gory technical explanations and the tip.
BTW: My initial reaction to such problems was the standard one. I looked at MySQL master-master replication (this is better than the master-slave replication which WordPress.com does for its sites) to take care of the increased load. Fortunately this single configuration change made my server take at least 10 times more load than before.
Read more (590 words) »
Filed under Database, Enterprise Software, Headline News, Linux, MySQL, Open Source Software, Pro Blogging, RDBMS, Web, Web 2.0, WordPress | 1 Comment | RSS 2.0 | Email this Article
Angsuman Chakraborty
August 10th, 2008
nginx [engine x] is a high quality, light footprint (much ligher than Apache HTTPD), high performance HTTP server and mail proxy server written by Igor Sysoev. nginx is distributed under BSD license unlike its competitor Lighttpd. We are progressively transferring our sites over to nginx. Today when I had to restart the server, I realized (after few hours) with horror that we had forgot to add the script to start nginx automatically after reboot. When you want any command to execute everytime after a reboot you should add it to /etc/rc.local. The commands in rc.local are executed *after* all the other init scripts. To automatically start nginx as well as fastcgi on reboot you should add the following lines to /etc/rc.local at the end -
Read more (300 words) »
Filed under Fedora 7, Fedora Core 6, Headline News, How To, Linux, Linux Migration, Open Source Software, Web, Web Hosting, nginx | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
August 8th, 2008
You can configure Nginx to stop referrer spam by checking for bad keywords like tramadol, phentermine etc. This reduces the load on your server as well as prevents filling your referrer logs with invalid entries. Here is my nginx configuration to stop referrer spam (feel free to copy it):
Read more (139 words) »
Filed under Enterprise Software, Headline News, How To, Linux, Open Source Software, Tech Note, Web, Web Hosting, Web Services, nginx | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
August 8th, 2008
Normally any website that responds to /index.php also responds to /. This has the potential to duplicate content. So how can you re-direct /index.php to / without causing infinite loop in nginx?
Here is a simple solution:
Read more (77 words) »
Filed under Headline News, How To, Linux, Open Source Software, Web, Web Hosting, nginx | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
August 4th, 2008
You may see the following error in Fedora 8 while starting / restarting the network (service network restart):
FATAL: Module off not found.
Let's see how we can fix this.
Read more (68 words) »
Filed under Fedora 7, Fedora Core 6, Headline News, How To, Linux | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
July 17th, 2008
You need to install an extension the in Mozilla Thunderbird to get new email notifications. Here is the steps in details:
Read more (167 words) »
Filed under Headline News, How To, Linux, Linux Migration, Open Source Software | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
July 12th, 2008
In Linux wine (or crossover office if you like to pay) is used to execute Windows applications. wine normally open exe files only. However you can also use it to open msi files as follows:
Read more (47 words) »
Filed under Fedora 7, Fedora Core 6, How To, Linux, Linux Migration, Microsoft, Vista, Windows | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
July 12th, 2008
Nginx is a high performance web server and mail proxy server written by Igor Sysoev and a good replacement for Apache HTTPD, the market leader. Nginx is rapidly increasing its market share with major websites joining it like wordpress.com. In the June 2008 Netcraft survey LiteSpeed lost more than 600 thousand sites during this survey, while nginx gained more than a million sites; more than doubling in numbers. The WordPress blogging system recently converted all of its load balancers to nginx, using the upstream hash module to serve 8-9 thousand requests per second. We too have decided to move some of our websites to Nginx. Here are few essential tips and general guidelines for configuring Nginx. This is not a substitute for reading the documentation (rtfm). However when you are stuck even after reading and re-reading the nginx documentation then read below. You will understand the value of the tips below only then
Read more (1037 words) »
Filed under Enterprise Software, Headline News, How To, Linux, Open Source Software, Pro Blogging, Tech Note, Web, Web 2.0, Web Hosting, Web Services, WordPress, nginx | Feedback | RSS 2.0 | Email this Article
|
|