chrome and firefox suddenly quit X

Moderators: 666philb, Forum moderators

Post Reply
boof
Posts: 561
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

chrome and firefox suddenly quit X

Post by boof »

i suspect a memory space is filling up and overflowing, causing terminations. it takes a few hours, and my browsing is intensive. it usually happens about a L mouse click. is there a log i can check, or can i delete the filling folders to prevent the problem? i have 8GB of RAM in a dell optilux 3060. i've put up with this over several
machines and versions of puppy. i've tried stop crompton and am running 4 hrly reboots, v inconvenient.. X restarts ok, but tends to be quicker to next dropout if i use <xwin> instead of <reboot>.

edit #1
cleared history and cookies, set both auto clear on exit.

User avatar
bigpup
Moderator
Posts: 7002
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1532 times

Re: chrome and firefox suddenly quit X

Post by bigpup »

What specific versions are you using?

Are they the newest version of the browsers?

Are you going to web sites that have adds or stuff on them, that seems to be constantly changing or running, as you look at the web site?

How many tabs do you keep open at one time?

Maybe prefetch settings could help you
https://support.mozilla.org/en-US/kb/ho ... refetching

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: chrome and firefox suddenly quit X

Post by mikewalsh »

@boof :-

Sounds like the cache is filling up, if as you say your browsing is very "intensive". The answer to this is to move the cache - or the whole profile - outside of Puppy, on a usually-mounted drive, then to sym-link it back again.

Essentially, your browsers are crashing due to having run out of memory.

I'm guessing you tend to install the browser, and keep everything related to it, within the 'save', yes? Modern browsers are RAM-hogs, and it's not unusual for a single tabbed website to use up to anywhere around 250-300 MB at one time. Modern graphics-rich websites, with tons of Javascript running in the background, very quickly fill up available RAM.....and 8GB is these days considered to be just barely adequate for those who spend a lot of their time on-line.

The wide range of 'portable' browsers we have available nowadays are designed to get around all this, because they run completely outside of Puppy itself.....

How much swap do you have? And what's your "swappiness" level actually set to?

Mike. ;)

boof
Posts: 561
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: chrome and firefox suddenly quit X

Post by boof »

swapfile=1gb, swaplevel ? wherefind pls, would brave fix this? where portable browsers kept? my versions are
chrom Version 115.0.5790.98 (Official Build) (64-bit)
ff 115.0.3 64bit

User avatar
mikeslr
Posts: 2970
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: chrome and firefox suddenly quit X

Post by mikeslr »

You'll find links to all of Mikewalsh's portable web-browser's here from this post, https://www.forum.puppylinux.com/viewto ... 734#p48734. Download, extract. Within the extracted folder is a folder just bearing the name of the web-browse and its identity as a portable, e.g. Brave-portable64. Move that folder to a partition which will always be mounted, e.g. your Home partition.
Within that folder you'll find a LAUNCH and a MenuAdd script. Both will do as their names suggest.
Portables are constructed so that web-cache is automatically stored within the portable folder --which is on a drive-- rather than taking up space in RAM.

But you can also install addons to further limit web-cache. I strongly recommend Clear Browsing Data for firefox and History and Cache Clearing -- Smart Clean for Brave and other Chromium Clones. Place their icons on the tool-bar and click them once in a while.

Cache Cleaners.png
Cache Cleaners.png (54.34 KiB) Viewed 685 times

Also configure setting to clear everything when your browser closes.

boof
Posts: 561
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: chrome and firefox suddenly quit X

Post by boof »

put portable google-chrome onto usb partition 3, ntfs. abt 8GB.
program still terminates sometwgere between 3 & 4 hrs streaming.
tried pschedule with commands
exec /osr/bin/xwin, and reboot, xwin does nothing, reboot only drops X does not restart machine.

perhaps they're needed twice??.
i'll try it.
exc reboot, exec /usr/bin/xwin ??

boof
Posts: 561
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: chrome and firefox suddenly quit X

Post by boof »

thx. i think i need a script to periodically erase my history, but i've no idea how to do that. pls post ideas here. i'm using only portable google chrome.

in pshedule
rm /mnt/sdb3/Google/*cache*

Burunduk
Posts: 256
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 127 times

Re: chrome and firefox suddenly quit X

Post by Burunduk »

boof wrote: Mon Aug 21, 2023 9:15 pm

i think i need a script to periodically erase my history, but i've no idea how to do that. pls post ideas here. i'm using only portable google chrome.

I don't use Chrome. Firefox has extensions for that. For Chrome, there is one too: https://chrome.google.com/webstore/deta ... lahebmbmpp. It's old but maybe still functional.

By the way, low memory is not the only possible reason for a crash. It could be a driver problem or something else. You can take a look at the X log:
/var/log/Xorg.0.log.old (the new log is created when the X server starts). It might contain something like:
(EE) Caught signal 11 (Segmentation fault). Server aborting (Errors are marked with "EE").

boof
Posts: 561
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: chrome and firefox suddenly quit X

Post by boof »

EE dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

this last file has a name in pink. what does that mean pls, and how do i re-populate it?|/var/run/dbus/system_bus_socket/var/run/dbus/system_bus_socket/var/run/dbus/system_bus_socket/var/run/dbus/system_bus_socket

this last filename is shown pink. pls, how do i fix that?

usr/share/fonts/ faulty, none loaded.

Burunduk
Posts: 256
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 127 times

Re: chrome and firefox suddenly quit X

Post by Burunduk »

Sorry, I don't know how to deal with this one. Maybe someone else can help. The pink color doesn't indicate a trouble. It's pink because it's a file of a special type - a socket.

Google finds reports about problems that are similar but there the X server refuses to start at all without dbus. I've tried to stop the dbus service on my Fossapup. The /var/run/dbus/system_bus_socket file disappears but this has no noticeable consequences: the X server runs with no errors in the log as well as firefox does. I get only a warning in the syslog.

User avatar
bigpup
Moderator
Posts: 7002
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1532 times

Re: chrome and firefox suddenly quit X

Post by bigpup »

Look over this stuff in Firefox.
https://support.mozilla.org/en-US/kb/st ... cale=en-US
See what you may need to control.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Fossapup64”