URGENT PLEASE! ProFtp help needed

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
Hello, I have a customer who has requested 130 FTP accounts and wants to know how many concurrent NON ANONYMOUS connections I can guarantee.

So, I need to I limit maximum concurrent logged FTP users for a specific domain.

Although in /etc/proftpd.conf MaxClients is set to 10, this value is commented as:

# Limit the maximum number of anonymous logins
MaxClients 10
so I presume that it limits anonymous logins only.

In fact, at the moment maximum concurrent logged FTP users for that account is set to 3.

What number of concurrent connections would you recommend I guarantee and how can I change that? 10? 20?

I do not want to have any bandwidth congestion on the server...

Imagine if say 10 concurrent connections used a 4Mbit connection with 512K upload.... would't that reduce the server to crawl on the floor?

Please give me some answers and advice.

Thanks!
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
Not sure of the code line off the top of my head but check the proftpd website, they have alot of very valuable information. As far as the bandwidth, it all depends on the size file hosting. 4mbit is not all that much bandwidth at all, ~400kilobyte per second, and with 130 users it would not take all that much to fill the pipe up at all if the file was large. Even then if they really did have 130 users online you are only looking at ~3-4kilobyte/sec per user assuming one or two users do not consume most of the bandwidth. That is also assuming you can really get the 4mbit out of your pipe which is doubtful.


Just looked at that you said 512k upload, well do the math and still you have very little bandwidth to spare. If you plan on doing ftp hosting you really need to upgrade your line to something alot bigger.
 

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
No I can assure it's not warez.... My customer is a photographic agency in Italy and they release FTP logins to photographers to allow them to upload/download photos easily.

Still, I would need an estimate... how many users would you say I could "guarantee" considering that they would only exchange high resolution pics (I suppose the max size could be just a few Mbs)?

Please kindly try to give me an estimate.

Thanks
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
Well the big thing is how fast a connection are the downloading from and how much can they transfer. I am not sure how fast the internet is over in france but I know a home broadband connection here in the states can easily pull 100-200k/sec and at that rate you could not support many at all. On the other hand 56k is really slow and only transfers 3-5k/sec.
 

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
Thanks!

At the moment the limit of concurrent connections is et to 3, would you say increasing it to 10 may have risks of killing the pipe on the server?

Thanks
 

AP

Well-Known Member
Nov 5, 2002
85
0
156
Originally posted by Ganga
Thanks!

At the moment the limit of concurrent connections is et to 3, would you say increasing it to 10 may have risks of killing the pipe on the server?

Thanks
MaxClients 10 change that to MaxClients 130

That would allow your client to create 130 ftp account or having 130 ANONYMOUS login. It will not kill your server.
 

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
Thanks for the reply, you probably didn't get though that I am talking abouth AUTHORIZED LOGGED ON users, not anonymous FTP users.

I need to increase the users FOR A SPECIFIC DOMAIN from 3 (current limit) to a higher number.

Also, is there a way that I can put a cap perhaps on both the upload and download bandwidth taken by ProFTP STILL for a specific domain ONLY?

That way I can guarantee say a higher number of concurrent users (which is what my customer wants) but having a cap on maximum bandwidth allowed, I repeat, FOR THAT DOMAIN ONLY.

Thanks to those who will give me some concrete help, I'm really in need of this.
 

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
Please, nobody has any ideas?

Someone must have surely had similar issues....

There must be a way to do this with LOGGED, AUTHORIZED (NOT ANONYMOUS!!) users for A SPECIFIC DOMAIN.

Please someone rescue me...

Thanks
 

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
For a specific account edit his package in WHM and give him 130 or 99999 or how ever many you see fit. You can create a package just for that client and give it a unique name so you know that package from others that have a more conventional amount of ftp accounts.
HTH
 

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
Thanks for your answer, although it doesn't help me at all.

I'm still in total darkness, it was obvious that I know how to CREATE FTP accounts for them (I run a hosting business after all :D)

Please, everyone, read the thread CAREFULLY.

What I want to achieve is this:

- Increase the amount of CONCURRENT AUTHORIZED (NOT ANONYMOUS) connections from the current limit of 3 to a higher figure.

- If at all possible, introduce a bandwidth cap for THAT DOMAIN ONLY so that it will not kill the server.

This way, I can give the customer the 130 FTP accounts he wants, give them say a "guarantee" of 15-20 concurrent connections with a bandwidth cap.

Thank you.
 

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
Sorry, we are not much help are we?

Just had a quick look at http://proftpd.linux.co.uk/localsite/Userguide/linked/userguide.html and noticed there was an item on Bandwidth control. Also in the Docs section there may be more answers. I don't have the time to go into this issue but you might find some answers at this url which just might turn out to be a tad quicker. I hope I am not giving you old news again. :)

Edit:
This looks interesting at http://www.pureftpd.org/README.Virtual-Users and is more in line with what you want to do perhaps. You may have to switch to pureftpd to get what you want.
 
Last edited:

Ganga

Well-Known Member
Oct 2, 2003
107
0
166
Thanks Izzee for your great kindness, I will check the documents you suggest and update this thread later on.

If anybody else too has sugegstions, they are most welcome.

Thanks!