Browser crashes/hangs system on low-spec machine under Xubuntu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I have a Lenovo Ideapad 110S I recently installed Xubuntu 17.10.1 on. It has a 1.6Ghz Celeron N3060, 2gb ram, and 32gb SSD. Most of time Xubuntu runs great on it. However, I keep running into system lockup/crash/hang issues, which seem to always occur when too many browser tabs get opened, and especially when one or more has heavier footprint content. Google Maps in particular does it pretty readily. When this happens, the system is typically too unresponsive to even switch tty sessions to kill the process. It usually won't switch, and when it does it will hang after I input my password. I don't know what else I can do, so I usually end up just restarting with the power button. The browser I've been using is Chromium, but Firefox does the same thing. Note that I'm aware adjusting my tab habits is part of the solution here, but what can be tricky is when I open up something that's heavier footprint than I thought it would be.



Is there a way I can prevent this from being able to happen? Some way of limiting the amount of resources Chromium has access to, such that there's still enough left over to kill it if needed? What's the best approach here? This is happening quite a bit; is it possible bad memory is a factor?










share|improve this question





















  • Two solutions here: 1. use terminal web-browser as links2 or elinks (it is a joke); 2. buy more RAM, it's cheap. Your CPU supports 8Gb.
    – N0rbert
    Feb 25 at 10:32














up vote
1
down vote

favorite












I have a Lenovo Ideapad 110S I recently installed Xubuntu 17.10.1 on. It has a 1.6Ghz Celeron N3060, 2gb ram, and 32gb SSD. Most of time Xubuntu runs great on it. However, I keep running into system lockup/crash/hang issues, which seem to always occur when too many browser tabs get opened, and especially when one or more has heavier footprint content. Google Maps in particular does it pretty readily. When this happens, the system is typically too unresponsive to even switch tty sessions to kill the process. It usually won't switch, and when it does it will hang after I input my password. I don't know what else I can do, so I usually end up just restarting with the power button. The browser I've been using is Chromium, but Firefox does the same thing. Note that I'm aware adjusting my tab habits is part of the solution here, but what can be tricky is when I open up something that's heavier footprint than I thought it would be.



Is there a way I can prevent this from being able to happen? Some way of limiting the amount of resources Chromium has access to, such that there's still enough left over to kill it if needed? What's the best approach here? This is happening quite a bit; is it possible bad memory is a factor?










share|improve this question





















  • Two solutions here: 1. use terminal web-browser as links2 or elinks (it is a joke); 2. buy more RAM, it's cheap. Your CPU supports 8Gb.
    – N0rbert
    Feb 25 at 10:32












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have a Lenovo Ideapad 110S I recently installed Xubuntu 17.10.1 on. It has a 1.6Ghz Celeron N3060, 2gb ram, and 32gb SSD. Most of time Xubuntu runs great on it. However, I keep running into system lockup/crash/hang issues, which seem to always occur when too many browser tabs get opened, and especially when one or more has heavier footprint content. Google Maps in particular does it pretty readily. When this happens, the system is typically too unresponsive to even switch tty sessions to kill the process. It usually won't switch, and when it does it will hang after I input my password. I don't know what else I can do, so I usually end up just restarting with the power button. The browser I've been using is Chromium, but Firefox does the same thing. Note that I'm aware adjusting my tab habits is part of the solution here, but what can be tricky is when I open up something that's heavier footprint than I thought it would be.



Is there a way I can prevent this from being able to happen? Some way of limiting the amount of resources Chromium has access to, such that there's still enough left over to kill it if needed? What's the best approach here? This is happening quite a bit; is it possible bad memory is a factor?










share|improve this question













I have a Lenovo Ideapad 110S I recently installed Xubuntu 17.10.1 on. It has a 1.6Ghz Celeron N3060, 2gb ram, and 32gb SSD. Most of time Xubuntu runs great on it. However, I keep running into system lockup/crash/hang issues, which seem to always occur when too many browser tabs get opened, and especially when one or more has heavier footprint content. Google Maps in particular does it pretty readily. When this happens, the system is typically too unresponsive to even switch tty sessions to kill the process. It usually won't switch, and when it does it will hang after I input my password. I don't know what else I can do, so I usually end up just restarting with the power button. The browser I've been using is Chromium, but Firefox does the same thing. Note that I'm aware adjusting my tab habits is part of the solution here, but what can be tricky is when I open up something that's heavier footprint than I thought it would be.



