ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] vsftpd
Date: Mon, 16 Jul 2007 14:13:52 +0400
Message-ID: <20070716101352.GD25581@basalt.office.altlinux.org> (raw)
In-Reply-To: <469B27F1.6040107@soc.adm.yar.ru>

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

On Mon, Jul 16, 2007 at 12:10:25PM +0400, "Дворников М.В." wrote:
> ALT Master 2.4. vsftpd-1.2.2-alt3.
> Сервер: cel400/128mb.
> 
> # cat ./vsftpd
> 
> service ftp
> {
>          disable         = no
>          socket_type     = stream
>          protocol        = tcp
>          wait            = no
>          user            = root
>          nice            = 10
>          instances       = 14
>          rlimit_as       = 16M
>          server          = /usr/sbin/vsftpd
>          only_from       = 0.0.0.0
> }
> 
> Кол-во подключений "instances" означает кол-во
> пользователей (ip) или подключений любых?

Количество одновременно открытых сокетов, см. xinetd.conf(5).

> Попытался скачать с помощью FAR/Win каталог 1000 файлов,
> при этом было создано 19 соединений (на экране).

Это другая характеристика, "instances" ограничивает число _одновременно_
установленных соединений.

> Возникла проблема:
> - vsftpd не сообщает клиенту о потере соединения;

До vsftpd в случае ограничения числа соединений дела не доходит.

> - смена каталога пользователем оставляет множество незакрытых соединений;

ftp-клиент может не закрывать соединения.


-- 
ldv

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

      reply	other threads:[~2007-07-16 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16  8:10 "Дворников М.В."
2007-07-16 10:13 ` Dmitry V. Levin [this message]

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=20070716101352.GD25581@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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