Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 fixed pty allocation

open
nobody
None
5
2005-01-15
2005-01-15
krichy
No

A bug existed there, when more than 256 paralell
sessions were active. As a result, some forked pppd
processes had some other terminals master fds open,
thus allocating that terminal, and that way the system
could run out of pseudo-terminals much earlier, than
expected.

Discussion

  • krichy
    krichy
    2005-01-15

  • Thomas Surrel
    Thomas Surrel
    2009-08-14

    Is the problem not comming from the 256 hard coded limitation instead ?

    #define MAX_FDS 256
    should be increased to be able to receive more connections, or be configurable.