Wow! I didn't know it was that bad. I ran each test twice. I didn't know if you wantted all the stats, or just the speeds. Below are the speeds:

Without the proxy -
482 Kbits (I have a T1, I was shocked.  But that's not a squid issue)
499 Kbits

With the proxy -
98 Kbits
16 Kbits

I kept an eye on top while doing the tests with the proxy set, and squid did not take anymore than 2% of the CPU. The load average is 0.04 right now.

Anything else?


Joseph Rinckey

Angela Burrell wrote:
Hi Joseph

Here is an interesting link that a list member posted a while back with the
same problem. This is a link to a website where you can do speed tests.

http://www.numion.com/yourspeed/

Please try the test with your squid on, then again with your squid off. and
post the results.

Thanks

AB

-----Original Message-----
From: Joseph Rinckey [mailto:[EMAIL PROTECTED]
Sent: September 9, 2004 12:25 PM
To: [EMAIL PROTECTED]
Subject: [squid-users] squid slow --- don't know why


Hello List,

I am new to this list and new to squid.  I am having some trouble with
my proxy (squid) running really slow.  I have searched the Internet and
I have also looked in the archives of this list.  I found that some
threads in the archives suggest not enough memory and squid having to
use swap.  I've also found some treads on dns quieries slowing things
down.  I don't think either of these are reasons why my squid is running
slow.

Here are some details:

Computer Specs:
---------------
- dual 400Mhz CPU
- 1 G RAM
- 31G SCSI hard drive
- running debian linux (sarge)

When I ps -aux and look at how much memory squid is using it only uses
about 32M.  It looks as though I have plenty of memory.  I installed a
caching-only version of bind, and everything seems to be resolving fast.

If I browse the Internet without the proxy everything goes really fast
(T1 connection).  Once I have my browser use the proxy though, it still
works, but really slow 5-30 sec/page.

Oh, one more detail.  I have squid setup to authenticate via ldap_auth.

Below is my cache.log file.  I do not know what else you might need me
to give you to help me, so if there is something else please let me know.

cache.log:
------------
2004/09/09 12:01:01| Starting Squid Cache version 2.5.STABLE6 for
i386-debian-linux-gnu...
2004/09/09 12:01:01| Process ID 10378
2004/09/09 12:01:01| With 1024 file descriptors available
2004/09/09 12:01:01| DNS Socket created at 0.0.0.0, port 32934, FD 5
2004/09/09 12:01:01| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2004/09/09 12:01:01| helperOpenServers: Starting 10 'ldap_auth' processes
2004/09/09 12:01:01| User-Agent logging is disabled.
2004/09/09 12:01:01| Referer logging is disabled.
2004/09/09 12:01:01| Unlinkd pipe opened on FD 20
2004/09/09 12:01:01| Swap maxSize 25600000 KB, estimated 1969230 objects
2004/09/09 12:01:01| Target number of buckets: 98461
2004/09/09 12:01:01| Using 131072 Store buckets
2004/09/09 12:01:01| Max Mem  size: 262144 KB
2004/09/09 12:01:01| Max Swap size: 25600000 KB
2004/09/09 12:01:01| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2004/09/09 12:01:01| Rebuilding storage in /cache (CLEAN)
2004/09/09 12:01:01| Using Least Load store dir selection
2004/09/09 12:01:01| Set Current Directory to /var/spool/squid
2004/09/09 12:01:01| Loaded Icons.
2004/09/09 12:01:01| Accepting HTTP connections at 0.0.0.0, port 3128,
FD 22.
2004/09/09 12:01:01| Accepting ICP messages at 0.0.0.0, port 3130, FD 23.
2004/09/09 12:01:01| HTCP Disabled.
2004/09/09 12:01:01| WCCP Disabled.
2004/09/09 12:01:01| Ready to serve requests.
2004/09/09 12:01:02| Store rebuilding is  3.0% complete
2004/09/09 12:01:06| Done reading /cache swaplog (135414 entries)
2004/09/09 12:01:06| Finished rebuilding storage from disk.
2004/09/09 12:01:06|    135414 Entries scanned
2004/09/09 12:01:06|         0 Invalid entries.
2004/09/09 12:01:06|         0 With invalid flags.
2004/09/09 12:01:06|    135414 Objects loaded.
2004/09/09 12:01:06|         0 Objects expired.
2004/09/09 12:01:06|         0 Objects cancelled.
2004/09/09 12:01:06|         0 Duplicate URLs purged.
2004/09/09 12:01:06|         0 Swapfile clashes avoided.
2004/09/09 12:01:06|   Took 4.8 seconds (28048.1 objects/sec).
2004/09/09 12:01:06| Beginning Validation Procedure
2004/09/09 12:01:06|   Completed Validation Procedure
2004/09/09 12:01:06|   Validated 135414 Entries
2004/09/09 12:01:06|   store_swap_size = 1076212k
2004/09/09 12:01:06| storeLateRelease: released 0 objects


Thank You for your help,


Joseph Rinckey




Reply via email to