Re: How to simulate heavy load?

From: Miguel A.L. Paraz <>
Date: Mon, 26 May 1997 00:13:28 +0800 (HKT)

Arjan de Vet wrote:
> What you really want to know is how Squid behaves when your Internet
> connection gets saturated or parts of the Internet are not reachable for
> you. In such cases the average duration of a connection gets longer leading
> to a very large amount of parallel connections to Squid.

This will waste bandwidth, though; what I have done is to create a
CGI script that returns streams of characters, depending on the
parameters. Something like will
give you 12345 characters. Then I used libwww-perl in a script
that called the script with random numbers as to minimize hits.
To simulate the delay, you could put sleep()'s in the CGI.

miguel a.l. paraz  <>                              +63-2-893-0850
iphil communications, makati city, philippines          <> 
Received on Sun May 25 1997 - 09:16:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:15 MST