Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <op.2m3iszoxa3w0dxdave@hodgins.homeip.net>
Deutsch   English   Français   Italiano  
<op.2m3iszoxa3w0dxdave@hodgins.homeip.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "David W. Hodgins" <dwhodgins@nomail.afraid.org>
Newsgroups: comp.os.linux.misc
Subject: Re: Linux doesn't seem to manage memory very well
Date: Wed, 01 May 2024 10:06:25 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <op.2m3iszoxa3w0dxdave@hodgins.homeip.net>
References: <v0t5nk$3415a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 01 May 2024 16:06:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="429fb2f3a43df6bcf88a462f2fc1e2df";
	logging-data="3372564"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+C25sp9PSz6DxaqHNZ0hojpfMDwB3FGlI="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:Q9lyCGF3WGjCn45JYomQAAoYTSM=
Bytes: 2199

On Wed, 01 May 2024 06:32:18 -0400, James Harris <james.harris.1@gmail.com> wrote:
> Not a question, just an observation.
> I say that Linux doesn't seem to handle memory well because my laptop
> had 8GB RAM (which, frankly, Windows seems to find perfectly adequate
> for a similar workload). Under Linux the RAM would fill up and then swap
> space would be used. Then the machine would become largely unresponsive
> - e.g. taking minutes to switch between windows.
> So I upgraded the RAM. It now has three times as much (i.e. 24GB)! But
> even so, RAM has still steadily filled up until reaching the full 24GB.
> What's more, it's now showing 4.8GB of swap space in use.

Likely you're using a system that's configured for maximum total throughput,
not best response time.

Create a file, /etc/sysctl.d/tales.conf with the contents ...
# Reduce applications being swapped
vm.swappiness=1
# Don't shrink the inode cache
vm.vfs_cache_pressure=50

Then run the command "sysctl --system" (as root).

See https://rudd-o.com/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that
for an explanation.

Regards, Dave Hodgins