GnuSys Tech Feeds

September 29, 2008

Kenney Jacob

IEEE Projects and Poor Engineering Students

Today my cousin who is a final year engineering student in a well reputed college in central Kerala came upto me and asked whether I had an IEEE membership. Instantly I understood her need cos i have been hearing the same question from many, she needed a project for her final semester and her teachers would allow only .

Now whats with this IEEE criteria ? There are many engineering colleges in Kerala who set this stupid IEEE criteria. Now how many of those staff members can actually guide the student through an IEEE project ? How many of them even understand the synopsis of an IEEE project ? Ive been wrestling with computers for over 12 years now and most of those IEEE stuff is still Greek to me.

I suggested her that she do a Voip implementation using the open source telephony framework asterisk. Its something that I can help her with, and also its some skill thats in huge demand. But she said, another Voip project got rejected and this wont be approved. How crappy… a project getting rejected just because it has a familiar word “Voip”. The situation is no different with academic seminar.

Let us be very practical here. Will the 4 year good for nothing syllabus make the student capable of doing an IEEE project. All these students are going to join some project institution and buy a project. Whats the point in forcing them to do the so called IEEE project.

In my opinion we should let them do something that can do on their own within the limited time period. Even if its a simple project, doing on your own is far far better than going to an institute and getting a ready made “IEEE” project.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags: , ,

Related posts

by Kenney Jacob at September 29, 2008 05:04 PM

Howto Forge

Apple’s Darwin Streaming Server On Centos 5.2

Apple’s Darwin Streaming Server On Centos 5.2

This tutorial will run you through the installation, configuration and preparation of media for Apple’s Darwin QuickTime Streaming Server on Centos/RHEL 5.2. Darwin QuickTime Streaming Server is capable of serving H.264 and mpeg4 file formats via the RTP/RTSP streaming protocols.

September 29, 2008 04:28 PM

Exchange Server Recovery - Recover Mailboxes In Case Of A Server Crash

How To Recover Mailboxes In Case Of A Server Crash With Stellar Phoenix Mailbox Exchange Recovery

Many times during support calls the client is unable to restore from their Exchange Server backup. This is the EDB file which maintains all the mailboxes held by Exchange Server and for the administrator; this is the weirdest instance of observing this database as corrupt. All the mailboxes become inaccessible due to even a mere instance of virus attack.

September 29, 2008 12:47 PM

Kenney Jacob

Kochi International Trade and Exhibition Center

A 100 storied building to be completed in in 2010 ? I couldn’t believe it when I heard it for the first time. is doing it and they already have appointed a consultant for the design work. The building will come up in Kalamassery.

These are some of the highlights.

  • 56 lakh sqft area
  • 30 floors will be a 5 star hotel
  • Parking space for 22000 cars
  • Half a kilometer tall
  • 5 floors convention and exhibition center

Finally is also in the big league

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags: , , ,

Related posts

by Kenney Jacob at September 29, 2008 12:45 PM

September 28, 2008

Howto Forge

How To Install VMware Server 2 On An Ubuntu 8.04 Desktop

How To Install VMware Server 2 On An Ubuntu 8.04 Desktop

This tutorial provides step-by-step instructions on how to install VMware Server 2 on an Ubuntu 8.04 desktop system. With VMware Server you can create and run guest operating systems ("virtual machines") such as Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple operating systems on the same hardware which saves a lot of money, and you can move virtual machines from one VMware Server to the next one (or to a system that has the VMware Player which is also free).

September 28, 2008 04:24 PM

Renjith Ramachandran

HappyWakeUp - An innovative phone alarming!

Many people use their cell phone as an alarm clock, but as many other alarming system it simply alarm or irritate you while you are in deep sleep ( oops! ). But there is a solution! yeah a very innovative mobile software from HappyWakeUp. The HappyWakeUp phone alarm application targets the S60 platform, waking you up [...]

by admin at September 28, 2008 07:23 AM

Kenney Jacob

Higher Education American Style

Its only recently that I understood the American way of . My friend Issac wrote GRE and went to the USA for his masters 3 years ago. A one hour voice chat session with him proved to be very informative.

In India we have a free education system. All government education establishments provide free . Even many private institutions are funded by the government. The students gets to study for free.

But in the US is not free. An MS course would cost you anything between 20 lakhs to 40 lakhs based on the course and institution. But quite a lot of students gets to study without paying any fees from their pockets.

The system there is funded in a superb way. Students have lots of work options. They can work for various departments, they can assist their professors, even they can teach some subjects to their juniors. All of these are not difficult jobs. But they are provided as a means for the government to provide the student with a chance to pay for his on his own. Also most of the universities are research places. Many companies outsource their research to these institutions and all that money goes into helping these students.

