proftpd 的ftpwho跟ftpcount看不到人~ - BBS
By Kumar
at 2007-05-18T00:58
at 2007-05-18T00:58
Table of Contents
明明線上有人在連
而且資源都被吃光光了^^;
但是ftpwho跟ftpcount都顯示沒有人了
請問有什麼可能造成這種情形呢?
=======
last pid: 17245; load averages: 17.71, 17.32, 17.15
up 2+09:01:08 00:51:48
83 processes: 18 running, 64 sleeping, 1 zombie
CPU states: 7.4% user, 0.4% nice, 92.2% system, 0.0% interrupt, 0.0% idle
Mem: 144M Active, 28M Inact, 57M Wired, 15M Cache, 35M Buf, 2696K Free
Swap: 1024M Total, 995M Used, 29M Free, 97% Inuse
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
9709 root 127 0 70936K 420K RUN 91:08 5.03% 5.03% proftpd
9716 root 127 0 70940K 420K RUN 90:28 5.03% 5.03% proftpd
9718 root 127 0 70940K 420K RUN 90:11 5.03% 5.03% proftpd
9753 root 128 0 70940K 436K RUN 89:47 5.03% 5.03% proftpd
9787 root 127 0 70948K 440K RUN 89:03 5.03% 5.03% proftpd
16505 root 127 0 70948K 66788K RUN 8:22 5.03% 5.03% proftpd
3841 root 127 0 70936K 416K RUN 22.2H 4.98% 4.98% proftpd
9715 root 127 0 70936K 420K RUN 90:44 4.98% 4.98% proftpd
9772 root 127 0 70948K 440K RUN 89:08 4.98% 4.98% proftpd
9735 root 128 0 70940K 436K RUN 89:58 4.93% 4.93% proftpd
9756 root 127 0 70944K 436K RUN 89:41 4.93% 4.93% proftpd
9766 root 127 0 70944K 440K RUN 89:13 4.93% 4.93% proftpd
16499 root 128 0 70952K 62144K RUN 8:35 4.93% 4.93% proftpd
9705 root 127 0 70936K 460K RUN 92:19 4.88% 4.88% proftpd
9759 root 127 0 70944K 436K RUN 89:29 4.88% 4.88% proftpd
16286 root 128 0 70948K 488K RUN 11:48 4.88% 4.88% proftpd
9707 root 127 0 70936K 476K RUN 91:33 4.79% 4.79% proftpd
================
proftpd.conf
================
ServerType standalone
ServerIdent off
MaxInstances 150
PersistentPasswd on
SocketBindTight on
UseReverseDNS off
tcpNoDelay on
User nobody
Group nogroup
RootLogin off
# 拒絕/etc/ftpusers檔案中的使用者
UseFtpUsers on
IdentLookups off
<Global>
# 設定檔案權限遮罩,022則為755
Umask 002
# 支援續傳
AllowStoreRestart on
AllowRetrieveRestart on
# 支援覆蓋
AllowOverwrite on
# 自動刪除上傳失敗檔案
#DeleteAbortedStores on
# 設定Timeout
TimeoutStalled 1200
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 3600
TransferLog /var/log/proftp.log
# displey msg
# 登入前的資訊檔案
DisplayConnect /ftproot/connect.msg
# 登入之後的資訊檔案
DisplayLogin /ftproot/welcome.msg
# 切換目錄的資訊檔案
#DisplayFirstChdir chdir.msg
# 許多連接資訊檔案
# DisplayGoAway goaway.msg
# 登出時的資訊檔案
# DisplayQuit quit.msg
# 是否要shell(僅允許帶有有效的shell的使用者登入?)
RequireValidShell off
# 開啟FXP傳輸
AllowForeignAddress on
# 每次對話最大的失敗登入次數
MaxLoginAttempts 3
#PassivePorts 49152 65534
PassivePorts 1024 2048
<Limit LOGIN>
Allowall
</Limit>
<Limit WRITE>
Denyall
</Limit>
# 目錄限制
<Directory /home/*>
AllowOverwrite on
AllowStoreRestart on
<Limit WRITE>
AllowAll
</Limit>
</Directory>
<Directory /ftproot/*>
AllowOverwrite on
AllowStoreRestart on
</Directory>
<Directory /ftproot/upload/*>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
</Global>
--
而且資源都被吃光光了^^;
但是ftpwho跟ftpcount都顯示沒有人了
請問有什麼可能造成這種情形呢?
=======
last pid: 17245; load averages: 17.71, 17.32, 17.15
up 2+09:01:08 00:51:48
83 processes: 18 running, 64 sleeping, 1 zombie
CPU states: 7.4% user, 0.4% nice, 92.2% system, 0.0% interrupt, 0.0% idle
Mem: 144M Active, 28M Inact, 57M Wired, 15M Cache, 35M Buf, 2696K Free
Swap: 1024M Total, 995M Used, 29M Free, 97% Inuse
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
9709 root 127 0 70936K 420K RUN 91:08 5.03% 5.03% proftpd
9716 root 127 0 70940K 420K RUN 90:28 5.03% 5.03% proftpd
9718 root 127 0 70940K 420K RUN 90:11 5.03% 5.03% proftpd
9753 root 128 0 70940K 436K RUN 89:47 5.03% 5.03% proftpd
9787 root 127 0 70948K 440K RUN 89:03 5.03% 5.03% proftpd
16505 root 127 0 70948K 66788K RUN 8:22 5.03% 5.03% proftpd
3841 root 127 0 70936K 416K RUN 22.2H 4.98% 4.98% proftpd
9715 root 127 0 70936K 420K RUN 90:44 4.98% 4.98% proftpd
9772 root 127 0 70948K 440K RUN 89:08 4.98% 4.98% proftpd
9735 root 128 0 70940K 436K RUN 89:58 4.93% 4.93% proftpd
9756 root 127 0 70944K 436K RUN 89:41 4.93% 4.93% proftpd
9766 root 127 0 70944K 440K RUN 89:13 4.93% 4.93% proftpd
16499 root 128 0 70952K 62144K RUN 8:35 4.93% 4.93% proftpd
9705 root 127 0 70936K 460K RUN 92:19 4.88% 4.88% proftpd
9759 root 127 0 70944K 436K RUN 89:29 4.88% 4.88% proftpd
16286 root 128 0 70948K 488K RUN 11:48 4.88% 4.88% proftpd
9707 root 127 0 70936K 476K RUN 91:33 4.79% 4.79% proftpd
================
proftpd.conf
================
ServerType standalone
ServerIdent off
MaxInstances 150
PersistentPasswd on
SocketBindTight on
UseReverseDNS off
tcpNoDelay on
User nobody
Group nogroup
RootLogin off
# 拒絕/etc/ftpusers檔案中的使用者
UseFtpUsers on
IdentLookups off
<Global>
# 設定檔案權限遮罩,022則為755
Umask 002
# 支援續傳
AllowStoreRestart on
AllowRetrieveRestart on
# 支援覆蓋
AllowOverwrite on
# 自動刪除上傳失敗檔案
#DeleteAbortedStores on
# 設定Timeout
TimeoutStalled 1200
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 3600
TransferLog /var/log/proftp.log
# displey msg
# 登入前的資訊檔案
DisplayConnect /ftproot/connect.msg
# 登入之後的資訊檔案
DisplayLogin /ftproot/welcome.msg
# 切換目錄的資訊檔案
#DisplayFirstChdir chdir.msg
# 許多連接資訊檔案
# DisplayGoAway goaway.msg
# 登出時的資訊檔案
# DisplayQuit quit.msg
# 是否要shell(僅允許帶有有效的shell的使用者登入?)
RequireValidShell off
# 開啟FXP傳輸
AllowForeignAddress on
# 每次對話最大的失敗登入次數
MaxLoginAttempts 3
#PassivePorts 49152 65534
PassivePorts 1024 2048
<Limit LOGIN>
Allowall
</Limit>
<Limit WRITE>
Denyall
</Limit>
# 目錄限制
<Directory /home/*>
AllowOverwrite on
AllowStoreRestart on
<Limit WRITE>
AllowAll
</Limit>
</Directory>
<Directory /ftproot/*>
AllowOverwrite on
AllowStoreRestart on
</Directory>
<Directory /ftproot/upload/*>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
</Global>
--
Tags:
BBS
All Comments
Related Posts
上bbs都是亂碼
By Rosalind
at 2007-05-16T22:01
at 2007-05-16T22:01
上bbs都是亂碼
By Hedwig
at 2007-05-16T12:41
at 2007-05-16T12:41
上bbs都是亂碼
By Ida
at 2007-05-16T08:58
at 2007-05-16T08:58
FTP Client中文輸入
By Tristan Cohan
at 2007-05-16T01:37
at 2007-05-16T01:37
FTP Client中文輸入
By Steve
at 2007-05-15T20:57
at 2007-05-15T20:57