Author Topic: Clicking URLs causing system to become unresponsive [SOLVED]  (Read 831 times)

0 Members and 1 Guest are viewing this topic.

Offline loupe

  • Neuling
  • *
  • Posts: 3
  • I'm new. Be nice!
  • Skill: Novice
Hey everyone,

I've played with a few Manjaro variations now and I'm really enjoying Fluxbox.

I've encountered the issue that when I click on a URL in applications outside of the browser (Pidgin, Skype, Package Manager) the browser fails to open, and then over the next minute or two the system slowly grinds to a halt. I'm using the default Pale Moon installation as my browser.

Any suggestions on how I might solve this would be greatly appreciated. Happy to provide further info if needed.

Cheers.
« Last Edit: 24. January 2016, 01:23:17 by loupe »

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Clicking URLs causing system to become unresponsive
« Reply #1 on: 23. January 2016, 06:06:13 »
I have a similar problem when I use the package search engine that is built into qBittorrent. When I select a package & then hit the Go to description page button, which should take me to the relevant web page via my default browser - Pale Moon. Instead nothing happens. Pale Moon has never worked for this though Firefox always did? I don't get the slow down though (my machine has a powerful i7 CPU & lots of RAM, which may hide that side of the problem). I'll give this a look now & check it out with htop & see what it tells me.

OK, I just checked & low & behold, it worked! Pale Moon opened up the URL when I selected the Go to description page button.

Looks like a Pale Moon update (or qBittorrent as there was a big update not long ago) has fixed the problem.

Sorry for wasting your time loupe, though thanks for posting as you caused me to discover that the qBittorrent / Pale Moon problem is now gone.
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline loupe

  • Neuling
  • *
  • Posts: 3
  • I'm new. Be nice!
  • Skill: Novice
Re: Clicking URLs causing system to become unresponsive
« Reply #2 on: 23. January 2016, 09:26:18 »
I tried changing the default browser to Chromium, but there was no change.

I opened htop before the system became too slow to use and noticed that swarms of duplicate commands were appearing:

Code: [Select]
/bin/sh /usr/bin/xdg-open http://..
This command continued to duplicate until the system became completely unresponsive.

Also, sorry for the duplicate threads. I was getting gateway timeouts and had no idea that the posts were successful.
« Last Edit: 23. January 2016, 09:36:38 by loupe »

Offline Cubanpit

  • Sr. Mitglied
  • ****
  • Posts: 276
  • Skill: Novice
Re: Clicking URLs causing system to become unresponsive
« Reply #3 on: 23. January 2016, 09:49:13 »
In the i3 section of the forum there is a solution for this, it seems the same problem.
Sorry, I can't copy it easily, I'm on a smartphone.
Laptop: Lenovo Ideapad Flex 14 (2013) // Graphics: Intel HD Haswell - Free Driver // DE: KDE Plasma 5 // Kernel: Linux 4.6 // Branch: Testing
PC: Graphics: ATI Radeon X1600 PRO - Free Driver // WM: i3 // Kernel: Linux 4.4 // Branch: Stable

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Clicking URLs causing system to become unresponsive
« Reply #4 on: 23. January 2016, 10:13:41 »
My memory...

@loupe: Try adding the following to your ~/.bashrc file (if you are using bash use alternate shell rc file if need be):

Code: [Select]
BROWSER=/usr/bin/palemoon # Kill the "xdg-open that hogs the cpu" that you
# have to "sudo killall xdg-open" to stop!

alias kx="sudo killall xdg-open" # See above ^

The alias kx is to stop the problem when it occurs, though the first line should sort it for you.

Anyway, if the BROWSER= line doesn't sort it for you, enter kx in the terminal & that should manually give you back your cpu.
« Last Edit: 23. January 2016, 10:16:50 by handy »
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline Cubanpit

  • Sr. Mitglied
  • ****
  • Posts: 276
  • Skill: Novice
Laptop: Lenovo Ideapad Flex 14 (2013) // Graphics: Intel HD Haswell - Free Driver // DE: KDE Plasma 5 // Kernel: Linux 4.6 // Branch: Testing
PC: Graphics: ATI Radeon X1600 PRO - Free Driver // WM: i3 // Kernel: Linux 4.4 // Branch: Stable

Offline winston

  • Vollwertiges Mitglied
  • ***
  • Posts: 114
  • Branch: stable
  • Desktop: OpenBox
  • GPU Card: nvidia GT216
  • GPU driver: nouveau
  • Kernel: linux3.18
  • Skill: Novice
Re: Clicking URLs causing system to become unresponsive
« Reply #6 on: 23. January 2016, 18:25:08 »
Do you have anything(conky for example) where you can see your memory usage. I had a problem like this a while back and found that some program I installed was being triggered and was using all the memory bring the system to a halt. Never did figure out the whys but program removed problem solved.

Offline rabideau

  • Sr. Mitglied
  • ****
  • Posts: 268
  • just another day older...
    • ManyRoads
  • Branch: stable... and usually up to date
  • Desktop: xfce 4.12
  • GPU Card: nVidia
  • Kernel: 4.4-MANJARO x86_64
  • Skill: Intermediate
Re: Clicking URLs causing system to become unresponsive
« Reply #7 on: 23. January 2016, 20:54:30 »
I found I needed to remove Palemoon altogether in order to avoid the problem... minus Palemoon my machine no longer grinds to a halt.  I found a similar performance problem with Dropbox, which I noted elsewhere on this forum.
Pax vobiscum,
...mark

“Letting go gives us freedom, and freedom is the only condition for happiness. If, in our heart, we still cling to anything - anger, anxiety, or possessions - we cannot be free.”  ― Thích Nhất Hạnh

Offline loupe

  • Neuling
  • *
  • Posts: 3
  • I'm new. Be nice!
  • Skill: Novice
Re: Clicking URLs causing system to become unresponsive
« Reply #8 on: 24. January 2016, 01:22:22 »
Thank you all for the suggestions.

It appears that I was able to solve the issue with the solution provided over on the i3 forum.


I solved it for me by changing the BROWSER variable in /etc/environment:
Code: [Select]
...
#BROWSER=/usr/bin/xdg-open
BROWSER=xdg-open

and the same procedure in /etc/profile:
Code: [Select]
...
#BROWSER=/usr/bin/xdg-open
BROWSER=xdg-open

Everything seems to be working properly after a reboot.

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Clicking URLs causing system to become unresponsive [SOLVED]
« Reply #9 on: 24. January 2016, 02:28:35 »
I was close, I just needed to blend the two lines that I'd posted & I was there. :)

Glad you got it sorted loupe. ;)
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak