免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2339 | 回复: 3
打印 上一主题 下一主题

[FTP] proftpd 速度不稳定 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-27 10:21 |只看该作者 |倒序浏览
刚装好没有多久的,好像早几天还挺好的,用PORT模式。
现在开通了PASV,开放了50000~50005给PASV专用,结果发现proftpd的速度一直不稳定:

80k ~ 60 ~ 40 ~ 20 ~ 0 一路下降到零
然后又慢慢上升, 0 ~ 20 ~ 40 ~ 60 ~ 80,再重复这样的怪圈……

还时不时的断开连接,自动重连!

请高手指点。

附上我的配置文件。
-bash-3.1$ cat proftpd.conf | grep '^[^#]'
ServerName                      "TechYou FTP Server by Server-U 7.0.1"
ServerType                      standalone
DefaultServer                   on
ServerIdent                     off #服务器版本信息
UseReverseDNS                   off
IdentLookups                    off
Port                            21
Umask                           022
MaxInstances                    30
TimeoutStalled                  10
MaxClients                      500 #最多允许500个用户在线
MaxClientsPerHost               1 "Sorry,do not use more than one connection for one user"
User                            proftp
Group                           proftp
DefaultRoot ~
DisplayLogin                    /usr/local/proftpd/confile/welcome.msg
AllowOverwrite          on
AllowStoreRestart       on
<Limit SITE_CHMOD>
  AllowAll
</Limit>
PassivePorts 50000 50005


附二,版本和编译信息:
-bash-3.1$ /usr/local/proftpd/sbin/proftpd -V
Compile-time Settings:
  Version: 1.3.1
  Platform: LINUX
  Built With:
    configure --prefix=/usr/local/proftpd --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql:mod_ratio --with-includes=/home/lamp/mysql5/include/mysql --with-libraries=/home/lamp/mysql5/lib/mysql --sysconfdir=/usr/local/proftpd/confile --localstatedir=/var --bindir=/usr/local/proftpd/bin --sbindir=/usr/local/proftpd/sbin --enable-dso --enable-openssl

  CFLAGS: -O2 -Wall
  LDFLAGS: -L$(top_srcdir)/lib
  LIBS: -lsupp -lcrypt

  Files:
    Configuration File:
      /usr/local/proftpd/confile/proftpd.conf
    Pid File:
      /var/proftpd.pid
    Scoreboard File:
      /var/proftpd/proftpd.scoreboard
    Shared Module Directory:
      /usr/local/proftpd/libexec

  Features:
    - Autoshadow support
    - Controls support
    + curses support
    - Developer support
    + DSO support
    - IPv6 support
    + Largefile support
    - Lastlog support
    + ncurses support
    - NLS support
    + OpenSSL support
    - POSIX ACL support
    + Shadow file support
    + Sendfile support
    + Trace support

  Tunable Options:
    PR_TUNABLE_BUFFER_SIZE = 1024
    PR_TUNABLE_GLOBBING_MAX = 8
    PR_TUNABLE_HASH_TABLE_SIZE = 40
    PR_TUNABLE_NEW_POOL_SIZE = 512
    PR_TUNABLE_RCVBUFSZ = 87380
    PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
    PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
    PR_TUNABLE_SELECT_TIMEOUT = 30
    PR_TUNABLE_SNDBUFSZ = 16384
    PR_TUNABLE_TIMEOUTIDENT = 10
    PR_TUNABLE_TIMEOUTIDLE = 600
    PR_TUNABLE_TIMEOUTLINGER = 180
    PR_TUNABLE_TIMEOUTLOGIN = 300
    PR_TUNABLE_TIMEOUTNOXFER = 300
    PR_TUNABLE_TIMEOUTSTALLED = 3600
    PR_TUNABLE_XFER_BUFFER_SIZE = 16384
    PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10

Thanks in advance!

论坛徽章:
0
2 [报告]
发表于 2008-05-27 20:05 |只看该作者
眼看就要沉了,高手快出现吧。

论坛徽章:
0
3 [报告]
发表于 2009-08-01 06:56 |只看该作者

我也碰到这种情况

感觉不像是proftpd服务器本身的问题,有可能在防火墙那里出了点问题

论坛徽章:
0
4 [报告]
发表于 2009-08-02 16:12 |只看该作者
看到有文档说要iptables打开端口,不知道你设了没
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP