Hi,
i have a problem with my small proxy_wake script. I use this script to wake my squid-proxy-box when a client connect to wl500g. The script sends 3 pings every 15 sec. becouse the ping timeout comes after 10 sec with this Command: ping -c 1 192.168.1.6.
But when this scipt is run around 4 hours then i can not connect to wl500g. I think the problem is that each ping open a new socket and the timeout is too long this use more and more memory.
How can i set the socket timeout or have somebody any other ideas?

The netstat -a output after 1 hour shows lots of this lines:

Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 23808
unix 2 [ ] DGRAM 23805
.
. around 100 lines
.
unix 2 [ ] DGRAM 23704