Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 1995 22:37:50 -0400 (EDT)
From:      "Michael C. Newell" <mnewell@lupine.nsi.nasa.gov>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        hackers@freebsd.org
Subject:   Re: pppd eating CPU time
Message-ID:  <Pine.SUN.3.91.950629223247.18719A-100000@lupine.nsi.nasa.gov>
In-Reply-To: <199506300208.MAA21320@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Jun 1995, Bruce Evans wrote:

> >When I connect to it from another host (we're using both SunOS 4.1.3 and 
> >FreeBSD 1.1.5.1 as PPP clients) everything looks normal.  However, as 
> >soon as we ping an interface to verify that it is up the corresponding 
> >ppp daemon starts using up all available CPU time.  If we have two ppp 
> >daemons running, they split the time between them.  Everything works 
> >correctly (albiet commands issued on the server run REAL slowly), but 
> >there's 0% idle time.  This occurs wether or not there's data crossing 
> >the link.
> 
> Do you mean ppp?  It uses all the available CPU time when output is
> active.

No, I'm using pppd, not ijppp.  It didn't take 100% of the CPU before the 
2.0,5R upgrade (from 2.0R), and it doesn't on my 1.1.5.1 system...  And 
no data is flowing across the link; it's just burning up CPU cycles.  :-?

TOP shows:

  PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
  164 mikeppp   93    0   272K   52K run    23.5H 47.07% 47.07% pppd
 1063 absinthe  94    0   272K  560K run   416:08 46.73% 46.73% pppd
 1619 root      40    0   420K  740K run     0:01  6.27%  3.97% top
  206 root       2  -10   636K  536K sleep  17:20  0.46%  0.46% mrouted
  492 root      18    0   572K  504K sleep   0:01  0.00%  0.00% tcsh
   99 root      18    0   272K  120K sleep   0:07  0.00%  0.00% cron
		... uninteresting stuff edited out ...

"mikeppp" and "absinthe" are the two accounts dedicated to running pppd 
on my server.   This occurs even when no other network code (e.g. 
mrouted) is running.  Weird...

Thanks,

Mike

+--------------------------------------+------------------------------------+
|Mike Newell                           | The opinions expressed herein are  |
|NASA Science Internet Network Systems | my own, and do not necessarily     |
|Sterling Software, Inc.               | reflect those of the NSI program,  |
|MNewell@nsipo.nasa.gov                | Sterling Software, NASA, or anyone |
|+1-202-434-8954                       | else.                              |
+--------------------------------------+------------------------------------+
|                  work: http://www.eco.nsi.nasa.gov/~mnewell               |
|                    home: http://www.newell.arlington.va.us                |
+---------------------------------------------------------------------------+




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950629223247.18719A-100000>