为什么我的proftpd使系统负载达到90%以上?

由 mgx0018 在 10-25-2003 09:44 发表:

为什么我的proftpd使系统负载达到90%以上?

我的电脑为P4 2.0G 256MDDR 用Debian+proftpd,DMA已打开,单人下载时多大流量都没问题,可是超过3人下载时,系统负载就超过80%,多于5 个人就接近100%了,而它们的总流量和一个下载时差不多,这是为什么,是不是我什么选项没设置,请各位高手解释一下,先谢了。


由 hgkrt 在 10-25-2003 12:22 发表:


你流量多大??100MB/10MB还是1MB..

一般系统负载和流量有关系..越大,对CPU的负载就越大..

我的proftpd,15个用户,和1个用户的时候,负载没多大变化...95%空闲...


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 mgx0018 在 10-25-2003 12:29 发表:


我的流量是2MB,对每个用户限速200k,两个没问题,可是多于4个负载就达到80%以上,这是为什么?


由 sfatsdu 在 10-25-2003 13:20 发表:


If you limit the download speed, then proftpd will not use "sendfile" systemcall to reduce the load, in fact, that will trash your system very hard.But since your box is fast, it should not be a issue.

Another reason is the files users are downloading are not continuous, this will cause harddistk move the arm ,then reduce the performance.Does your disk trash when several users are downloading?

Use "top" to see which process is eating up the CPU?


nObODy


由 mgx0018 在 10-25-2003 17:32 发表:


用户下载的大部份是电影,是连续的,我用top看了一下,每个proftpd进程的%CPU为2.0-3.0之间,当有4个以上进程时,上边的CPU(s)的wa已达到80%-90%,播放音乐都时断时续。是不是我系统有什么没设置好?


由 sfatsdu 在 10-26-2003 17:02 发表:


4*2% <=10% Proftpd seems doesn't eat up many CPU.

So which is the real cpu hog? can you grab it

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus