Page 1 of 1
chrome and firefox suddenly quit X
Posted: Sat Jul 29, 2023 8:53 am
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.
Re: chrome and firefox suddenly quit X
Posted: Sat Jul 29, 2023 5:50 pm
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
Re: chrome and firefox suddenly quit X
Posted: Sat Jul 29, 2023 7:54 pm
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.
Re: chrome and firefox suddenly quit X
Posted: Tue Aug 01, 2023 2:01 am
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
Re: chrome and firefox suddenly quit X
Posted: Tue Aug 01, 2023 2:44 pm
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 (54.34 KiB) Viewed 682 times
Also configure setting to clear everything when your browser closes.
Re: chrome and firefox suddenly quit X
Posted: Wed Aug 16, 2023 8:19 am
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 ??
Re: chrome and firefox suddenly quit X
Posted: Mon Aug 21, 2023 9:15 pm
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*
Re: chrome and firefox suddenly quit X
Posted: Tue Aug 22, 2023 12:52 pm
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").
Re: chrome and firefox suddenly quit X
Posted: Tue Aug 22, 2023 2:50 pm
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.
Re: chrome and firefox suddenly quit X
Posted: Wed Aug 23, 2023 11:47 am
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.
Re: chrome and firefox suddenly quit X
Posted: Wed Aug 23, 2023 12:59 pm
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.