Is there a way I can prevent this from being able to happen? Some way of limiting the amount of resources Chromium has access to, such that there's still enough left over to kill it if needed? What's the best approach here? This is happening quite a bit; is it possible bad memory is a factor?







xubuntu crash memory-usage






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 24 at 21:50









Nathan Knutson

1061




1061











  • Two solutions here: 1. use terminal web-browser as links2 or elinks (it is a joke); 2. buy more RAM, it's cheap. Your CPU supports 8Gb.
    – N0rbert
    Feb 25 at 10:32
















  • Two solutions here: 1. use terminal web-browser as links2 or elinks (it is a joke); 2. buy more RAM, it's cheap. Your CPU supports 8Gb.
    – N0rbert
    Feb 25 at 10:32















Two solutions here: 1. use terminal web-browser as links2 or elinks (it is a joke); 2. buy more RAM, it's cheap. Your CPU supports 8Gb.
– N0rbert
Feb 25 at 10:32




Two solutions here: 1. use terminal web-browser as links2 or elinks (it is a joke); 2. buy more RAM, it's cheap. Your CPU supports 8Gb.
– N0rbert
Feb 25 at 10:32










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Do you have swap enabled, i.e., does free list any swap space?



Here's a trick I learned from running Android Studio and a modern web browser on 4GB of memory:



  1. Add the line kernel.sysrq=1 to /etc/sysctl.conf and run sysctl -p. This will enable all Alt+SysRq commands.


  2. When your system freezes due to running out of memory, press Alt+SysRq+F to manually invoke the OOM killer. For me, this kills the program causing the memory pressure every time, but YMMV.






share|improve this answer






















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1009441%2fbrowser-crashes-hangs-system-on-low-spec-machine-under-xubuntu%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Do you have swap enabled, i.e., does free list any swap space?



    Here's a trick I learned from running Android Studio and a modern web browser on 4GB of memory:



    1. Add the line kernel.sysrq=1 to /etc/sysctl.conf and run sysctl -p. This will enable all Alt+SysRq commands.


    2. When your system freezes due to running out of memory, press Alt+SysRq+F to manually invoke the OOM killer. For me, this kills the program causing the memory pressure every time, but YMMV.






    share|improve this answer


























      up vote
      0
      down vote













      Do you have swap enabled, i.e., does free list any swap space?



      Here's a trick I learned from running Android Studio and a modern web browser on 4GB of memory:



      1. Add the line kernel.sysrq=1 to /etc/sysctl.conf and run sysctl -p. This will enable all Alt+SysRq commands.


      2. When your system freezes due to running out of memory, press Alt+SysRq+F to manually invoke the OOM killer. For me, this kills the program causing the memory pressure every time, but YMMV.






      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        Do you have swap enabled, i.e., does free list any swap space?



        Here's a trick I learned from running Android Studio and a modern web browser on 4GB of memory:



        1. Add the line kernel.sysrq=1 to /etc/sysctl.conf and run sysctl -p. This will enable all Alt+SysRq commands.


        2. When your system freezes due to running out of memory, press Alt+SysRq+F to manually invoke the OOM killer. For me, this kills the program causing the memory pressure every time, but YMMV.






        share|improve this answer














        Do you have swap enabled, i.e., does free list any swap space?



        Here's a trick I learned from running Android Studio and a modern web browser on 4GB of memory:



        1. Add the line kernel.sysrq=1 to /etc/sysctl.conf and run sysctl -p. This will enable all Alt+SysRq commands.


        2. When your system freezes due to running out of memory, press Alt+SysRq+F to manually invoke the OOM killer. For me, this kills the program causing the memory pressure every time, but YMMV.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 26 at 14:51









        Chai T. Rex

        3,67211132




        3,67211132










        answered Feb 25 at 9:14









        dsstorefile1

        1,312111




        1,312111



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1009441%2fbrowser-crashes-hangs-system-on-low-spec-machine-under-xubuntu%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491