The beauty of this concept is that, students there value more that we do here. We get it for free, and for them they have to earn it. When you earn something its a lot different from getting something for free. Also, paying for ones own is an empowering act.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags: , , , , ,

Related posts

by Kenney Jacob at September 28, 2008 02:56 AM

September 27, 2008

Nix Craft

How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux

Q. Can you explain UUID concept related to Linux ext3 partitions and storage devices? How do I update /etc/fstab using UUID under Ubuntu Linux or any other Linux distro?

Answer to "How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 27, 2008 03:09 PM

Kenney Jacob

Sister Abhaya Murder Case - Some Facts

Sister Abhaya was found dead in her Convents well on March 27 1992

The Local Police and the Crime Branch Dismissed it as suicide

Following an appeal to the high court by the local people CBI was handed over the charge in March 1993

Deputy Superintendent of CBI Varghese P Thomas Resigned saying that he was pressurized to write off the case as Suicide by his superior V Thiagarajan.

Another local police man destroyed all evidence the police had gathered, including all her personal belongings. (unfortunately that bugger is dead now)

Finally murder was confirmed, but CBI asked the court to close the case due to lack of evidence against murderers.

In 2007 Court enquiry confirms that the chemical examination report of the vaginal swab test was tampered with.

Sister Abhayas Post Mortem report disappears from the Kottayam Medical college. (Fresh Investigations begins)

Narcoanalysis tests of 2 priests and a nun was conducted. But court finds out that CBI tampered with the results.

Quote from the court “There is every reason to suspect that an unseen hand is at work to jettison the truth”

Looking at the chain of events we can easily conclude that “divine intervention” itself is obstructing justice. Looks like GOD himself is trying to save the culprits. May be the culprits are very close friends of the GOD.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags:

Related posts

by Kenney Jacob at September 27, 2008 07:49 AM

September 26, 2008

Ramblings Of'Geek

Been a long time / Installing vmware tools in Ubuntu 8.04.1 JEOS Server

I’m sorry folks, I got wrapped up in the ways of the physical world and then was sick the past few days.

Recently I tried installing vmware tools in a Ubuntu 8.04.1 JEOS Server virtual machine with no success.  After a bit of googling, I came across the Peter Cooper’s blog that outlined the procedure rather well for VMware Fusion, but it works for VMware Server and VMware Workstation just fine.  Essentially:

  • download Open VM Tools from Sourceforge
  • Mount VMware tools (Host -> VM -> Install VMware Tools), mount /dev/cdrom
  • Extract the vmware tools to /tmp
  • Extract and compile Open VM Tools (./configure)
  • Tar up the compiled open vm tools and copy to the vmware tools directory
  • Run vmware-install.pl

See Peter’s blog for step by step instructions.

by Jason L Froebe at September 26, 2008 10:03 PM

Howto Forge

The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) For x86_64

The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) For x86_64

This is a detailed description about how to set up a Mandriva 2008 Spring Free (Mandriva 2008.1) server on the x86_64 platform that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 64-bit version of Mandriva 2008.1.

September 26, 2008 03:12 PM

Nix Craft

Find Out Salaries Of UNIX / Linux Admin Offered By Various Fortune 500 Companies

You can search over 500K jobs, companies and actual salaries offered by various fortune 500 companies across US. Search is based on accurate data which is published by department of labor, USA.

Read more: Find Out Salaries Of UNIX / Linux Admin Offered By Various Fortune 500 Companies


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 26, 2008 02:00 PM

Alarm clock: How To Set Timeout For A Shell Command

Q. How can I run a command called foo, and have it timeout / abort after 10 seconds under GNU/Linux running bash shell or script? How do I run command under an alarm clock?

Answer to "Alarm clock: How To Set Timeout For A Shell Command"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 26, 2008 01:29 PM

Howto Forge

Kubuntu: How To Turn The Touchpad Off And On With One Shortcut Key

Kubuntu:  How To Turn The Touchpad Off And On With One Shortcut Key

This guide explains how you can turn your touchpad on or off on a Kubuntu laptop by using a shortcut key.

September 26, 2008 01:08 PM

Nix Craft

Security Alert: How To Stop Firefox Clickjacking Exploit Attack

Really scary exploit attack in wild, which affects all browsers under any desktop operating systems including MS IE, Linux, Apple safari, Opera, Firefox and Adobe flash. Any website that uses CSS and IFRAME (used to serve ads) can be used to attack on end users as attacker is able to take control of the links that your browser visits. In this article I will share few tips to stop this deadly attack until final patch is released by vendors.

