• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ubuntu 14.04 hangs  RSS feed

 
Partheban Udayakumar
Ranch Hand
Posts: 499
AngularJS Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I was discussing with you guys about removing Windows and working with Linux and choosing Ubuntu 14.04 as my OS in this thread. I finally made up my mind. Backed up my data and cleared off Windows 7 from my PC.
I started using Ubuntu and I had no problem with it but recently, my laptop starts hanging when I open up anything. I have been facing this issue for past week or so. I have no idea what to do. I posted a thread in askubuntu and tried the commenters steps but as you see there, my system crashed and then I had to uninstall fglrx and then my system came back to normal but it still lags. It takes around 40 -50 seconds to switch tabs in a browser. I am running clementine to hear songs but it stops in between. I use eclipse, it goes to not responding mode. When I use these three simultaneously, the system hangs for around 30 mins and then resumes but clementine doesn't play music but the player shows music is playing. I am new to linux, so please guide me. Also if you can please suggest me how and where to start learning linux. I am very much interested in learning it.
 
Campbell Ritchie
Marshal
Posts: 56587
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried the suggestions given in that thread? you should also tell them you has posted here

I am surprised; I have never had that problem with an Intel processor in the ten years I have been using Linux. On a Windows® box I would look for bloatware and malware; download something like clamavor Sophos and try a virus scan.

You can install the alternative desktops simply like this:-I think trusty is the right repository for U14.04. You get a little cogwheel icon on the login screen where you enter your password. Click that before logging in and choose the desktop there.
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If everything was fine until recently, perhaps it's some software or package or update you installed recently. Do you remember installing anything or changing the Software Updater settings around the time this started?
If you haven't done so already, run 'dmesg' in a terminal and look for any unusual errors. If it's a hardware error, it's probably manifested as a log in dmesg.
Also try 'tail -f /var/log/syslog' in a terminal, keep it open and then launch your applications - if there are any problems, perhaps you will see some logs that'll indicate what the problem is.

Where to start learning linux

There's a project/online book called "Linux from Scratch" (actually a set of related projects, of which this one is the first step). It walks you through building your own distro, and you'll end up learning a lot about linux and its maintenance in the process.
 
Partheban Udayakumar
Ranch Hand
Posts: 499
AngularJS Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Have you tried the suggestions given in that thread?

I haven't tried changing alternative desktops but as I said I tried installing fglrx and it failed. So I had to uninstall it. As I am a new user, I spent nearly half a day to find out that I have to uninstall it.

Campbell Ritchie wrote: You should also tell them you has posted here

I will definitely do it. I thought cross posting should be reported only here.BTW I am confused, what is use of reporting cross posting? One use I know is if some one else searches for the same problem, they can get an answer here if it has been solved.

Campbell Ritchie wrote:I am surprised; I have never had that problem with an Intel processor in the ten years I have been using Linux. On a Windows® box I would look for bloatware and malware; download something like clamavor Sophos and try a virus scan.


I don't know about clamav but I have Sophos installed and I tried scanning but nothing was found.

Campbell Ritchie wrote:You can install the alternative desktops simply like this:-


Yes alternative deskops. Before I try these, I will have to know what these are. I will do an research about these and try these.

Campbell Ritchie wrote:
I think trusty is the right repository for U14.04.

Yes U14.04 is trusty tahr

Campbell Ritchie wrote:
You get a little cogwheel icon on the login screen where you enter your password. Click that before logging in and choose the desktop there.

So we would get the option of choosing desktops. This seems interesting. I am definitely trying this out.

Karthik Shiraly wrote:If everything was fine until recently, perhaps it's some software or package or update you installed recently. Do you remember installing anything or changing the Software Updater settings around the time this started?

No I don't remember such sort of things. The last thing I installed was Clementine music player.

Karthik Shiraly wrote:If you haven't done so already, run 'dmesg' in a terminal and look for any unusual errors. If it's a hardware error, it's probably manifested as a log in dmesg.
Also try 'tail -f /var/log/syslog' in a terminal, keep it open and then launch your applications - if there are any problems, perhaps you will see some logs that'll indicate what the problem is.

Will definitely try these before changing desktop environments.

Karthik Shiraly wrote:There's a project/online book called "Linux from Scratch" (actually a set of related projects, of which this one is the first step). It walks you through building your own distro, and you'll end up learning a lot about linux and its maintenance in the process.

Thanks for the link. I will read from the link n tell you.
 
Campbell Ritchie
Marshal
Posts: 56587
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.

The reason for reporting cross-posting is simple courtesy; if anybody is replying they need to know whether there are likely ot be any other replies.

What happens when you use the system monitor on “resources” and if anything seems abnormal, are there any processes (also system monitor) hogging resources? You should have system monitor already installed.
 
Partheban Udayakumar
Ranch Hand
Posts: 499
AngularJS Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Thank you.


Welcome. But why are you thanking me?

Campbell Ritchie wrote:The reason for reporting cross-posting is simple courtesy; if anybody is replying they need to know whether there are likely ot be any other replies.

Ya Ok.

Campbell Ritchie wrote:What happens when you use the system monitor on “resources” and if anything seems abnormal, are there any processes (also system monitor) hogging resources? You should have system monitor already installed.

System Monitor? No I will have to check that. I will post back to you when I find that. Meanwhile can you instruct me how and what to look for in it?
 
Campbell Ritchie
Marshal
Posts: 56587
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(Main menu)→applications→system tools→system monitor. Or write system monitor in the little text box which appears when you open a new app on the Unity desktop
Start with the resources tab and see what the values are for memory use and processor percentage. Then consider going to the processes tab.
You can add a system monitor to the panel with
(panel)R‑click→add to panel→scroll down→system monitor. If any of the little squares fills with colour, hover your mouse on it and see what it says. If it says memory 75% in use, that is normal. If it says processor 99% all the time, that is abnormal. Similarly if your swap space is in use all the time, that is abnormal. Also add eyes to the panel; they look frivolous but can be useful because they always look towards the mouse pointer.
You may only be able to add to the panel if you use desktops like Mate of Xfce. Try searching for instructions to install Xfce because it is designed to be light on system resources.
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Also add eyes to the panel; they look frivolous but can be useful because they always look towards the mouse pointer.

 
Campbell Ritchie
Marshal
Posts: 56587
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You think I am joking about eyes. I have two pairs, one in the top panel and one in the bottom panel. They are particularly useful if I use two screens and forget which way to move the mouse when I go from screen to screen.
Screenshot-at-2016-02-05-10-42-39.png
[Thumbnail for Screenshot-at-2016-02-05-10-42-39.png]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!