9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] arpd memory leak.
@ 2000-06-04 11:04 forsyth
  0 siblings, 0 replies; 4+ messages in thread
From: forsyth @ 2000-06-04 11:04 UTC (permalink / raw)


>>Has anyone fixed this memory leak?

http://www.caldo.demon.co.uk/plan9/dist/bod/arpd.rc might do it.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] arpd memory leak.
@ 2000-06-05 21:18 arisawa
  0 siblings, 0 replies; 4+ messages in thread
From: arisawa @ 2000-06-05 21:18 UTC (permalink / raw)


Hello.

forsyth@caldo.demon.co.uk said:
# >>Has anyone fixed this memory leak?
# http://www.caldo.demon.co.uk/plan9/dist/bod/arpd.rc might do it.

It seems fine. The followings are the log of ps.
In every 10 minute, icmp packets are sent to 4000 IPs in our domain.
It seems the memory does not graw over 100KB.
Thanks.

Mon Jun  5 18:28:23 JST 2000
arisawa      32    0:00   0:00    44K Read     arpd
Mon Jun  5 18:38:23 JST 2000
arisawa      32    0:00   0:00    84K Read     arpd
Mon Jun  5 18:48:23 JST 2000
arisawa      32    0:00   0:00    92K Read     arpd
Mon Jun  5 18:58:23 JST 2000
arisawa      32    0:00   0:00    96K Read     arpd
Mon Jun  5 19:08:23 JST 2000
arisawa      32    0:00   0:00    96K Read     arpd
Mon Jun  5 19:18:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:28:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:38:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:48:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:58:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 20:08:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 20:18:24 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 20:28:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 20:38:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 20:48:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 20:58:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:08:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:18:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:28:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:38:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:48:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:58:24 JST 2000
arisawa      32    0:00   0:02   100K Read     arpd




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] arpd memory leak.
@ 2000-06-05 21:02 arisawa
  0 siblings, 0 replies; 4+ messages in thread
From: arisawa @ 2000-06-05 21:02 UTC (permalink / raw)


Hello.

forsyth@caldo.demon.co.uk said:
# >>Has anyone fixed this memory leak?
# http://www.caldo.demon.co.uk/plan9/dist/bod/arpd.rc might do it.

It seems fine. The followings are the log of ps.
In every 10 minute, icmp packets are sent to 4000 IPs in our domain.
It seems the memory does not graw over 100KB.
Thanks.

Mon Jun  5 18:28:23 JST 2000
arisawa      32    0:00   0:00    44K Read     arpd
Mon Jun  5 18:38:23 JST 2000
arisawa      32    0:00   0:00    84K Read     arpd
Mon Jun  5 18:48:23 JST 2000
arisawa      32    0:00   0:00    92K Read     arpd
Mon Jun  5 18:58:23 JST 2000
arisawa      32    0:00   0:00    96K Read     arpd
Mon Jun  5 19:08:23 JST 2000
arisawa      32    0:00   0:00    96K Read     arpd
Mon Jun  5 19:18:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:28:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:38:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:48:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 19:58:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 20:08:23 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 20:18:24 JST 2000
arisawa      32    0:00   0:00   100K Read     arpd
Mon Jun  5 20:28:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 20:38:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 20:48:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 20:58:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:08:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:18:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:28:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:38:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:48:24 JST 2000
arisawa      32    0:00   0:01   100K Read     arpd
Mon Jun  5 21:58:24 JST 2000
arisawa      32    0:00   0:02   100K Read     arpd




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] arpd memory leak.
@ 2000-06-04  7:45 arisawa
  0 siblings, 0 replies; 4+ messages in thread
From: arisawa @ 2000-06-04  7:45 UTC (permalink / raw)


Hello 9fans,

In the old article, dhog@plan9.cs.su.oz.au said:
	I just noticed that the arpd on our cpu server is using 35M,
	according to ps!
	I don't have a lot of time right now to investigate.
	Does anyone know anything about this?

Now I am also in trouble!

I started cron to ping all IPs in 16 segments of our university
to get IPs of active hosts. The interval of measurement is 10 minutes.

Then,

# at the beginning:
cpu% ps
...
bootes       15    0:00   0:00    64K Read     cs
bootes       16    0:00   0:00     0K Wakeme   tcpack
bootes       17    0:00   0:00     0K Wakeme   tcpflow
bootes       25    0:00   0:00    48K Read     arpd
bootes       28    0:00   0:00    36K Read     icmp
bootes       29    0:00   0:00    36K Read     icmp

# after a hour:
cpu% ps
...
bootes       15    0:00   0:00    64K Read     cs
bootes       16    0:00   0:00     0K Wakeme   tcpack
bootes       17    0:00   0:00     0K Wakeme   tcpflow
bootes       25    0:00   0:00  6612K Read     arpd
bootes       28    0:32   0:47    48K Read     icmp
bootes       29    0:14   0:38    48K Read     icmp

# and the system hangs up in a night with the message:
	"no physical memory"

Has anyone fixed this memory leak?

Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-06-05 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-04 11:04 [9fans] arpd memory leak forsyth
  -- strict thread matches above, loose matches on Subject: below --
2000-06-05 21:18 arisawa
2000-06-05 21:02 arisawa
2000-06-04  7:45 arisawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).