ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: "Виктор Шумаков"
	<public-oxy-schumacher-5URONGGNgjI@plane.gmane.org>,
	"ALT Linux sysadmin discuss"
	<public-sysadmins-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@plane.gmane.org>
Subject: Re: [Sysadmins] sysctl или как избавиться от лимитов
Date: Mon, 23 Nov 2009 15:04:55 +0300
Message-ID: <20091123120455.GG15838@newmaster.mivlgu.local> (raw)
In-Reply-To: <E1NCDnJ-0000zQ-00.oxy-schumacher-bk-ru@f296.mail.ru>

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

On Sun, Nov 22, 2009 at 05:52:05PM +0300, Виктор Шумаков wrote:
> Вообщем очередной раз хотел как лутше а получилось как обычно, вычитал в
> гугле кучу статей о DDos атаках, настроил firewall до ума, настроил
> sysctl ...  в итоге после моих "гавно" настроек на порт 411 может
> пробиться только ~1021-1145 клиентов, таже картина и с другими портами,
> увы когда я настраивал всё это я не думал что могут возникнуть подобные
> проблемы по этому не каких сетингов по умолчанию конечно же не оставил,
> как выглядит проблема на практике... на хаб забиваеться около 1020
> юзеров, а остальным пишет просто "конектинг" и ждёт пока какой то с
> юзеров отвалиться от хаба, юзер отваливаеться на хаб заходит другой...
> при этом всём в этот момент вполне нормально без глюков работают другие
> клиенты на других портах (ssh,ftp,http) думал проблема в iptables
> вырубил его почистил правила, на всякий пожарный дал ребут... нечего не
> изменилось... очень нужна помощь и подсказка где может быть спрятан
> подобный лимит и как его убрать, а так же как по умолчанию вернуть
> сетинги sysctl и /proc/net

А что за программа запущена в качестве сервера?  Ограничение около 1024
похоже на значение __FD_SETSIZE по умолчанию; возможно, используемая
программа не позволяет превысить это ограничение (как делает, например,
squid).

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

  reply	other threads:[~2009-11-23 12:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-22 14:52 Виктор Шумаков
2009-11-23 12:04 ` Sergey Vlasov [this message]
2009-11-26 16:29 ` Anton Kvashin

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=20091123120455.GG15838@newmaster.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=public-oxy-schumacher-5URONGGNgjI@plane.gmane.org \
    --cc=public-sysadmins-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@plane.gmane.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