From: Matthias Andree <matthias.andree@stud.uni-dortmund.de>
To: Linux-Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: rsync kills 2.4.1X, also -ac and 2.4.18-rc4+XFS.
Date: Fri, 1 Mar 2002 05:36:15 +0100 [thread overview]
Message-ID: <20020301043615.GA1668@merlin.emma.line.org> (raw)
Hello,
I have some tough stuff to debug for VM hackers.
I "killed" my kernel (it was just swapping and otherwise irresponsive)
with just aborting rsync v2.5.2.
0. Hardware: Single Duron 700, 320 MB RAM, 1.5 GB swap distributed over
some disks. One SCSI (Fujitsu, attached to SYM53C875) holding the
system (LVM), three IDE (Maxtor and IBM) holding data (no LVM,
attached to VIA KT133). -ac kernels were compiled with gcc 2.95.3,
not sure about SuSE's kernel.
1. Use rsync v2.5.2 to copy some files from one partition (reiserfs, on
IDE) to another partition (ext3).
2. Watch the kernel nicely use all free RAM for Cache, no swap.
3. While rsync is sill running, press Ctrl+C.
4. Now watch how the kernel turns CACHE into USED RAM (xosview), starts
swapping like hell (page out is high, swaps like 100 MB in just some few
seconds) and makes the machine unusable.
Careful, save your data before you try this!
With 2.4.18-pre9-ac3 + Morton's Mini-LL patch, I was able to do "swapoff
-av" to have the machine recover in some minutes' time, with 2.4.18-rc4
or with 2.4.19-pre1-ac2 without LL patch, no way to get a single
character into my xterm.
Using GNU cp v4.1 instead of rsync v2.5.2 does not exhibit this
behaviour, but I'm not sure what rsync does that messes the kernel.
Initially, I thought it was related to rmap, but I cannot find hints
that Hubert's kernel uses rmap. I didn't get around to try -aa kernels
yet. Will do later unless someone has a fix until then ;-)
Some bug must lurk in the kernel which lets rsync wreak havoc with the
memory management.
--
Matthias Andree
GPG encrypted mail welcome, unless it's unsolicited commercial email.
next reply other threads:[~2002-03-01 4:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-01 4:36 Matthias Andree [this message]
2002-03-01 5:11 ` SOLVED " Matthias Andree
2002-03-01 11:08 ` Matthias Andree
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=20020301043615.GA1668@merlin.emma.line.org \
--to=matthias.andree@stud.uni-dortmund.de \
--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®