Saratov Linux User Group
 help / color / mirror / Atom feed
From: Mihail Polushkin <mihailpolushkin@gmail.com>
To: sarlug@lists.lug.ru
Subject: [Sarlug] tcllib ftp жутко тормозит под *n?x
Date: Mon, 21 Dec 2009 09:09:25 -0800
Message-ID: <a5f0094c0912210909l262cdc78x228731e56a729a10@mail.gmail.com> (raw)

Пишу скрипт, который делает uploading содержимого папки и всех
подпапок по ftp. Ту часть, которая собственно шлет, взял с
http://wiki.tcl.tk/15002

Так вот под Windows этот скрипт работает со скоростью молнии, а в
PC-BSD7 тормозит жутко. Ровно 30 секунд подключается к серверу (в
локальной сети) и примерно 20 секунд шлет один файл. Время всегда
одинаковое. Скрипты не обращающиеся к ftp на BSD работают отлично, и
машина эта на много мощьнее той на которой Windows.

Стандартная BSD утилита ftp тоже работает отлично.

В сети есть один подобный вопрос, только про Linux. Но ответа на него нет.

Может быть дело не в Tcl и его конкретной реализации для nix, а в
каких-то сервисах ОС? Может быть такое встречается и в других
скриптовых языках?

Спасибо за оказанное внимание :)

             reply	other threads:[~2009-12-21 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 17:09 Mihail Polushkin [this message]
2009-12-21 17:52 ` Edward Batraev
2009-12-27 17:39   ` Mihail Polushkin

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=a5f0094c0912210909l262cdc78x228731e56a729a10@mail.gmail.com \
    --to=mihailpolushkin@gmail.com \
    --cc=sarlug@lists.lug.ru \
    /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

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

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

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


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