ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ovz, tcpsndbuf && vsftpd
Date: Sun, 11 Nov 2007 01:01:04 +0300
Message-ID: <20071110220104.GA23572@basalt.office.altlinux.org> (raw)
In-Reply-To: <200711110030.26962.peet@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

On Sun, Nov 11, 2007 at 12:30:26AM +0300, Peter V. Saveliev wrote:
[...]
> А ситуация вот какая. Скорость не падает. Просто в какой-то момент передача 
> обрывается. Обрывает её сервер. Как показывает наблюдение, обрывает именно 
> тогда, когда tcpsndbuf увеличивает failcnt. Клиент же этот обрыв не сечёт 
> и "подвисает" на коннекте.
> 
> В этих же условиях proftpd "продолжает работать и работать".
> 
> Чтобы воспроизвести, достаточно скачать по очень быстрому линку (>1Gbit) 
> большой (>10Mb) файл при достаточно небольшом tcpsndbuf.
> 
> ...
> 
> Кто-нибудь сталкивался с этой багой? Пока только один ns@ признался, но он 
> решил проблему переходом на sftp.
> 
> Кто-нибудь анализировал? Мне неохота залезать в потроха vsftpd, но интересно: 
> это он дергает за ошибку в ядре или ошибка в самом vsftpd?

Поскольку vsftpd обычно отгружает файлы с помощью sendfile(2), то ошибка,
скорее всего, в ядре.

> А это, имхо, 
> ошибка, т.к. переполнение буфера tcp на отправку -- ситуация вполне 
> вероятная.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-11-10 22:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 21:30 Peter V. Saveliev
2007-11-10 21:43 ` Anton Gorlov
2007-11-11 10:38   ` Peter V. Saveliev
2007-11-11 12:10     ` Anton Gorlov
2007-11-11 18:20     ` Anton Gorlov
2007-11-12  7:02       ` Sergey Y. Afonin
2007-11-12  7:32         ` Peter V. Saveliev
2007-11-10 21:47 ` Konstantin A. Lepikhov
2007-11-10 22:01 ` Dmitry V. Levin [this message]
2007-11-11 10:31   ` Peter V. Saveliev
2007-11-11  9:38 ` Gennady Kovalev
2007-11-12  7:00 ` Sergey Y. Afonin
2007-11-12  7:30 ` Alexander Volkov

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=20071110220104.GA23572@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git