google-code-export / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

pinger process is constantly created #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There's a lot of pinger processes created and active on Lusca-HEAD. Figure out 
why.

Original issue reported on code.google.com by adrian.c...@gmail.com on 3 Nov 2009 at 5:35

GoogleCodeExporter commented 9 years ago
The problem is easy. icmpClose() calls icmpOpen() to reopen the pinger. 
icmpOpen() doesn't check to see if a 
pinger is already running before re-opening it. So it always starts one.

This is fine in case of an error but it sucks if icmpClose() and icmpOpen() are 
called together (eg during log 
rotation).

I'll add something to icmpOpen() to avoid opening the pinger if it is already 
open.

Original comment by adrian.c...@gmail.com on 3 Nov 2009 at 5:36

GoogleCodeExporter commented 9 years ago
Committed in r14353.

Original comment by adrian.c...@gmail.com on 3 Nov 2009 at 5:42

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by adrian.c...@gmail.com on 6 Jan 2010 at 2:16