Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

More then 3 people logged into FTP at them same time?

Discussion in 'General Discussion' started by mammut, Jul 16, 2004.

  1. mammut

    mammut Member

    Joined:
    Oct 21, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
    Right now only 3 people can be logged on to the FTP at them same time, how do I change it to 6 or more? :)
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Which ftp server are you using, proftpd or pureftpd?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mammut

    mammut Member

    Joined:
    Oct 21, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
    Im using pure-ftpd. :)
     
  4. Damian

    Damian Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    99
    Likes Received:
    6
    Trophy Points:
    308
    Edit the following file:

    /etc/sysconfig/pureftpd

    and set the value

    --maxclientsperip=3

    to

    --maxclientsperip=6

    or any other value you require. Be sure to protect the file from cPanel updates by issuing:

    chattr +i /etc/sysconfig/pureftpd

    Every now and again unprotect it (chattr -i) to allow cPanel to update it and make the required changes again. This just makes sure you don't miss anything important.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Would the configuration file option override the command line option, or is it the other way round?

    If so, setting the following in /etc/pure-ftpd.conf would remove the need for chattr:

    PerUserLimits 6
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mammut

    mammut Member

    Joined:
    Oct 21, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
  7. fleksi

    fleksi Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    166
    proftpd

    how about proftpd?
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    proftpd is usually configured with a maxium concurrency of 30 connections for the whole daemon. Have a look in /etc/proftpd.conf for MaxInstances. You can restrict connections per domain too, but will need to have a look through the proftpd documentation:
    http://www.proftpd.org/docs/faq/Configuration.html
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice