[squid-users] Fw: HTTP requests per minute: 507.4

From: Edward <edward@dont-contact.us>
Date: Tue, 15 May 2001 22:39:48 -0400

Sorry!

I have:

squid 2.5 snapshot May 12
192MB
3 9GB SCSI UW HD (4 GB partition)
400MHz PII

Squid Object Cache: Version 2.5.DEVEL

      Start Time: Wed, 16 May 2001 02:17:43 GMT
      Current Time: Wed, 16 May 2001 02:37:24 GMT

Connection information for squid:
        Number of clients accessing cache: 96
        Number of HTTP requests received: 9804
        Number of ICP messages received: 0
        Number of ICP messages sent: 0
        Number of queued ICP replies: 0
        Request failure ratio: 0.00%
        HTTP requests per minute: 498.4
        ICP messages per minute: 0.0
        Select loop called: 128456 times, 9.189 ms avg
Cache information for squid:
        Request Hit Ratios: 5min: 49.7%, 60min: 45.7%
        Byte Hit Ratios: 5min: 25.2%, 60min: 21.6%
        Request Memory Hit Ratios: 5min: 3.4%, 60min: 2.1%
        Request Disk Hit Ratios: 5min: 24.7%, 60min: 28.5%
        Storage Swap size: 8522748 KB
        Storage Mem size: 7924 KB
        Mean Object Size: 12.78 KB
        Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
        HTTP Requests (All): 1.81376 2.25116
        Cache Misses: 4.30363 4.30363
        Cache Hits: 0.02451 0.02592
        Near Hits: 3.46762 3.66001
        Not-Modified Replies: 0.02190 0.01648
        DNS Lookups: 0.01153 0.01153
        ICP Queries: 0.00000 0.00000
Resource usage for squid:
        UP Time: 1180.370 seconds
        CPU Time: 172.180 seconds
        CPU Usage: 14.59%
        CPU Usage, 5 minute avg: 13.27%
        CPU Usage, 60 minute avg: 14.75%
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 8950
Memory usage for squid via mallinfo():
        Total space in arena: 86076 KB
        Ordinary blocks: 86063 KB 133 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 3300 KB 6 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 12 KB
        Total in use: 89363 KB 104%
        Total free: 12 KB 0%
Memory accounted for:
        Total accounted: -1 KB
        memPoolAlloc calls: 4115170
        memPoolFree calls: 2750537
File descriptor usage for squid:
        Maximum number of file descriptors: 1024
        Largest file desc currently in use: 417
        Number of file desc currently in use: 351
        Files queued for open: 0
        Available number of file descriptors: 673
        Reserved number of file descriptors: 100
        Store Disk files open: 0
Internal Data Structures:
        666895 StoreEntries
          1259 StoreEntries with MemObjects
          1156 Hot Object Cache Items
        666772 on-disk objects

