[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Anonymous FTP - Overload
- Subject: [cobalt-users] Anonymous FTP - Overload
>Hello,
On the raq2 proftp runs as a inetd service, inetd has a max connection limit
as well (40) and it's smaller than proftp's...you can up it somewhat by adding
a number in /etc/inetd.conf,
ie:
ftp stream tcp nowait.255 root /usr/sbin/tcpd in.proftpd
to allow 255 simultanous proftp's to be running...
it's not a completly great fix tho, inetd
will back off connections for other reasons as well, (inetd also adds 2
file handles per connection, thus why you run out easily)
ideally proftp
needs to be a background/standalone service to handle really large user
counts...(requires some serious reconfiguring , may have security issues)
You *have* done the bandwith math?
1000 users * 56,000 bps = I_hope_to_god_you_have_a_T3 -/
>
>I have a RAQ2 with 64 MB Ram. I rent this, it's not actually on site.
>
>My primary purpose is to support a single site which gets several thousand
>visitors per day and a lot of anonymous downloads.
>
>When I release a new version of my software my site receives a lot of
>traffic as in the case today.
>
>For most of the day users have complained that they can not FTP the files.
>
>I have allowed anywhere from 150-1000 concurrent anonymous users yet at any
>time using 'ps' I only see 20-40 (max) proftpd processes running and the
>xferlog shows certainly no more activity.
>
>Meanwhile, I have verified it's almost impossible to download the files. I
>get various messages from the site not found with FTP to the File not found.
>
>Earlier in the day I had an error that there were too many files open and I
>changed the setting for this from 1024 to 3072 and restarted the FTP server
>(I know it may not be necessary).
>
>If anyone has any information relating to this I would appreciate it.
>
>Thanks, Ian