[SOLVED] browser and everything else on screen froze
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Rep:
browser and everything else on screen froze
The problem started when I went to a site and above the top part of browser appeared in yellow asked me to 'wait or stop', I clicked wait, later I clicked stop. Everything froze and I had to power off/on to get back to normal after 40 minutes. I tired Ctrl + Esc, and Alt + space, crtl F2 etc, nothing worked. I wasn't able to get into terminal either using shortcut keys. Was powering off my only option?
What site? Have no way of knowing what you have done. What was the machine waiting for? Downloading, big huge page load, one of those huge images that netflix puts in your browser?
What browser? I have seen Falcon having what I think is memory leaks, filling up the memory all the way, where my computer slows down and I have to close the browser and get back to normal. Not a total computer freeze like you describe.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Original Poster
Rep:
Quote:
Originally Posted by teckk
What site? Have no way of knowing what you have done. What was the machine waiting for? Downloading, big huge page load, one of those huge images that netflix puts in your browser?
udacity.com, cause may have been a script perhaps?Firefox browser
The problem started when I went to a site and above the top part of browser appeared in yellow asked me to 'wait or stop', I clicked wait, later I clicked stop. Everything froze and I had to power off/on to get back to normal after 40 minutes. I tired Ctrl + Esc, and Alt + space, crtl F2 etc, nothing worked. I wasn't able to get into terminal either using shortcut keys. Was powering off my only option?
This usually happens when you exhaust your RAM & Swap file. I have had it happen when I accidentally opened too many windows in Firefox (~300) or tried to open multiple pdf and word documents together (>100).
One option you can try is to ssh to the host from another machine, if you are successful then kill the process (in this case Firefox).
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Original Poster
Rep:
Quote:
Originally Posted by suramya
This usually happens when you exhaust your RAM & Swap file. I have had it happen when I accidentally opened too many windows in Firefox (~300) or tried to open multiple pdf and word documents together (>100).
I did have quite a few things running at same time. Is there a way to adjust the ram or swap to prevent this from occurring again?
Is there a way to adjust the ram or swap to prevent this from occurring again?
You can change swapiness to a lower value so it wont swap as quickly. That's been talked about, the pros and cons of it. As for RAM, put more RAM in if you don't have enough.
I can max out the RAM on an old dual core box with 4GB RAM, without a swap partition, using something like google maps. When I do, the machine doesn't die, it sorta stops and becomes unresponsive for a bit until a bunch of RAM is dumped, and then the browser will crash/close.
You can also clear pages in RAM that are no loner active. Didn't say it was a good or bad thing, just that you can do it.
I've done that before too. With the web browser open. Cleared pages that the browser is no longer using. That will allow you to continue. If you go back to a web page that you have already opened, you'll have to download it again. But the machine never crashed on me, or the web browser.
I did have quite a few things running at same time. Is there a way to adjust the ram or swap to prevent this from occurring again?
For RAM you need would need to add additional RAM chips to your system. I usually try to max out the available RAM. To add swap you would need to resize your partitions to add more space to the swap partition. Else, you can add another disk and create a swap partition on it.
Do we even know what OP's hardware specs are? what point is there in wild speculations about what _might_ help.
Further, what exactly the OS in question is and whether they're running it in a VM or not.
Do we even know what OP's hardware specs are? what point is there in wild speculations about what _might_ help.
Further, what exactly the OS in question is and whether they're running it in a VM or not.
Didn't ask because based on their previous threads they seem to be allergic to giving details. (Even in this case, see the response you got for your question (Post#12)
However, based on their brief (very brief) description it seemed to match what I had experienced when I exhausted the RAM+Swap on the system, so shared that...
Now unless they share more details can't help them further.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.