поставил proftpd себе и вот чего наблюдаю, памяти из 1гб осталось 15мб.
Остальное занято.
Вырубаю proftpd - память как была занята, так и остаётся.
Перегружаюсь и сразу вырубаю proftpd - память цела, стоит запустить proftpd и память примерно за 1мин съедается полностью. swap не трогает.
При этом тормозов с ФТП не замечено, но все остальное явно притормаживает.В чем может быть фишка?ftp:~# dpkg -s proftpd
Package: proftpd
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 196
Maintainer: Francesco Paolo Lovergine <frankie@debian.org>
Architecture: all
Source: proftpd-dfsg
Version: 1.3.1-15
Depends: proftpd-basic, proftpd-mod-mysql, proftpd-mod-pgsql, proftpd-mod-ldap
Conffiles:
/etc/init.d/proftpd f1371a76211872446fdb0968bd5bbbf3 obsolete
/etc/cron.monthly/proftpd e91d0d86f589d6641ecceb8717a31fb3 obsolete
/etc/pam.d/proftpd cf7ad13f603c0e7a7026c95075fc2840 obsolete
/etc/ftpusers 839f3157aad792bafbbdcd932a95a345 obsolete
/etc/default/proftpd c4ecf33e946d6459aa1d8d768e120b74 obsolete
Description: versatile, virtual-hosting FTP daemon
ProFTPd is a powerful replacement for wu-ftpd. This File Transfer Protocol
daemon supports hidden directories, virtual hosts, and per-directory
".ftpaccess" files. It uses a single main configuration file, with a
syntax similar to Apache.
.
Because of the advanced design, anonymous-FTP directories can have
an arbitrary internal structure (bin, lib, etc, and special files are
not needed). Advanced features such as multiple password files and
upload/download ratios are also supported.
.
This is a convenience transitional package used to install all provided
modules, so you can safely remove it after upgrading. You should
alternatively install proftpd-basic and one or more of the other
proftpd-mod-* packages if you need advanced features.
Homepage: http://www.proftpd.org/
№----------------------------------------------------
ftp:~# cat /etc/proftpd/proftpd.conf
Include /etc/proftpd/modules.conf
UseIPv6 off
ServerName "ftp"
ServerType standalone
DeferWelcome off
#bind 172.16.0.2
Port 21
#MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
IdentLookups off
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
UseReverseDNS off
UseFtpUsers off
MaxInstances 100
MaxClients 100
MaxClientsPerHost 5
MaxLoginAttempts 3
Umask 022 022
User proftpd
Group nogroup
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
#UseHostsAllowFile /etc/proftpd/proftpd.allow
#UseHostsDenyFile /etc/proftpd/proftpd.deny
#TransferRate RETR,STOR,APPE 8192
<Limit WRITE READ>
Deny from all
</Limit>
AllowOverwrite on
AllowOverride on
AuthUserFile /etc/proftpd/ftpd.passwd
#DefaultRoot ~ users, yaten aleksey moder1 moder2
DefaultRoot ~
#DefaultRoot ~ user aleksey
#DefaultRoot ~ users moder1 moder2
<Anonymous /home/ftp_temp>
User ftp
Group nogroup
AnonRequirePassword off
RequirevalidShell off
UserAlias anonymous ftp
MaxClients 100 "Sorry, max %m users -- try again later"
<Directory /home/ftp_temp/Games/Games_1>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_all>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Multimedia/Audio>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Multimedia/Video_1>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Multimedia/Video_2>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Multimedia/Video_3>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Multimedia/Other>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Multimedia/Videos_from_games>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Other>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Soft/OS>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Soft/soft>
<Limit STOR MKD READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp>
<Limit READ>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink>
<Limit READ>
AllowAll
</Limit>
</Directory>
</Anonymous>
#Права доступа для юзеров из ftp.passwd
<Directory /home/ftp_temp>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser shadow quaker fit scanek shuher aleksey
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
DenyUser shadow quaker fit scanek shuher aleksey
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink/wow_shadow>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser shadow
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink/wow_quaker>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser quaker
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink/lineage2_fit>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser fit
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink/cs_snake>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser snake
</Limit>
</Directory>
<Directory /home/ftp_temp/Games/Games_2/Games_seti_VISTlink/cod_scanek>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser scanek
</Limit>
</Directory>
<Directory /home>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser yaten waryus
</Limit>
</Directory>
<Directory /home/ftpadmin/aleksey>
<Limit READ WRITE APPE STOU RNFR RNTO RETR>
AllowUser aleksey
</Limit>
</Directory>
№-------------------------------------------------------
ftp:~# top
top - 23:12:55 up 52 min, 2 users, load average: 0.07, 0.08, 0.08
Tasks: 105 total, 1 running, 104 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9% us, 3.1% sy, 0.0% ni, 89.0% id, 4.5% wa, 0.5% hi, 2.0% si
Mem: 1034864k total, 1020172k used, 14692k free, 460k buffers
Swap: 1180768k total, 108k used, 1180660k free, 978948k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6238 ftp 20 0 10548 2888 1460 S 7.9 0.3 0:03.92 proftpd
177 root 15 -5 0 0 0 S 4.0 0.0 0:42.19 kswapd0
6190 ftp 20 0 10536 2896 1460 S 4.0 0.3 0:09.16 proftpd
1 root 20 0 1648 568 496 S 0.0 0.1 0:01.08 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:03.22 ksoftirqd/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/1
7 root 15 -5 0 0 0 S 0.0 0.0 0:02.12 ksoftirqd/1
8 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
9 root 15 -5 0 0 0 S 0.0 0.0 0:00.88 events/0
10 root 15 -5 0 0 0 S 0.0 0.0 0:00.46 events/1
11 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
44 root 15 -5 0 0 0 S 0.0 0.0 0:29.54 kblockd/0
45 root 15 -5 0 0 0 S 0.0 0.0 0:26.96 kblockd/1
47 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
48 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
134 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
175 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
176 root 20 0 0 0 0 S 0.0 0.0 0:00.22 pdflush
178 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
179 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/1
656 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd
658 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
756 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
758 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata/1
759 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
827 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
828 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
885 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2
886 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3
1408 root 15 -5 0 0 0 S 0.0 0.0 0:00.58 kjournald
1566 root 16 -4 2252 640 364 S 0.0 0.1 0:00.08 udevd
2041 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
2524 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped
2537 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksnapd
2549 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
2554 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfslogd/0
2556 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfslogd/1
2557 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfsdatad/0
2558 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfsdatad/1
2559 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfs_mru_cache
2560 root 15 -5 0 0 0 S 0.0 0.0 0:02.18 xfsbufd
2561 root 15 -5 0 0 0 S 0.0 0.0 0:00.04 xfsaild
2562 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfssyncd
2563 root 15 -5 0 0 0 S 0.0 0.0 0:03.12 xfsbufd
2564 root 15 -5 0 0 0 S 0.0 0.0 0:00.06 xfsaild
2565 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfssyncd
2566 root 15 -5 0 0 0 S 0.0 0.0 0:03.74 xfsbufd
2567 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 xfsaild
2568 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfssyncd
2569 root 15 -5 0 0 0 S 0.0 0.0 0:03.28 xfsbufd