Read more: Security Alert: How To Stop Firefox Clickjacking Exploit Attack


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 26, 2008 01:03 PM

Sajith M R

September 25, 2008

Racker Hacker

Working hard on PleskHacker

Some of you may have already noticed from my Twitter feed, but I’ve started a complete re-write of pleskhacker.com in an easier-to-use format. The old site was done in Dokuwiki, and I found that it didn’t scale too well. The new site uses Wordpress, and the performance is already improving.

Another improvement to the site is that it is now hosted on Mosso®, The Hosting Cloud™. This should allow the site to handle a lot more traffic and be more redundant than the original configuration. Eventually, I’ll move this blog to Mosso® as well.

What is PleskHacker? It’s part of an effort to provide more detailed documentation of Plesk for system administrators. PleskHacker has documentation covering one third of the Plesk database so far. It includes definitions for each column and table, but it also shows relationships between tables so you can create your own JOIN queries with ease.

by major at September 25, 2008 05:00 PM

Nix Craft

FreeBSD Apache Jail: Connection refused: connect to listener on 0.0.0.0:80 Error and Solution

Q. I'm running Apache 2 server under FreeBSD jail. However, I see lots of warning / error messages in /var/log/httpd-error.log as follows:
[Sat Sep 20 20:47:09 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Sep 20 20:47:10 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Sep 20 20:47:11 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80

How do stop all these warning messages flooding my Apache log files?

Answer to "FreeBSD Apache Jail: Connection refused: connect to listener on 0.0.0.0:80 Error and Solution"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 25, 2008 04:36 PM

Howto Forge

Mounting ISO Images With Furius ISO Mount On Ubuntu 8.04 Desktop

Mounting ISO Images With Furius ISO Mount On Ubuntu 8.04 Desktop

Furius ISO Mount is a tool that lets you mount and unmount ISO images on your desktop, calculate the checksums (MD5 and SHA1) of the ISO images, and burn them onto a CD or DVD (using external programs like Brasero or Nautilus). It comes with a graphical user interface and is extremely easy to use. This guide shows how to install it on an Ubuntu 8.04 desktop.

September 25, 2008 04:27 PM

Nix Craft

Linux Error: Page Allocation Failure and Solution

Q. How do I get rid of an error message that read as - "Page allocation failure"?

Answer to "Linux Error: Page Allocation Failure and Solution"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 25, 2008 01:07 PM

Track Stolen Laptop / Mac With Free Open Source Adeona Software

With the growing ubiquity of, and user reliance on, mobile computing devices (laptops, PDAs, smart phones, etc.), loss or theft of a device is increasingly likely, disruptive, and costly. Using Adeona open source software you can track your stolen Mac / PC laptop running Windows or Linux operating system.

Read more: Track Stolen Laptop / Mac With Free Open Source Adeona Software


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 25, 2008 12:42 PM

Sun Solaris on its Deathbed - Claims Jim Zemlin

Jim Zemlin is executive director of the Linux Foundation claims Solaris UNIX is irrelevant and Linux is future. Is Sun Solaris on its deathbed? Linux backers claim Solaris is irrelevant; Sun of course disagrees.

Read more: Sun Solaris on its Deathbed - Claims Jim Zemlin


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 25, 2008 12:23 PM

Howto Forge

Installing Zivios Server On Debian Etch

Installing Zivios Server On Debian Etch

This howto explains installing Zivios Master Service version 0.5.0 on Debian Etch 4.0. Zivios is an n-tiered PHP-5 application, providing identity management, single sign-on, user, group and computer provisioning, as well as remote management of services. It uses MySQL and OpenLDAP as its data store, with OpenLdap being the primary back end for identity management and application integration and MySQL being used for panel specific data.

September 25, 2008 12:18 PM

Nix Craft

Book: Mac OS X for Unix Geeks

Mac OS X for Unix Geeks is the ideal survival guide to tame the Unix side of Leopard and Tiger. If you're a Unix geek with an interest in Mac OS X, you'll soon find that this book is invaluable.

Read more: Book: Mac OS X for Unix Geeks


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 25, 2008 10:48 AM

Vishnu Gopal

Magnolia Post

Automatic Rails at Slicehost

Automatic Rails at Slicehost

The Ruby on Rails blog for Rails application performance and monitoring. Rails tutorials, troubleshooting tips, error fixes, podcasts, examples and other Rails development resources.

Rating: ★ ★ ★ ★ ★

by vishnu at September 25, 2008 07:03 AM

September 24, 2008

Kenney Jacob

Lucifer Speaking

Part III: You Would not believe this…

For those who have not read part 1 & 2; here are the Links:
Part1
Part2

We finally changed out subject and started talking about Botswana. Botswana is the only African country that has a very strong currency (That is after 2 devaluations of the currency by a total of 25% in 2 years) and has been politically stable for the last 40 years or so…and probably the only country on this planet that has lend money to the World Bank. Botswana is a very small country with 1.6Million people. Their main source of income is export of Diamonds and Export of Beef. Apparently the government of Botswana can continue to feed their people for the next 20 years without even another cent as income.

People in Botswana have been traditionally Nomadic Cattle farmers. They have a very relaxed attitude – there is no hurry in Botswana. (You can have a child by the time they process something… :) )Last 10 to 20 years have seen Botswana grow at a very fast phase. This fast development has been fueled by the money coming in through diamonds. Botswana has a higher percentage of SUV’s that South Africa. All looks so rosy…

