Re: [squid-users] Large scale high performance squid on FreeBSD - problems

This is a discussion on Re: [squid-users] Large scale high performance squid on FreeBSD - problems within the Squid Users forums, part of the Web Server and Related Forums category; γΙΤΥΐ Henrik Nordstrom <hno@squid-cache.org>: > On Fri, 5 Dec 2003, Andriy Korud wrote: > > > ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-05-2003
Andriy Korud
 
Posts: n/a
Default Re: [squid-users] Large scale high performance squid on FreeBSD - problems

γΙΤΥΐ Henrik Nordstrom <hno@squid-cache.org>:

> On Fri, 5 Dec 2003, Andriy Korud wrote:
>
> > Hi, I need to setup squid for approx 3000 clients on 30Mbit link.

> Estimated
> > load is 10000reqs/min.
> >
> > Hardware is Xeon/2.8GHz, 1G RAM, Intel 1000/PRO Ethrenet and 2x36 Ultra320

> SCSI
> > disks dedicated for cache.

>
> Should be fine, but you might want more than 2 drives for the cache here..
>
> > The problem is the following:
> > at about 2000reqs/min Squid works fine using ~50% CPU, however when load

> grows
> > to 3000reqs/min Squid suddenly goes to 100% CPU and system becomes
> > unresponsible at all.

>
> Makybe the disks can't keep up and a backlog of requests builds up,
> and things spiral out from there..
>
> Is there anything interesting in cache.log?
>

Nothing except
comm_accept: FD 12: (53) Software caused connection abort
1-5 times per second.
I don't think problem is with disks: diskd processes use 1% CPU, while squid
process itself - 99-100%. And as CPU usage grows, visual disks activity
reduces.
Part of my squid.conf and system maxfiles:

cache_mem 100 MB
maximum_object_size 8096 KB
maximum_object_size_in_memory 24 KB
cache_dir diskd /cache1/squid 31000 38 256
cache_dir diskd /cache2/squid 31000 38 256

proxy# sysctl -a | grep maxfiles
kern.maxfiles: 4136
kern.maxfilesperproc: 3722

Andriy

P.S. Maybe somebody knows where can I read about optimal squid&FreeBSD
configuration for such scale?

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0