Package: ppp
Version: 2.4.3-20050321+2
Severity: important

As the subject says, when using pty, pppd will leak file handles. This
can be most easily seen with the following script:

--- /etc/ppp/peers/test ---
pty     "sleep 0"
user    "test"
noauth
idle 0
# Just keep on trying to reconect... even if it appears futile!
maxfail 0
persist
--------

Depending on the speed of the machine, after about a minute it will log
the message:
Exit.

into /var/log/messages. If before it does so you run lsof on the running
pppd you will see that it has hundreds of references to deleted
/dev/pts/*. I believe that what is happening is that it is running until
it uses up all of it's file handles, and then falls over. I noticed this
running my pptp client, as although it takes much longer to happen, it
still happens.

Hope this helps,
Paul

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-5-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ppp depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpam-modules              0.76-22      Pluggable Authentication Modules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpcap0.7                  0.7.2-7      System interface for user-level pa
ii  makedev                     2.3.1-78     creates device files in /dev
ii  netbase                     4.21         Basic TCP/IP networking system
ii  procps                      1:3.2.5-1    /proc file system utilities
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to