

top - 23:56:58 up 3 days, 6:02, 1 user, load average: 0.11, 0.04, 0.01
Tasks: 36 total, 1 running, 35 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 524288k total, 52836k used, 471452k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
Maximum tasks = 0, change to (0 is unlimited):
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23879 root 15 0 2184 1016 820 R 0 0.2 0:00.05 top
1 root 18 0 2056 660 564 S 0 0.1 0:00.25 init
5252 root 18 0 8208 2420 1936 S 0 0.5 0:00.02 sshd
5307 root 15 0 4348 1176 868 S 0 0.2 0:00.01 sftp-server
15515 root 15 0 8204 2412 1936 S 0 0.5 0:00.01 sshd
15526 root 15 0 4356 1140 864 S 0 0.2 0:00.00 sftp-server
16171 root 17 0 6900 2088 1732 S 0 0.4 0:00.02 pure-ftpd
16172 admin 18 0 6936 1036 648 S 0 0.2 0:00.00 pure-ftpd
16277 root 15 0 1716 580 484 S 0 0.1 0:00.77 syslogd
16305 dbus 18 0 2728 464 324 S 0 0.1 0:00.00 dbus-daemon
16316 root 18 0 5216 944 636 S 0 0.2 0:00.00 sshd
16325 root 16 0 2712 908 732 S 0 0.2 0:00.24 xinetd
16346 root 18 0 2436 1132 984 S 0 0.2 0:00.00 sh
17441 root 18 0 2432 1144 984 S 0 0.2 0:00.00 mysqld_safe
17487 mysql 15 0 21692 9m 4464 S 0 1.9 0:58.02 mysqld
17527 qmails 18 0 1896 488 380 S 0 0.1 0:00.00 qmail-send
17531 qmaill 18 0 1660 480 412 S 0 0.1 0:00.00 splogger
# max-connections == max-fds/2 (maybe /3)
server.max-connections = 1024 最大连接数 该项默认等同于server.max-fds
server.max-fds = 2048
#Maximum number of seconds until an idling keep-alive connection is dropped.
server.max-keep-alive-idle = 5 Lighttpd最多可以同时承受5秒长的常连接
server.max-keep-alive-requests = 1000 每个连接最多请求1000个文件
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 18 0 2056 660 564 S 0 0.1 0:00.25 init
3371 apache 25 0 5948 1784 596 S 0 0.3 0:00.00 lighttpd
3373 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3374 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3375 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3376 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3377 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3379 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3380 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3382 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3383 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3384 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3385 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3386 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3387 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3388 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3390 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3391 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3392 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3393 apache 18 0 5948 1428 228 S 0 0.3 0:00.00 lighttpd
3394 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3395 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3399 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3400 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3404 apache 18 0 5948 1400 200 S 0 0.3 0:00.00 lighttpd
3405 apache 18 0 8112 3988 628 S 0 0.8 0:00.00 lighttpd
3406 apache 18 0 5948 1428 228 S 0 0.3 0:00.00 lighttpd
3407 apache 18 0 8112 4124 740 S 0 0.8 0:00.00 lighttpd
3408 apache 18 0 5948 1428 228 S 0 0.3 0:00.00 lighttpd
3410 apache 18 0 8112 3988 628 S 0 0.8 0:00.00 lighttpd
3493 root 18 0 2184 1036 820 R 0 0.2 0:00.00 top
5252 root 16 0 8208 2420 1936 S 0 0.5 0:00.02 sshd
5307 root 15 0 4348 1176 868 S 0 0.2 0:00.01 sftp-server
15515 root 18 0 8204 2412 1936 S 0 0.5 0:00.01 sshd


原帖由 usa 于 2010-1-12 20:15 发表
不好意思,今天才找到论坛。。。。
直接在LIGHTTPD.CONF添加就OK了
开始使用内存是比较小的,但是时间越长慢慢的会越大,还有流量。。。。
一般不会出很大问题,我平稳跑过5天。。。不过还是建议几天service lighttpd restar ...
| 欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) | Powered by Discuz! X3.4 |