Machine performance was not up to the mark
I found the machine to be performing very slow though the CPU usage shows 95% idle with not too many processes running. Simple commands like df -h and top took few seconds to execute and come back with an output. I believe the underlying disks are slow which may be causing this.