Squid slows down...

From: Martin Svensson <[email protected]>
Date: Wed, 11 Aug 1999 13:51:42 +0200

Hi Everyone ..

Sometimes our squid-box get's very slow connecting to.
When you try to connect to a site, netscape just says:
Connecting to our_proxy.mas.lu.se then nothing happens.
Sometimes it says: Connect to www.website.com, Waiting for reply
on all sites, both those that are in the cache and those which are not.

If you open 5 Netscape windows, it can say "Waiting for reply" on every
site, then every site get's downloaded at once after say 20 sec delay.

Our box:
P2, 450MHz
256Mb memory (100Mb to squid)
4Gb Cache (IDE)
Cpu usage: 2-30% and there ain't no Iowait (accordning to vmstat)

OS: Linux 2.2.6 with 3com Etherlink XL on it's own subnet (10Mbit)
Internet-connection: one 6Mbit and one 2Mbit
Peak: 45000 req's / hour

I've attached the output for the 5 min. Average ..

Thanks!

--
Martin Svensson
Dep. of Technology (AFI)
University Hospital of Malmoe
Email: martin@admin.mas.lu.se

ample_start_time = 934371653.155036 (Wed, 11 Aug 1999 11:40:53 GMT)
sample_end_time = 934371953.207868 (Wed, 11 Aug 1999 11:45:53 GMT)
client_http.requests = 12.297834/sec
client_http.hits = 4.569195/sec
client_http.errors = 0.000000/sec
client_http.kbytes_in = 4.929132/sec
client_http.kbytes_out = 46.175202/sec
client_http.all_median_svc_time = 0.421485 seconds
client_http.miss_median_svc_time = 0.649683 seconds
client_http.nm_median_svc_time = 0.005616 seconds
client_http.nh_median_svc_time = 0.469653 seconds
client_http.hit_median_svc_time = 0.017451 seconds
server.all.requests = 8.435181/sec
server.all.errors = 0.000000/sec
server.all.kbytes_in = 37.706693/sec
server.all.kbytes_out = 4.245919/sec
server.http.requests = 8.225218/sec
server.http.errors = 0.000000/sec
server.http.kbytes_in = 37.136793/sec
server.http.kbytes_out = 4.072616/sec
server.ftp.requests = 0.000000/sec
server.ftp.errors = 0.000000/sec
server.ftp.kbytes_in = 0.000000/sec
server.ftp.kbytes_out = 0.000000/sec
server.other.requests = 0.209963/sec
server.other.errors = 0.000000/sec
server.other.kbytes_in = 0.569900/sec
server.other.kbytes_out = 0.173303/sec
icp.pkts_sent = 0.000000/sec
icp.pkts_recv = 0.000000/sec
icp.queries_sent = 0.000000/sec
icp.replies_sent = 0.000000/sec
icp.queries_recv = 0.000000/sec
icp.replies_recv = 0.000000/sec
icp.replies_queued = 0.000000/sec
icp.query_timeouts = 0.000000/sec
icp.kbytes_sent = 0.000000/sec
icp.kbytes_recv = 0.000000/sec
icp.q_kbytes_sent = 0.000000/sec
icp.r_kbytes_sent = 0.000000/sec
icp.q_kbytes_recv = 0.000000/sec
icp.r_kbytes_recv = 0.000000/sec
icp.query_median_svc_time = 0.000000 seconds
icp.reply_median_svc_time = 0.000000 seconds
dns.median_svc_time = 0.001033 seconds
unlink.requests = 2.662864/sec
page_faults = 3.732676/sec
select_loops = 131.460182/sec
select_fds = 153.889566/sec
average_select_fd_period = 0.000000/fd
median_select_fds = 0.000000
swap_files_cleaned = 0.416593/sec
aborted_requests = 3.709347/sec
syscalls.selects = 140.755212/sec
syscalls.disk.opens = 6.012275/sec
syscalls.disk.closes = 6.015607/sec
syscalls.disk.reads = 4.999120/sec
syscalls.disk.writes = 22.689338/sec
syscalls.disk.seeks = 0.393264/sec
syscalls.disk.unlinks = 0.000000/sec
syscalls.sock.accepts = 19.129964/sec
syscalls.sock.sockets = 7.162072/sec
syscalls.sock.connects = 7.162072/sec
syscalls.sock.binds = 0.000000/sec
syscalls.sock.closes = 16.987008/sec
syscalls.sock.reads = 68.884536/sec
syscalls.sock.writes = 54.107138/sec
syscalls.sock.recvfroms = 0.000000/sec
syscalls.sock.sendtos = 0.000000/sec
cpu_time = 14.870000 seconds
wall_time = 300.052832 seconds
cpu_usage = 4.955794%
Received on Wed Aug 11 1999 - 05:46:55 MDT

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