The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URGENT PLEASE! ProFtp help needed

Discussion in 'General Discussion' started by Ganga, Apr 21, 2004.

  1. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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:

    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!
     
  2. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    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.
     
  3. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  4. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    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.
     
  5. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  6. AP

    AP Well-Known Member

    Joined:
    Nov 5, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  7. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  8. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  9. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  10. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  11. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
    #11 Izzee, Apr 25, 2004
    Last edited: Apr 25, 2004
  12. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
Loading...

Share This Page