Package: ppp
Version: 2.4.3-20050321+1

Hi,

My setup is pppoe with the rp-pppoe-plugin. I am "alwalys on" with the
persist option, although forcibly disconnected by my provider every 24h.
Thank to the persist option pppd reconnects automatically after a
disconnect.

Now the problem: The first connects succeeds and all behaves as
exspected. After the the first dis- and reconnect (i.e. after 24h) pppd
eats up all cpu time. The reconnect itself works as expected, but the
systems becomes notably slow with pppd playing cpu-hog.

An strace looks like this:
read(14, 0x808f7a2, 1502)               = -1 EAGAIN (Resource
temporarily unavailable)
read(13, 0x808f7a2, 1502)               = -1 EAGAIN (Resource
temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1114424467, 453717}, NULL) = 0
select(15, [12 13 14], NULL, [12 13 14], {6, 267221}) = 1 (in [12], left
{6, 268000})
gettimeofday({1114424467, 454119}, NULL) = 0
read(14, 0x808f7a2, 1502)               = -1 EAGAIN (Resource
temporarily unavailable)
read(13, 0x808f7a2, 1502)               = -1 EAGAIN (Resource
temporarily unavailable)

with fd 13 and 14 being connected to /dev/ppp.

Bye,

Joerg

Attachment: signature.asc
Description: Digital signature

Reply via email to