* rsync + ssh fail on raid; okay on 2.2.x
@ 2001-01-18 15:02 Nick Urbanik
2001-01-18 14:45 ` [OT] " Tobias Ringstrom
0 siblings, 1 reply; 4+ messages in thread
From: Nick Urbanik @ 2001-01-18 15:02 UTC (permalink / raw)
To: Kernel list
Dear folks,
I use rsync to transfer my mail (including this list) from work to home
over ppp ussing OpenSSH 2.3.0. I have no problem transfering hundreds
of megabytes of my babies' photos from a non-raid partition (going to
work), but I get:
nsmail/Inbox
Write failed: Cannot allocate memory
unexpected EOF in read_timeout
about 19 times out of 20 (1 success so far)
Kernel: 2.4.0, no patches
PIII 450MHz, 256MB RAM, Acus P3B-F motherboard (Intel 440BX)
Mail going to Raid 1 device
The file Inbox is only 2.9MB
OS = Red Hat 7 with all updates, both home and work.
Same with ppp 2.3.x and ppp 2.4.0
Same whether work machine runs 2.2.16 or 2.4.0 kernel.
Any suggestions on where to begin to look for the problem? I really
need my email.
--
Nick Urbanik, Dept. of Computing and Mathematics
Hong Kong Institute of Vocational Education (Tsing Yi)
email: nicku@vtc.edu.hk
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2435 1406
pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [OT] Re: rsync + ssh fail on raid; okay on 2.2.x
2001-01-18 15:02 rsync + ssh fail on raid; okay on 2.2.x Nick Urbanik
@ 2001-01-18 14:45 ` Tobias Ringstrom
0 siblings, 0 replies; 4+ messages in thread
From: Tobias Ringstrom @ 2001-01-18 14:45 UTC (permalink / raw)
To: Nick Urbanik; +Cc: Kernel list
On Thu, 18 Jan 2001, Nick Urbanik wrote:
> Dear folks,
>
> I use rsync to transfer my mail (including this list) from work to home
> over ppp ussing OpenSSH 2.3.0. I have no problem transfering hundreds
> of megabytes of my babies' photos from a non-raid partition (going to
> work), but I get:
>
> nsmail/Inbox
> Write failed: Cannot allocate memory
> unexpected EOF in read_timeout
This is not the right place to ask (or answer), but anyway:
Make sure you do not use protocol version 2 with openssh 2.3.0, since it
is ***very*** broken, and more often than not fails to receive (and
transmit?) all data.
Try
dd if=/dev/zero bs=1k count=100 | wc
and
ssh machine dd if=/dev/zero bs=1k count=100 | wc
They should give you the same result. If not, you have the broken ssh.
/Tobias
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <Pine.LNX.4.10.10101181225030.7200-100000@coffee.psychology.mcmaster.ca>]
* Re: rsync + ssh fail on raid; okay on 2.2.x
[not found] <Pine.LNX.4.10.10101181225030.7200-100000@coffee.psychology.mcmaster.ca>
@ 2001-01-18 23:32 ` Nick Urbanik
2001-01-20 11:48 ` Nick Urbanik
0 siblings, 1 reply; 4+ messages in thread
From: Nick Urbanik @ 2001-01-18 23:32 UTC (permalink / raw)
To: Mark Hahn, Kernel list
Mark Hahn wrote:
> > Kernel: 2.4.0, no patches
>
> use 2.4.1-pre8. much better VM tuning.
Thank you Mark, I will try that.
> > PIII 450MHz, 256MB RAM, Acus P3B-F motherboard (Intel 440BX)
> > Mail going to Raid 1 device
> > The file Inbox is only 2.9MB
> > OS = Red Hat 7 with all updates, both home and work.
> > Same with ppp 2.3.x and ppp 2.4.0
> > Same whether work machine runs 2.2.16 or 2.4.0 kernel.
>
> any swap?
Yes, 400MB swap, only a small fraction of it used; vmstat 5 looks okay
and shows no understandable reason for the error message. Here are a
few lines from vmstat: the point at which free memory jumps up is just
after the "Write failed: Cannot allocate memory" message:
2 0 0 9276 1792 8952 110388 0 0 378 0 2400 295 11 26 63
2 0 0 9276 1760 8952 110420 0 0 0 0 492 319 6 2 92
3 0 0 9276 1596 8952 110588 0 0 96 0 754 326 8 5 87
2 1 0 9276 1620 8828 110692 0 0 751 207 5378 275 19 74 7
1 0 0 9276 26680 8828 91760 0 0 115 0 1094 307 9 11 80
2 0 0 9276 26680 8828 91760 0 0 0 0 120 318 4 1 95
I have many hundreds of MB or GB of disk space in the various
partititions. I will try the newer kernel, though I am interested in
understanding what's going on here too.
--
Nick Urbanik, Dept. of Computing and Mathematics
Hong Kong Institute of Vocational Education (Tsing Yi)
email: nicku@vtc.edu.hk
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2435 1406
pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: rsync + ssh fail on raid; okay on 2.2.x
2001-01-18 23:32 ` Nick Urbanik
@ 2001-01-20 11:48 ` Nick Urbanik
0 siblings, 0 replies; 4+ messages in thread
From: Nick Urbanik @ 2001-01-20 11:48 UTC (permalink / raw)
To: Kernel list
Nick Urbanik wrote:
> Mark Hahn wrote:
>
> > > Kernel: 2.4.0, no patches
> >
> > use 2.4.1-pre8. much better VM tuning.
>
> Thank you Mark, I will try that.
Yes, 2.4.1-pre8 fixes this, apparently completely. Something was severely broken
in 2.4.0 memory management.
> > > PIII 450MHz, 256MB RAM, Acus P3B-F motherboard (Intel 440BX)
> > > Mail going to Raid 1 device
> > > The file Inbox is only 2.9MB
> > > OS = Red Hat 7 with all updates, both home and work.
> > > Same with ppp 2.3.x and ppp 2.4.0
> > > Same whether work machine runs 2.2.16 or 2.4.0 kernel.
> >
> > any swap?
>
> Yes, 400MB swap, only a small fraction of it used; vmstat 5 looks okay
> and shows no understandable reason for the error message. Here are a
> few lines from vmstat: the point at which free memory jumps up is just
> after the "Write failed: Cannot allocate memory" message:
>
> 2 0 0 9276 1792 8952 110388 0 0 378 0 2400 295 11 26 63
>
> 2 0 0 9276 1760 8952 110420 0 0 0 0 492 319 6 2 92
>
> 3 0 0 9276 1596 8952 110588 0 0 96 0 754 326 8 5 87
>
> 2 1 0 9276 1620 8828 110692 0 0 751 207 5378 275 19 74 7
>
> 1 0 0 9276 26680 8828 91760 0 0 115 0 1094 307 9 11 80
>
> 2 0 0 9276 26680 8828 91760 0 0 0 0 120 318 4 1 95
>
> I have many hundreds of MB or GB of disk space in the various
> partititions. I will try the newer kernel, though I am interested in
> understanding what's going on here too.
>
> --
> Nick Urbanik, Dept. of Computing and Mathematics
> Hong Kong Institute of Vocational Education (Tsing Yi)
> email: nicku@vtc.edu.hk
> Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2435 1406
> pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
--
Nick Urbanik, Dept. of Computing and Mathematics
Hong Kong Institute of Vocational Education (Tsing Yi)
email: nicku@vtc.edu.hk
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2435 1406
pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-20 11:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-18 15:02 rsync + ssh fail on raid; okay on 2.2.x Nick Urbanik
2001-01-18 14:45 ` [OT] " Tobias Ringstrom
[not found] <Pine.LNX.4.10.10101181225030.7200-100000@coffee.psychology.mcmaster.ca>
2001-01-18 23:32 ` Nick Urbanik
2001-01-20 11:48 ` Nick Urbanik
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®