[pptp-server] max connections in FBSD

vigov vigov at com2com.ru
Mon Mar 27 08:27:49 CST 2000


Does anybody know something about limits in FBSD
i have found this fot Linux, but i need in same for BSD.

For Linux
per-process filedescriptors
        - up until a few minutes ago, one per client (would limit clients
          to 256 by default, or 1024 with kernel recompile, or more with
          major libc/kernel hackery)
        - now, no relevant limit

ttys    - currently, with a standard kernel, 256 clients
        - with Unix98 ptys and a small amount of coding, 2048

ppp devices
        - no limit in kernel source for ppp
        - limit of 100 in dev_alloc_name() in 2.2.x

      for(i=0;i<100;i++)
      {
              sprintf(dev->name,name,i);
              if(dev_get(dev->name)==NULL)
                      return i;
      }


thanx

Eugene






More information about the pptp-server mailing list