Results 1 to 9 of 9

Thread: Firefox Hangs Laptop, Virtualbox crashes

  1. #1
    Join Date
    Apr 2014
    Location
    Kampala, Uganda
    Posts
    95

    Default Firefox Hangs Laptop, Virtualbox crashes

    Hi guys,

    I need help with figuring out what might be hanging or causing my laptop to freeze. My guess is it is my Firefox browser but this only started after I upgraded to LEAP 15.1 two weeks ago. When Mozilla Firefox (version 60.7.2esr) hangs, Oracle Virtualbox (Version 6.0.10 r132072 [Qt5.9.7]) crashes.
    I apologize as I am not certain of which logs to look at but I will share any more info as requested. Also how best can I optimize my browser?
    I'd appreciate your help as this has given me problems all week.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,703

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    How much memory do you have and how much set in VB.

    I had a problem like this many versions back and it was a amount of memory problem Either FF or VB does not like to use swap. I had 2 gig at the time installed 8 gig and have not seen the problem since.

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,133
    Blog Entries
    2

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    Quote Originally Posted by gogalthorp View Post
    How much memory do you have and how much set in VB.

    I had a problem like this many versions back and it was a amount of memory problem Either FF or VB does not like to use swap. I had 2 gig at the time installed 8 gig and have not seen the problem since.
    If memory availability is the problem,
    Then you can also severely reduce the amount of memory your graphics environment uses by booting to IceWM instead of KDE or Gnome (other Desktops also, but use considerably less RAM).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    89

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    From past experience

    Firefox will hang if you don't have enough swap - it does not use it but it allocates based on it - if you have the disk space you should allocate at least 4gb or as much as the ram you have if you hibernate your computer.

    15.1 VirtualBox is at 6.0.8 - I would stick to the OpenSUSE supported VBox - It still has choppy sound in the clients but does not lock up.

    I tried the UEFI 15.1 and it kept locking up my 7420 laptop - when installed in Legacy mode the laptop ran without "hangs". It should not make any differences but apparently there are some access differences and the latest BIOS did not cure them.

    All UEFI seems to do is make Microsoft Windows harder to steal. It wastes disk space by requiring an FAT file system to boot from so it can find an .efi file to boot.
    Opensuse 15.1 with VirtualBox VM's (Windows 98, XP, 7, 8.1, 10 & OpenSUSE 15.0)

    Unix since 1974 (pdp-11 in "B" , Interdata 7/32 in "C") (AT&T, Tandy, Convergent, IBM, NCR, HP flavors)
    Linux since 1995 (mandrake, redhat, fedora, centos, now OpenSUSE)

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    Quote Originally Posted by larryr View Post
    From past experience

    Firefox will hang if you don't have enough swap - it does not use it but it allocates based on it - if you have the disk space you should allocate at least 4gb or as much as the ram you have if you hibernate your computer.
    Hi
    Change the swapiness... with vm.swappiness and vm.vfs_cache_pressure sysctl settings?

    Code:
    free
                  total        used        free      shared  buff/cache   available
    Mem:       15916796     3190632     5372016      473176     7354148    11904252
    Swap:       1379904           0     1379904
    Quote Originally Posted by larryr View Post
    All UEFI seems to do is make Microsoft Windows harder to steal. It wastes disk space by requiring an FAT file system to boot from so it can find an .efi file to boot.
    Not sure, no issues here with either windows on the hardware or in a vm (even autoactivates if the host has been activated). Lots of advantages with a gpt disk, all those extra partitions, no boot sector, boot from a file.... Older UEFI BIOS implementations can be quirky though, check for BIOS updates for the system.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Apr 2014
    Location
    Kampala, Uganda
    Posts
    95

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    I thank you all for your input and i truly I apologize for the delayed response. Below's my machine's stats; I gave 2GB memory to Virtualbox.

    Code:
     
    sharone@doofenshmirtz~$ cat /proc/meminfo 
    MemTotal:        8064988 kB
    MemFree:         1698128 kB
    MemAvailable:    2662936 kB
    Buffers:           87236 kB
    Cached:          1199880 kB
    SwapCached:            0 kB
    Active:          2876584 kB
    Inactive:        1037684 kB
    Active(anon):    2478208 kB
    Inactive(anon):   287788 kB
    Active(file):     398376 kB
    Inactive(file):   749896 kB
    Unevictable:          96 kB
    Mlocked:              96 kB
    SwapTotal:       2097148 kB
    SwapFree:        2097148 kB
    Dirty:              2788 kB
    Writeback:             0 kB
    AnonPages:       2374348 kB
    Mapped:          2726480 kB
    Shmem:            138856 kB
    Slab:             148580 kB
    SReclaimable:      77972 kB
    SUnreclaim:        70608 kB
    KernelStack:       11728 kB
    PageTables:        63004 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     6129640 kB
    Committed_AS:    9657048 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:           0 kB
    VmallocChunk:          0 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:    417792 kB
    ShmemHugePages:        0 kB
    ShmemPmdMapped:        0 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:      163536 kB
    DirectMap2M:     4982784 kB
    DirectMap1G:     3145728 kB
    I am going to install Vbox 15.0

  7. #7
    Join Date
    Apr 2014
    Location
    Kampala, Uganda
    Posts
    95

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    Quote Originally Posted by larryr View Post
    From past experience

    Firefox will hang if you don't have enough swap - it does not use it but it allocates based on it - if you have the disk space you should allocate at least 4gb or as much as the ram you have if you hibernate your computer.

    15.1 VirtualBox is at 6.0.8 - I would stick to the OpenSUSE supported VBox - It still has choppy sound in the clients but does not lock up.

    I tried the UEFI 15.1 and it kept locking up my 7420 laptop - when installed in Legacy mode the laptop ran without "hangs". It should not make any differences but apparently there are some access differences and the latest BIOS did not cure them.

    All UEFI seems to do is make Microsoft Windows harder to steal. It wastes disk space by requiring an FAT file system to boot from so it can find an .efi file to boot.

    Thanks. I haven't been able to find Virtualbox 15.1 so I'll stick with the current version. Let me see if I can add more to swap for now.

  8. #8
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    89

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    For OpenSUSE 15.1

    The repos have VirtualBox 6.0.8 - do not install the rpm from VirtualBox

    install VirtualBox from command line as root (you can sudo it)

    zypper in -f virtualbox

    should install the OpenSUSE VirtualBox 6.0.8
    Opensuse 15.1 with VirtualBox VM's (Windows 98, XP, 7, 8.1, 10 & OpenSUSE 15.0)

    Unix since 1974 (pdp-11 in "B" , Interdata 7/32 in "C") (AT&T, Tandy, Convergent, IBM, NCR, HP flavors)
    Linux since 1995 (mandrake, redhat, fedora, centos, now OpenSUSE)

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,133
    Blog Entries
    2

    Default Re: Firefox Hangs Laptop, Virtualbox crashes

    Quote Originally Posted by MissSB View Post
    Thanks. I haven't been able to find Virtualbox 15.1 so I'll stick with the current version. Let me see if I can add more to swap for now.
    You misunderstood. "15.1" likely refers to the openSUSE version, not VBox.
    Recommend Larry's recommendation, install VBox 6.0 from the openSUSE repos.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •