mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Philipp Steinkrueger" <kernel@cyberraum.de>
To: <linux-kernel@vger.kernel.org>, <linux-admin@vger.kernel.org>
Subject: Memory Problem
Date: Mon, 7 Oct 2002 16:33:22 +0200	[thread overview]
Message-ID: <021701c26e0e$7d4449a0$0a01a8c0@3rgu5vk6e645pg> (raw)

Hello,


i have a problem with memory management and i coulndt find a solution
doing web-research, so perhaps someone on the list can point me to a
document or give me another answer.

first, this is my system configuration:

linux kernel 2.4.19 with high-memory enabled because i put 2 GB Ram.
128 MB Swap Partition and a 250 MB Swap File.


The Problem appears with the mysql database server. here is the error
message:

Can't create a new thread (errno 11). If you are not out of available
memory, you
can consult the manual for a possible OS-dependent bug

and this is what cat /proc/meminfo shows while the system runs regulary:

MemTotal:      2069560 kB
MemFree:         24576 kB
MemShared:           0 kB
Buffers:         80808 kB
Cached:        1271288 kB
SwapCached:       1924 kB
Active:         737160 kB
Inactive:       861112 kB
HighTotal:     1179584 kB
HighFree:         2044 kB
LowTotal:       889976 kB
LowFree:         22532 kB
SwapTotal:      384476 kB
SwapFree:       379248 kB


Memfree is at 24 MB but i caught a meminfo when it was about 4 or 6 MB.

i am worried about the high "Cached" value. Could someone tell me if the
cached
content is to be considered as "reserved" and will not be used by programms
requesting
more memory ?

my general questions are:

1) how can i control the memory ? where can i tell the system how much
memory should be
used to cache stuff ? perhaps i can solve the problem this way.
2) what else does the kernel do when a programm spawns a new thread ? if
memory is
not the problem, what else could go wrong when creating a thread ?


If you need something else, like a memstat output, please let me know.


Thank you very much,
Philipp


             reply	other threads:[~2002-10-07 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 14:33 Philipp Steinkrueger [this message]
2002-10-07 15:21 ` Rik van Riel
2002-10-07 15:52   ` Dave Hansen
2005-04-24 14:40 Memory problem Froggy / Froggy Corp.
2005-04-27 13:18 ` Erik Mouw
2005-04-27 16:29   ` Froggy / Froggy Corp.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='021701c26e0e$7d4449a0$0a01a8c0@3rgu5vk6e645pg' \
    --to=kernel@cyberraum.de \
    --cc=linux-admin@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®