Any way my customer started talking about his neighbor. This guy applied for a loan to CIEDA (Citizen Entrepreneurial Development Agency) to start a business. CEDA is an arm of the Ministry of Trade. Their job is to review proposals from Citizen Entrepreneurs for different ideas, and if the Idea is good – finance the proposal. Very convenient ah? That to at very low interest rates, or even no interest rates and in some cases it is converted into a grant. Any way this guy got approval for finance for setting up a plastic molding factory. They brought in the machinery from somewhere in Europe and set up the operations.

They had only 2 molds – one for plastic spoons and the other for forks. Any way this gentleman starts production and piling it up in his warehouse. My customer happens to visit him at that time. He asked him why he was piling up the stock. The gentleman responded “have not yet received any orders”. Oops! And he was still manufacturing more…

In the international calendar December holidays are considered to be the most important holiday of the year. In Botswana also these holidays start from the mid of December and end by the 3rd of January. By the way, in Botswana they have this custom of having an extra day holiday after a public holiday. And if the public holiday happens to be on a Saturday or Sunday, the following Monday will also be a holiday. Though the holidays are finished by the 3rd of Jan, people start returning only by the mid of Jan.

My customer’s neighbor also went for a holiday. But he left his 4 big air conditions working. Being a good neighbor, my customer tried to call him on his cell phone. He would not pick up the call – he would just cut it off. My customer tried sending him ’s. No reply. So as usual he returned by the mid of Jan and came straight to my customers office – and asked him why he was fanatically trying to call him. My customer in turn asked him why he was not picking up the call – to which the gentleman replied “I was on Holiday” and my customer replied “well your aircons were running, I wanted to inform you about it…”

The gentleman’s business did not last very long. He closed down after 6 months of operations. He even gave his 4 air conditioners to the landlord as payment towards 3 month’s airier in rentals. And CEDA took all the machinery and was trying to auction it all to try to recover its money.
There was another similar incident. This guy received a loan for almost BWP 800,000=00 (that is around USD 130,000) from CEDA for setting up some business. He walked straight into the Nisan Showroom, looked at the car’s, choose the car that had the maximum speed printed on the speedometer and gave them the cheque from CEDA. The manager there explained to him that they could not take the cheque, as it was in his name, and that he should go to the bank, deposit it in his account, then withdraw the money required for the car. The gentleman was very upset, He told them that was a very long process and he could not wait.

Two weeks later he was at my customers place. He wanted 100 bucks for petrol in his new merc. My customer was surprised and asked him how he managed to get that car. The gentleman told him the story at Nisan Motors. After that he went to the Merc showroom and the guy’s there took the cheque, and delivered the car within 2 days. (they did all the bank work for him also and since it was a government cheque, there is no way the bank will dishonor it) My customer borrowed him the money, and the guy was gone.

After a few weeks my customer happen to meet him again. This time, he was not driving his merc. So my customer asked him “what happen to your new car?” He told him that he was coming back from this other town with his two girlfriends, and they had an and the car was a write off. Also he had forgotten to take any insurance. My customer was shocked and asked him, what he did with the rest of the money, he said he had paid off his girl friend’s home loan. I don’t know what CEDA sold to recover their money…

My customer was telling me – “we are here and making money, cause there are so many of these people here, who don’t know what to do and how to do….”

Am I happy to be in Botswana? Maybe yes…

More on the way. Meanwhile please leave your comments…

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags: ,

Related posts

by JMJ at September 24, 2008 06:30 PM

Howto Forge

Integrating eAccelerator Into PHP5 And Lighttpd (Fedora 9)

Integrating eAccelerator Into PHP5 And Lighttpd (Fedora 9)

This guide explains how to integrate eAccelerator into PHP5 and lighttpd on a Fedora 9 system. From the eAccelerator project page: "eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times."

September 24, 2008 04:34 PM

Installing Google Android SDK 1.0 On Ubuntu 8.04 Desktop

