login sessions to my host eat >90% CPU time

login sessions to my host eat >90% CPU time

Post by Ron Ar » Sun, 22 Jan 1995 08:19:03



Hi,

This is a piece of my `top' output. Look at PID 1798. It's eating all CPU.

12:12am  up  3:52,  8 users,  load average: 2.75, 2.33, 1.66
51 processes: 48 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: 14.9% user,  0.0% nice, 85.9% system,  0.0% idle
Mem:  15040K av, 14776K used,   264K free,  5612K shrd,  2152 buff
Swap: 16380K av,  1536K used, 14844K free

  PID USER     PRI  NI SIZE  RES SHRD STAT %CPU %MEM  TIME COMMAND
 1798 root      20   0   48  180  276 R    84.4  1.1177:20 login -h na1tty0b.ne
 4373 root      18   0  108  320  316 R    12.0  2.1  0:00 top
 4286 news       2   0  313  472  324 D     2.5  3.1  0:31 relaynews -r -n -o 6
 4020 info       2   0 2940 2960  632 S     1.0 19.6  0:25 /usr/local/bin/tin -

Now look at the output of the `w' command:

 12:15am  up  3:55,  8 users,  load average: 3.28, 2.69, 1.91

raarts   tty3     10:48pm                      -
root     tty4     12:11am                      -
info     ttyS1    12:11am                      -
Sbjorn   ttyS3    11:03pm  1:12                -
Skleinja ttyS9    12:01am    14                -
info     ttyS10   11:42pm                      -
Smannees ttyS0    11:33pm    42                -
drpepper ttyp1     8:44pm  3:20                -

See this last line? It's* around, but user drpepper disconnected
a long time ago. He had a SLIP connection with this host, and telnet'ed
into it.

I get this behaviour lots of times.
Does anybody know why? I've seen this with every kernel I used so far.

Thanks for any help,
Ron Arts

--
NetLand Internet Services - Email, Usenet, gopher, WWW, ftp, telnet etc
We also set up Internet-connected BBS'es or a WWW server for your organisation

<A HREF = "http://www.veryComputer.com/;>Info</A> (dutch language only).

 
 
 

1. login never terminates, eats a lot of CPU-time.

I'm having problems with users who don't logout from telnet-session.
The login program just hangs and eats a lot of CPU-time. The only way to
get rid of this task is to kill it manually.

It happens when someone just kills his x-term window or looses carrier when
calling from a modemline.

Has anyone solution to my problem?

Thanks.

| <-------------- this space is for rent ------------------------>  |\/\/\/|
| __._. __.. O   Name  : MAREK RZEWUSKI      If it weren't for the  |      |
|____ ._..  /\,  Smail : AVSTIKKEREN 11       last minute, nothing  |      |
|         -|~(*) Smail : 1156 OSLO, NORWAY               would get  (o)(o) |
|::::::.  (*)    tel.  : 22745099, 90060435                  done. (_      )
|:::::::::........................................................  |___, |

|    http://www.internet.no/~marek http://www.ifi.uio.no/~marekr     /____\
|    Internet Norge as, tel.:22251480 fax:22255057 data:22161980    /      \
`--------------------------------------------------------------------------'

2. Sparq EIDE drive on Linux - How???

3. Truss on process with high CPU usage shows 90 % time() calls

4. NS 4.77 find problem

5. telnetd taking up more than 90% of CPU time

6. Question about xdm

7. Redhat 6.1 and Epson 700 on PC

8. klogd using 90% CPU time

9. Bother with the CCSDaemon eating up my CPU time.

10. sendmail daemon eating up cpu time

11. utmpd eating up CPU time?

12. cmdtool eats CPU time