http_port 3128icp_port 3130httpd_accel_port 80httpd_accel_host virtualhttpd_accel_with_proxy onhttpd_accel_uses_host_header on#cache_peer proxy1.interpacket.net parent 3128 3130 no-digest# Redirect for LAN & SATacl sat1_service_net src 64.110.11.0/255.255.255.0acl sat2_service_net src 209.198.221.160/255.255.255.240tcp_outgoing_address 64.110.11.2 sat1_service_nettcp_outgoing_address 64.110.11.2 sat2_service_nettcp_outgoing_address 200.50.68.7# Endforwarded_for oncache_mem 8 MBmemory_pools onmemory_pools_limit 40 MBmaximum_object_size 24 MBcache_swap_high 100cache_swap_low 95#store_dir_select_algorithm round-robinipcache_size 16384ipcache_low 95ipcache_high 100dns_testnames www.cariaccess.comdns_retransmit_interval 3 secondsnegative_ttl 1 minutenegative_dns_ttl 1 minutedns_nameservers 200.50.68.5 200.50.68.6 200.50.68.4 205.214.192.201 205.214.192.202redirect_children 20refresh_pattern ^ftp: 1440 20% 10080refresh_pattern ^gopher: 1440 0% 1440refresh_pattern . 60 20% 4320half_closed_clients offacl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl localhost src 127.0.0.1/255.255.255.255acl SSL_ports port 443 563acl Safe_ports port 80 21 443 563 70 210 1025-65535acl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECThttp_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_portshttp_access deny CONNECT !SSL_portshttp_access allow allicp_access allow allmiss_access allow allcache_mgr cacher@cariaccess.comcache_effective_user squidcache_effective_group squidvisible_hostname cacbdscachesrvrunique_hostname cacbdscachesrvrappend_domain .cariaccess.comwccp_router 0.0.0.0wccp_version 4logfile_rotate 0cache_store_log nonecache_access_log nonecache_log /dev/null#cache_access_log /usr/local/squid/logs/access.log#cache_log /usr/local/squid/logs/cache.logmime_table /usr/local/squid/etc/mime.conficon_directory /usr/local/squid/etc/iconserror_directory /usr/local/squid/etc/errorsprefer_direct oncoredump_dir /cache0cache_replacement_policy heap LFUDAmemory_replacement_policy heap LFUDAcache_dir diskd /cache0 4000 9 256 Q1=72 Q2=64cache_dir diskd /cache1 4000 9 256 Q1=72 Q2=64cache_dir diskd /cache2 4000 9 256 Q1=72 Q2=64cache_dir diskd /cache3 4000 9 256 Q1=72 Q2=64# Delay Poolsdelay_pools 1delay_class 1 2acl wireless src 200.50.68.50-200.50.68.63acl ASB src 200.50.68.10delay_access 1 allow wirelessdelay_access 1 allow ASBdelay_access 1 deny ALLdelay_parameters 1 25000/25000 12500/13750

----- Original Message -----
From: Edward
To: squid
Sent: Tuesday, May 15, 2001 10:34 PM
Subject: HTTP requests per minute: 507.4

Hi there!

Why is it that when I restart squid and it runs for about an hour or less, that my HTTP requests per minute: reachs a very high max value and then comes back down?

I was doing about 336 request per min.

I stop squid and restart it. It then when up to HTTP requests per minute: 507.4

How can I prevent this problem?

Could it be a memory problem?

Here is the top command output:

 10:34pm up 1 day, 1:22, 1 user, load average: 0.19, 0.19, 0.18
71 processes: 45 sleeping, 3 running, 23 zombie, 0 stopped
CPU states: 5.5% user, 12.8% system, 0.0% nice, 81.5% idle
Mem: 196180K av, 193732K used, 2448K free, 0K shrd, 53808K buff
Swap: 88316K av, 0K used, 88316K free 19300K cached

  PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM CTIME COMMAND
16133 squid 14 0 90076 87M 2964 R 16.6 45.9 2:33 squid
16324 root 2 0 984 984 768 R 0.7 0.5 0:00 top
16136 squid 1 0 832 832 768 S 0.3 0.4 0:00 diskd
    3 root 0 0 0 0 0 SW 0.1 0.0 0:08 kupdate
  348 root 0 0 612 612 512 S 0.1 0.3 1:58 syslogd
16135 squid 0 0 832 832 768 S 0.1 0.4 0:00 diskd
    1 root 0 0 508 508 448 S 0.0 0.2 104:42 init
    2 root 0 0 0 0 0 SW 0.0 0.0 0:00 kflushd
    4 root 0 0 0 0 0 SW 0.0 0.0 0:02 kswapd
    5 root 0 0 0 0 0 SW 0.0 0.0 0:00 keventd
    6 root -20 -20 0 0 0 SW< 0.0 0.0 0:00 mdrecoveryd
   63 root 0 0 0 0 0 SW 0.0 0.0 0:00 khubd
  358 root 0 0 872 872 464 S 0.0 0.4 0:00 klogd
  384 nobody 0 0 728 728 608 S 0.0 0.3 0:00 identd
  391 nobody 0 0 728 728 608 S 0.0 0.3 0:00 identd
  392 nobody 0 0 728 728 608 S 0.0 0.3 0:00 identd
  393 nobody 0 0 728 728 608 S 0.0 0.3 0:00 identd

Any reason for this occurrence?

Thank you very much.

Best regards,
 
Edward Millington
(Network Administrator & Senior Technical Support Technician)
Cariaccess Communications Ltd.
Wildey
St. Michael
Barbados
1-246-430-7435
Fax : 1-246-431-0170
www.cariaccess.com
Received on Tue May 15 2001 - 20:39:03 MDT

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