Installing Google Android SDK 1.0 On Ubuntu 8.04 Desktop

This guide explains how you can install the Google Android SDK 1.0 on an Ubuntu 8.04 desktop. With this stable release of the Android SDK, you can now develop applications for Android smartphones (like T-Mobile's G1) and offer them on the Android Market.

September 24, 2008 01:40 PM

Mark Russinovich

The Case of the Slooooow System

A few weeks ago my wife complained that her Vista desktop was not responding to her typing or mouse clicks. Given the importance of the customer, I immediately sat down at the system to troubleshoot.  It wasn’t completely hung, but extremely sluggish. For example, the mouse moved and when I clicked on the start button the start menu opened after about 30 seconds. I suspected that something was hogging the CPU and likely could have resolved the problem simply by logging off or rebooting, but knew that if I didn’t determine the root cause and address it, she’d likely be calling on my technical support services again in the near future. In any case, stooping to that kind of troubleshooting hack is beneath my dignity. I therefore set out to investigate.

My first step was to run Process Explorer to see which process was using the CPU. After a few minutes Process Explorer finally appeared and showed that not one, but two processes were involved, each consuming 50% of the CPU: Iexplore.exe and Dllhost.exe. Iexplore is Internet Explorer (IE) and I suspected that IE itself wasn’t the problem, but that it was a browser helper object (BHO), ActiveX control, or some other plugin loaded into IE. Similarly, Dllhost.exe is the host process for out-of-process COM server DLLs, so it was probably not at fault, but the COM server loaded into it. Both required digging deeper and I decided to tackle IE first.

In order to try and get some CPU headroom in which to operate, I suspended the Dllhost process by selecting it in Process Explorer, right-clicking to open the process context menu, and selecting the Suspend entry:

image 

That put the Dllhost process to sleep and, as I expected, that freed up 50% of the CPU. That’s because the computer was a dual-core system and so to consume 100% of the available CPU cycles a process would have to have two threads, each hogging one of the cores. Most bugs I've seen that result in the CPU being pegged are caused by a single thread.

Processes don’t execute code, threads do, so I needed to look inside the IE process to see what thread or threads were running. I double-clicked on Iexplore.exe in Process Explorer to open its process properties dialog and switched to the Threads page. Several threads were running, but one was dominating the CPU:

image 

From past experience I knew that Ieframe.dll was part of IE, but to be sure I clicked on the modules button on the stack dialog and switched to the Details page of the resulting Shell properties dialog:

image 

The description didn't give me a clue as the thread's specific purpose, so I moved to the second clue about the thread, its start function. Because I had configured Process Explorer to retrieve symbols for Windows images from the Microsoft symbol server in Options->Configure Symbols, Process Explorer showed the name of the function where each thread began executing. Sometimes the DLL or function where a thread starts executing is enough to identify the thread’s purpose or the software causing a problem. In this case, the thread began in a function named CTablWindow::_TabWindowThreadProc. The function name hints that it’s the one in which the main thread of a tab starts running, but that still wasn’t enough to tell me why the thread was running so much; I needed to dig even deeper and look inside the thread to see where it was executing.

To look at what the thread was up to, I double-clicked on it in the Threads list to open the Thread Stack dialog, which shows the functions on the thread’s stack. A stack is essentially an execution history, where each function listed called the one above it on the list and the function at the top of the list is the one most recently executed by the thread at the time of Process Explorer looks at the stack. I scrolled through the list, looking for frames that referenced 3rd-party DLLs or Microsoft IE plugins, since they would be far more likely to have a bug than IE’s own code. Sure enough, I found frames pointing at a popular 3rd-party ActiveX control, Adobe Flash:

image

Just to be sure that I hadn’t happened to catch Flash running when a different component was using most of the CPU time, I closed and reopened the stack dialog several times, but all of them pointed at Flash.

The first thing I do when I suspect that some software is causing a problem is to check the vendor’s web site to make sure that I have the latest version. I opened the Process Explorer DLL view and looked at Flash.ocx’s version, went to Adobe’s site and looked at the version of the current Flash download, and they were the same. 

I was at a dead end. I couldn’t know for sure if Flash had a bug or, more likely, there was a Flash application that had a bug, nor could I be sure that the problem wouldn’t recur. I tried to determine which site was hosting the Flash content by closing tabs one by one, but when I had close them all the thread was still running.

At this point the only options I had were to uninstall Flash and leave my wife with a degraded web experience, or terminate IE to stop the current CPU usage and hope that it wouldn’t happen again. I chose the latter and the case remains open. Since investigating this I’ve seen the same Flash behavior again on my wife’s system and on my own, so have been vigilantly watching the Adobe site for a new version just in case its due to a bug in Flash itself. I was disappointed that there was no actionable result of the investigation, but at least I knew what had caused the CPU usage.

I now turned my attention the Dllhost problem with the hope that I'd meet with better success. Process Explorer lists in a tooltip the component or components loaded into hosting processes like Svchost.exe (the Windows service host process), Rundll32 (the Control Panel applet hosting process), Taskeng.exe (the scheduled task hosting process on Vista and Server 2008), and Dllhost.exe. I moved the mouse over Dllhost.exe to see what COM server it was running:

image

It was running the Thumbnail Cache COM server, whose job it is to create Explorer thumbnails for image and media files. It is part of Windows, so once again I had to look inside the process for more clues. I resumed the Dllhost process I had suspended earlier and opened the process properties threads page:

image 

The thread consuming the most CPU in this case started in Quartz.dll’s ObjectThread function. I looked at its properties and saw that it was another Windows DLL, the DirectShow Runtime, with a generic function name:

image

Next, I double-clicked to look at the thread stack:

image

The first few frames were in User32.dll and Ntdll.dll, core Windows system DLLs, but frames 4-7 are in the Sonicmp4demux.ax (".ax" is an extension commonly used for DirectShow filters), a 3rd-party component. The function names for those frames were the same and didn't make sense because the Microsoft symbol server only stores symbols for software included in Windows. Several more stack snapshots confirmed that it was the code causing the CPU usage.

Now that I had my suspect, the next step was to check for a newer version. But first I had to figure out what software the DLL came with, which was harder than it seemed. I opened the DLL view to take a closer look at the version information, but the description didn't reveal anything:

image

There were no folders in the Start menu or items in the Add/Remove Programs list with Sonic in the name. I Windows-Live-searched (I expect that word to be added to Webster's any day now) for Sonic and found that it's part of the Roxio's CD and DVD authoring software suites. I looked in the start menu and sure enough, found a Roxio folder:

image

I ran the Roxio software to check its version number and discovered that the Creator application includes a built-in facility to check for updates. I ran it, but it came up empty:

image

I checked the Roxio web site just to be sure and it turned out there was a newer version that the built-in updater hadn't offered, perhaps because the update, according to the page, didn't offer anything new:

image

I downloaded it anyway (all 640MB of it!) and waited the 15 or so minutes for it to install. Then I checked the version information of Sonicmp4demux.ax to see if it was newer, but its version number, 1.4.402.60802, was the same as the one I'd seen in the DLL view and the file was two years old:

image

I could have uninstalled the software, which would ensure that the problem wouldn't return, but I wanted to keep Roxio for its DVD authoring functionality. I didn't care if I didn't get thumbnails for Roxio-specific image formats - I wasn't even sure there were any I'd ever see in Explorer - so I set out to see if I could disable just the Sonic demultiplexer. I could have searched the Registry for the DLL name, which is surely where it was registered, but that's a brute-force approach and if there were indirect or multiple references I could easily end up disabling more than just its thumbnail generation and possibly breaking something in Windows.

Process Monitor was the perfect tool for the job. Because I didn't know when the problem might reoccur - it might takes days to reproduce - I didn't want to just run it and let it consume all available virtual memory or disk space, so I set the History Depth in the Options menu to have Process Monitor retain only the most recent 1 million events:

image

I also set an Include filter for paths matching C:\Windows\System32\Dllhost.exe, minimized it, and let my wife have the system back.

The next day I came home from work, sat down at the computer and saw from Process Explorer that Dllhost.exe was back at it, consuming 50% of the CPU. I suspect that because it's a dual-core system, the problem had been showing up regularly, but my wife hadn't noticed it because the remaining CPU capacity was enough to mask it (another good reason to buy multi-core processors!). I brought Process Monitor to the foreground and noted it had seen 114,000 Dllhost operations, which was obviously way too many to scan through individually. I searched for "sonicmp4" and found a reference in a Registry query near the end of the trace:

image

The query is of a COM object registration for the demultiplexer. Because the COM object is a 3rd-party DLL, I was certain that that COM Class ID (CLSID) isn't hard-coded into Windows, so I went back to the first entry in the trace and searched for "A7DD215", the first few characters of the CLSID. The search found a match a few thousand operations earlier:

image

The CLSID was in the name of a Registry key under another COM object registration. I Windows-Live-searched (that just rolls off the tongue, doesn't it?) for the parent CLSID and found this KB article that explains that the registry key is where DirectShow filters register: http://msdn.microsoft.com/en-us/library/ms787560(VS.85).aspx  I took a look at the stack for the particular query to confirm that's the reason Dllhost was reading from there:

image

I was now confident that I could simply rename the Sonic filter registration key to prevent its use. I never delete registry keys when performing this kind of troubleshooting just in case the change disables important functionality or somehow breaks something else. I had seen from the traces that the thumbnail cache generator had come across an AVI file that caused it to load the Sonic demultiplexer, a format Windows is obviously able to handle on its own, so I was pretty sure things would continue to work. After terminating the Dllhost and making the change, I browsed to the same folder, deleted the thumbnails, and confirmed that there was no reduced functionality as far as I could tell. I then used Roxio to successfully burn a DVD with a number of AVI files. This case was closed.

My wife's system was now usable again, and though I wasn't able to close the Flash-related part of the case, at least I knew the cause and could keep an eye out for updates. More importantly, by solving the Dllhost part of the case, even if Flash went crazy again, her system would still be usable and she wouldn't be filing a critical support incident for it with me - thanks to Process Explorer and Process Monitor.

by markrussinovich at September 24, 2008 10:08 AM

Vishnu Gopal

Magnolia Post

Dan Manges’s Blog - Rails: Performance Tuning Workflow

Dan Manges's Blog - Rails: Performance Tuning Workflow

Pretty amazing workflow

Rating: ★ ★ ★ ★ ★

Tags: , ,

memagent - Google Code

memagent - Google Code

Memagent is pretty cool! I was thinking about writing something like this but more like a memcached-http connector thingy.

Rating: ★ ★ ★ ★ ★

Tags: , , , ,

by vishnu at September 24, 2008 07:03 AM

Racker Hacker

Apache 2.2: internal dummy connection

After working with some RHEL 5 servers fairly regularly, I noticed a reduction in Apache 2.2 performance when many connections were made to the server. There were messages like these streaming into the access_log as well:

127.0.0.1 - - [21/Aug/2008:12:00:10 -0400] “GET / HTTP/1.0″ 200 2269 “-” “Apache/2.2.3 (Red Hat) (internal dummy connection)”
127.0.0.1 - - [21/Aug/2008:12:00:11 -0400] “GET / HTTP/1.0″ 200 2269 “-” “Apache/2.2.3 (Red Hat) (internal dummy connection)”
127.0.0.1 - - [21/Aug/2008:12:00:13 -0400] “GET / HTTP/1.0″ 200 2269 “-” “Apache/2.2.3 (Red Hat) (internal dummy connection)”
127.0.0.1 - - [21/Aug/2008:12:00:14 -0400] “GET / HTTP/1.0″ 200 2269 “-” “Apache/2.2.3 (Red Hat) (internal dummy connection)”
127.0.0.1 - - [21/Aug/2008:12:00:15 -0400] “GET / HTTP/1.0″ 200 2269 “-” “Apache/2.2.3 (Red Hat) (internal dummy connection)”

On servers with ipv6 enabled, you might see a line like this one:

::1 - - [21/Aug/2008:12:00:15 -0400] “GET / HTTP/1.0″ 200 2269 “-” “Apache/2.2.3 (Red Hat) (internal dummy connection)”

I began to wonder why Apache was making these connections back onto itself and initiating a GET /. Apache’s documentation had the following:

When the Apache HTTP Server manages its child processes, it needs a way to wake up processes that are listening for new connections. To do this, it sends a simple HTTP request back to itself. This request will appear in the access_log file with the remote address set to the loop-back interface (typically 127.0.0.1 or ::1 if IPv6 is configured). If you log the User-Agent string (as in the combined log format), you will see the server signature followed by “(internal dummy connection)” on non-SSL servers. During certain periods you may see up to one such request for each httpd child process.

These requests are perfectly normal and you do not, in general, need to worry about them. They can simply be ignored.

Sure, I could easily ignore the requests, but the requests were increasing the load on my server more than I liked. Apache’s documentation suggested omitting the lines from the logs by adding the following to the Apache configuration:

SetEnvIf Remote_Addr "127\.0\.0\.1" loopback

And then adding env=!loopback to your CustomLog lines ensures that the data won’t show up in your access logs. However, you’ll still end up with Directory index forbidden by Options directive: /var/www/html/ filling up your error_logs. A quick search revealed a handy mod_rewrite rule to get rid of these requests as quickly as possible with the lowest effort required from Apache:

RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]

At this point, the requests to the localhost should receive a 403 immediately. Since you can’t keep Apache from sending all of these requests to itself, the best you can do is respond to them in a manner that requires the lowest possible resources.

by major at September 24, 2008 01:42 AM

Kenney Jacob

Technology in Education and Some Facts

Government is spending a lot of money to introduce technology into . A lot of discussion is going on about this topic, but I don’t see anything changing as long as our mind set remains the same. Here are some of the facts.

How many engineering colleges allows assignments to the submitted via email ?. OK forget email, how many teachers accept printed assignments ?

There are colleges who still require students to do presentations on the old OHP projector, even if they have a normal LCD projector in the college. In my college I did my seminar using OHP and that was just 3 years back.

How many educational institutions have understood the real importance of the Internet ? How many give total unlimited access to students ? An unlimited BSNL broadband costs only 750 Rs a month and for normal browsing you can connect 20 computers to it.

Kids are always smarter than the teachers when it comes to technology. Think of our dads and moms who cant properly use the TV remote. Its the same with us also. The kids think, we don’t know how to properly use the Internet. Ive heard kids saying “dad only knows how to use outlook express”.

We need to let go off the feeling that kids will misuse technology. Ofcourse they will to an extent. Can any of us say that we have never misused the resources we had ? But we figured it out. Just like that the kids also will, but we have to trust in them.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags: ,

Related posts

by Kenney Jacob at September 24, 2008 12:52 AM

September 23, 2008

Howto Forge

VBoxHeadless - Running Virtual Machines With VirtualBox 2.0 On A Headless Ubuntu 8.04 Server

VBoxHeadless - Running Virtual Machines With VirtualBox 2.0 On A Headless Ubuntu 8.04 Server

This guide explains how you can run virtual machines with Sun xVM VirtualBox 2.0 on a headless Ubuntu 8.04 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. Fortunately, VirtualBox comes with a tool called VBoxHeadless that allows you to connect to the virtual machines over a remote desktop connection, so there's no need for the VirtualBox GUI.

September 23, 2008 04:25 PM

Kenney Jacob

Monopolies Entering the Movie Industry

Recently there had been a lot of discussion and fights in the Malayalam about Corporate’s entering the industry. They call them monopolies, but I call them corporate’s. They are companies like Ad-Labs, Pyramid Saimira, UTV etc.

The existing unions in the are not very excited with the coming of such companies. But for the audience and people with real talent its a welcome move.

Film industry is one of the most unpredictable and unfriendly businesses around. In almost every other business, customer is the king. Here the customer is forced to take what ever nonsense established stars, directors and producers shove down our throats.

To get a break in the current industry, it requires a lot more than just talent. The industry has a closed nature and is very unfriendly to new comers. We can see a lot of “family” nature in the current industry.

Also the industry is plagued by unprofessional distributors and producers. Many good movies go unnoticed because of the greedy distributors and theatre owners. Actors and fans clubs also have their share in this.

All this is set to change when corporate’s enter the industry. If we take a look at the movies that are made by these corporate’s we can see that most of them good. I have not seen a bad movie from UTV.

For the audience, who pays for the 3 hours he spends inside the theatre, the corporate’s offer more guarantee for the money. Also I hope this will bring in a lot of fresh blood into the industry breaking the “family” nature of the industry.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It!
   www.sajithmr.com

Tags:

Related posts

by Kenney Jacob at September 23, 2008 01:44 PM

Howto Forge

How To Build Red Hat Enterprise IPA RPMs For CentOS 5

How To Build Red Hat Enterprise IPA RPMs For CentOS 5

FreeIPA has existed for some time as RHE IPA for Red Hat Linux and has been added into Fedora. Still, since it is an extra add-on to RHEL, CentOS hasn't gotten it rebuilt yet. That's a shame because FreeIPA is an easy to configure, easy to manage security information management solution. If, like me, you want to use IPA with CentOS, this tutorial is for you.

September 23, 2008 12:15 PM

Nix Craft

Explain: #!/bin/bash - or #!/bin/bash -- In A Shell Script

Q. I know #!/bin/bash is shebang line. But, I noticed a few shell script shebang line ends with a single dash ( #!/bin/bash - ) or double dash ( #!/bin/bash -- ). Can you explains me purpose of such shebang line?

Answer to "Explain: #!/bin/bash - or #!/bin/bash -- In A Shell Script"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 23, 2008 07:50 AM

How To Select Best Linux Desktop Application

Q. I'm new to GNU/Linux world and a single query (apt-cache search office or yum search 'office') shows so many application for a single task such as network monitoring or office applications. The number of apps choices just confusing. How do you select application from so many choices?

Answer to "How To Select Best Linux Desktop Application"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

by Vivek Gite at September 23, 2008 07:14 AM

Jiju Thomas

Responsible use of Indexes

At several stages, I have been asked to benchmark web applications. I always tend to do the light weight stuff at the start, and when it gets into my mind, that the system which is being tested is working some what like it is expected, I steer my course and go for bigger feats. For [...]

by ericj at September 23, 2008 05:00 AM