PROBLEM: memory leak in Linux 2.4 PPP code

From: David Trcka (trcka@poda.cz)
Date: Wed Nov 01 2000 - 05:37:54 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

there is maybe something wrong in newest PPP daemon or in kernel PPP code
for kernels 2.4.x. The situation is:

- - two machines, connected by nullmodem cable
- - /etc/ppp/options:
/dev/ttyS0
115200
asyncmap 0
noauth
crtscts
local
lock
persist
maxfail 0
lcp-echo-interval 10
lcp-echo-failure 6
10.0.0.1:10.0.0.2 (on first machine - server)
defaultroute (on second machine - client)
- - pppd version 2.4.0 (from ppp-2.4.0.tar.gz), kernel 2.4.0-test9 or 2.2.17
with 2.2-newppp.patch or 2.2.18pre17 with 2.2-newppp.patch
- - all of this is running on my own one-floppy distribution based on LRP
3.1.x Eiger
- - ppp 2.4.0 is used because of new multilink option, to be used in future
- - kernel PPP is compiled as modules, ppp_deflate and bsd_comp loaded, pppd
compiled on Debian Slink (distribution used to produce binaries for LRP)

The problem is:
Once the connection is established, everything goes OK, but in case one
machine is down (either client or server), pppd on another machine
periodically tries to establish connection (persist & maxfail 0), and
after some period of time (depends on number of pppd daemons running and
trying to establish connection, and on size of RAM available) that machine
crash with OOM errors (the way of crash vary - sometimes only pppd dies,
another daemons die, or just freezes, etc.)

The same situation with pppd 2.3.11 and kernel 2.2.17 & 2.2.18pre18 -
everything goes OK.

Any ideas? Thanks,

David

__________________________________________
    David Trcka, network administrator
  PODA s.r.o., Internet Service Provider
Ostrava, 28. rijna 150, The Czech Republic
        Voice/Fax: +420 69 6612600
        PGP KeyID: DAE55DA4

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5//KE5z9w2trlXaQRAr/mAJ9rVpOGDPeuMovJ5us9blZOia3akgCdHx1D
uxOY30SokKXjzOHGM/LQhcI=
=kEIO
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:09 EST