Begin forwarded message:
Date: Fri, 2 Dec 2005 13:53:04 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5695] New: pppd hangs after disconnect on tty_set_ldisc when sch_htb used http://bugzilla.kernel.org/show_bug.cgi?id=5695 Summary: pppd hangs after disconnect on tty_set_ldisc when sch_htb used Kernel Version: 2.6.14.3 Status: NEW Severity: normal Owner: [EMAIL PROTECTED] Submitter: [EMAIL PROTECTED] Software Environment: SMP linux kernel + linux-2.6.13-mppe-mppc-1.3 patch PoPToP v1.1.4-b4, pppd version 2.4.2b3 (mppe patch). #lsmod Module Size Used by cls_u32 8580 22 sch_sfq 6016 22 sch_htb 17280 22 ppp_deflate 6016 0 zlib_deflate 22936 1 ppp_deflate zlib_inflate 18304 1 ppp_deflate bsd_comp 6528 0 8021q 19080 0 e1000 105268 0 sha1 3328 343 arc4 2688 343 ppp_mppe_mppc 15876 343 ppp_async 10240 178 crc_ccitt 2816 1 ppp_async ppp_generic 27412 716 ppp_deflate,bsd_comp,ppp_mppe_mppc,ppp_async slhc 7040 1 ppp_generic Problem Description: When i load sch_htb, some of pppd processes hang after disconnecting on executing ioctl(8, TIOCSETD (i run strace -p <pppd_pid>) 'ps -l' shows tty_set_ldisc in WCHAN for this process vmstat's "context switches" have a huge value - 50000 when 2 pppd hangs. hanged pppd try exit after unsuccessfull user's authorization. so it does not bring self ppp interface up and not apply any "tc qdisc" to it. tc qdisc applyed on ip-up when ppp is UP and IP assigned to interface. on ip- down i make 'tc qdisc del dev PPPD_IFACE root'. when no sch_* modules loaded and tc not used all works fine. Steps to reproduce: pppd hangs sometimes. my server accept more then 11000 pptp connections for 1 day. an i had near 20 hanged pppd. PS sorry for my ugly english :( ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html