Re: [squid-users] Dual Processor.

From: Francisco Obispo <fobispo@dont-contact.us>
Date: Wed, 10 Jul 2002 12:05:47 -0400

Marc Elsen wrote:

>
>Francisco Obispo wrote:
>
>
>>About the "kernel: NET: XX messages suppressed." I didn't find any other
>>related messages.. I think is due to heavy load ( > 4000 hosts).
>>
>
> Could be, did you look in /var/log/messages just above
> for each of those ...suppressed... lines ?
>
>
>

Yes ... but I never found any other "errors" from kernel... everything
looked normal..

>
>>Is there a way to calculate how many cache's I need for our http
>>service?, is there a rule of thumb?
>>
>
> Use cachemgr to and find our how many http reqs/sec you are
> serving on average load.
> Modern boxes should , should ,normally be able to handle 4000 users
> without too many problems.
>
Here's the info from cachemgr

    * 5 Minute Average of Counters
      <http://cache01-proxy-cache.reacciun.net.ve/cgi-bin/cachemgr?host=localhost&port=3128&user_name=&operation=5min&auth=>

sample_start_time = 1026215841.526380 (Tue, 09 Jul 2002 11:57:21 GMT)
sample_end_time = 1026216141.575700 (Tue, 09 Jul 2002 12:02:21 GMT)
client_http.requests = 174.138038/sec
client_http.hits = 32.028068/sec
client_http.errors = 0.000000/sec
client_http.kbytes_in = 122.189912/sec
client_http.kbytes_out = 417.761320/sec
client_http.all_median_svc_time = 0.006779 seconds
client_http.miss_median_svc_time = 2.507928 seconds
client_http.nm_median_svc_time = 0.005616 seconds
client_http.nh_median_svc_time = 0.649683 seconds
client_http.hit_median_svc_time = 0.010350 seconds
server.all.requests = 44.339377/sec
server.all.errors = 0.000000/sec
server.all.kbytes_in = 224.959683/sec
server.all.kbytes_out = 30.095052/sec
server.http.requests = 44.339377/sec
server.http.errors = 0.000000/sec
server.http.kbytes_in = 224.959683/sec
server.http.kbytes_out = 30.095052/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.000000/sec
server.other.errors = 0.000000/sec
server.other.kbytes_in = 0.000000/sec
server.other.kbytes_out = 0.000000/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.012689 seconds
unlink.requests = 0.000000/sec
page_faults = 0.000000/sec
select_loops = 156.500938/sec
select_fds = 742.131327/sec
average_select_fd_period = 0.001333/fd
median_select_fds = 3.984375
swap.outs = 10.101673/sec
swap.ins = 26.095710/sec
swap.files_cleaned = 0.000000/sec
aborted_requests = 8.448611/sec
syscalls.polls = 228.989021/sec
syscalls.disk.opens = 36.104064/sec
syscalls.disk.closes = 36.204048/sec
syscalls.disk.reads = 35.244206/sec
syscalls.disk.writes = 52.201418/sec
syscalls.disk.seeks = 0.000000/sec
syscalls.disk.unlinks = 1.479757/sec
syscalls.sock.accepts = 213.498234/sec
syscalls.sock.sockets = 30.021731/sec
syscalls.sock.connects = 29.721780/sec
syscalls.sock.binds = 29.805100/sec
syscalls.sock.closes = 182.926594/sec
syscalls.sock.reads = 447.799715/sec
syscalls.sock.writes = 322.763604/sec
syscalls.sock.recvfroms = 12.541272/sec
syscalls.sock.sendtos = 6.812213/sec
cpu_time = 292.770000 seconds
wall_time = 300.049320 seconds
cpu_usage = 97.573959%

------------------------------------------------------------------------

it looks very strange that, with only ~180 req/sec. I get Messages
suppressed..

>
>
>
>>thanks..
>>
>>-francisco
>>
>
Received on Wed Jul 10 2002 - 10:06:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:12 MST