Current time: 11-27-2024, 06:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
ProFTPD high load - fix
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
ProFTPD high load - fix
das Problem mit der proftpd Load und dem langen Verbindungsaufbau besteht immer noch. Ich habe daher folgendes gemacht:

/etc/init.d/proftpd stop
mkdir /etc/proftpd/ispcp2
nano /etc/proftpd/ispcp2/proftpd-new.conf
einfügen und speichern:
Code:
<Directory ~/backups>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/backups/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/cgi-bin>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/cgi-bin/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/htdocs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/htdocs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/errors>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/errors/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/logs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/logs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/phptmp>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/phptmp/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/statistics>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/statistics/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>
nano /etc/proftpd/proftpd.conf
ändern (letzte Zeile):
Include /etc/proftpd/ispcp/*
nach:
Include /etc/proftpd/ispcp2/*
/etc/init.d/proftpd start

P.S.
den include auch in der /etc/ispcp/proftpd/proftpd.conf ändern auf ispcp2

Der Verbindungsaufbau ist nun schneller und die Load geht erheblich runter.
(This post was last modified: 01-03-2010 09:02 PM by fulltilt.)
01-03-2010 08:36 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ProFTPD high load - fix - fulltilt - 01-03-2010 08:36 PM
RE: ProFTPD high load - fix - Minganus - 02-09-2011, 04:32 AM
RE: ProFTPD high load - fix - fdriver - 07-28-2012, 09:54 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)