On recent crashes

Gary Mu1der gmulder at infotechfl.com
Tue Jun 28 17:30:23 GMT 2005


Vivek Khera wrote:
>> If you have a spare server you don't mind crashing, can you try  
>> running 20-60 instances of the following script:
>>
>> #!/bin/sh
>>
>> while :
>> do
>>         arp -d <some valid IP> >/dev/null 2>&1
>>         ping -c 1 -t 1 <the same valid IP> >/dev/null 2>&1
>> done
>>
> 
> all copies pinging the same remote IP or different remote IP's?

Different, as the FreeBSD systems I was pinging were rate-limiting the 
pings.

Here's excatly what I'm doing:

d5# cat arping.sh
#!/bin/sh

while :
do
         arp -d 192.168.4.$1 >/dev/null 2>&1;
         ping -c 1 -t 1 192.168.4.$1 >/dev/null 2>&1;
done

# for X in 13 4 101 44 13 4 101 44 13 4 101 44 13 4 101 44 13 4 101 44 
13 4 101 44 13 4 101 44 13 4 101 44; do ./arping.sh $X & done

Gary


More information about the freebsd-stable mailing list