• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Large Files With Apache and Anon FTP

J

jspilon

Guest
Hi all,

I need your advice and help ! I have customers that need to store and transfer large files. When they do so it knocks down my server :( . What i would like to know how to do and to know if possible:

- Limit number of connections to a file
- Limit resource to file downloads ( bandwith, etc.. )
- Is it better to have customers use anon ftp instead ? less resources are used ?!
- Disable memory caching of larger files than x MB ...

If you have any other suggestions please send them in, if you know any of the things above please help!!! =)

Regards,
jspilon
 
What problems do you experience? High bandwidth or many processes?
 
There is more process than usual and i ping the server for over 1100 ms responses... as well as the server to respond very slow

machine has 1gb ram and is celeron 2.4

thanks
 
Originally posted by jspilon
- Limit number of connections to a file
- Limit resource to file downloads ( bandwith, etc.. )
- Is it better to have customers use anon ftp instead ? less resources are used ?!
- Disable memory caching of larger files than x MB ...
You should check using the following ProFTPD control directives (/etc/proftpd.conf)
MaxClients -- Limits the number of users that can connect
MaxClientsPerHost -- Limits the connections per client machine
MaxClientsPerUser -- Limit the number of connections per userid
MaxConnectionRate -- Maximum TCP socket connection rate
MaxHostsPerUser -- Limit the number of connections per userid
TransferRate -- Configure upload, download transfer rates
RLimitCPU -- Configure the maximum CPU time in seconds used by a process
RLimitMemory -- Configure the maximum memory in bytes used by a process
RLimitOpenFiles -- Configure the maximum number of open files used by a process
Complete docs at:
http://www.proftpd.org/docs/directives/linked/by-name.html

I don't believe that using Anonymous would gain you any noticeable amount on resources.

Also I would not use a Celeron CPU, except on a test server...
 
Hi there,

my questions where regarding apache config... i wanted to know if using anon ftp instead of http would be better...

thanks for the proftpd tweaks... but i need help with apache
 
Back
Top