From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] memory limit for swapping?
Date: Tue, 25 Dec 2001 22:35:57 -0500 [thread overview]
Message-ID: <20011226033603.2B85319A32@mail.cse.psu.edu> (raw)
> Does swapping have any memory limit around 226MB?
> This is caused from a bug of our program, however, it failes always
> around swapping volume of 226MB. Does it come from some limits
> for swapping? Or I'm just doing stupid?
How big is your swap partition? The system
does not fail gracefully once it gets full.
Also, there is a fixed limit on the swap size. If you
follow through pc/main.c you can derive what the exact
limits on conf.nswap are. I don't have the stomach, but
it's clear that it's proportional to the amount of memory in
the system but capped at a certain point. The easiest
way to tell is to look at the message at boot: if it says
1000 free pages
10000K bytes
15000K swap
then the system swap space limit is 5MB (15000K-10000K).
The last number is actually physical user memory + swap space
(total user virtual memory) rather than swap space.
It would be more accurate to phrase it as
user memory: 1000 pages, 10M physical, 15M virtual
You might just be exhausting the virtual space.
Russ
next reply other threads:[~2001-12-26 3:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-26 3:35 Russ Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-26 4:23 okamoto
2001-12-26 2:33 okamoto
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=20011226033603.2B85319A32@mail.cse.psu.edu \
--to=rsc@plan9.bell-labs.com \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).