Dear Henrik,
thanks again for the reply.
I solved the problem for the analysis using the scripts of NLANR but this
only worked with native format of access.log
when the emulate_httpd_log is on, it gives me the following error
"parse_common_log: Bad input, line 1"
and it keeps coming for all the lines
I thought that this because am using stable2.3 and those scripts are used
for earlier version.
Anybody has the modified version -if there any- that would work with the new
versions
Regards
Kareem Mahgoub
----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Kareem Mahgoub" <kareem@tri.net.sa>
Cc: <squid-users@ircache.net>
Sent: Thursday, February 08, 2001 12:25 PM
Subject: Re: [SQU] Log Analyziers
> Discussion should be kept on the list.
>
> Examples of data collection tools:
>
> sar
> vmstat
> SymbEL
>
> Examples of information resources on how to use the tools and read the
> results:
>
> Your SUN system administration guide
> Various whitepapers from SUN
> SymbEL documentation
> the book "SUN Performance and Tuning"
>
> --
> Henrik Nordstrom
> Squid hacker
>
>
> Kareem Mahgoub wrote:
> >
> > Dear Henrik,
> > Thanks for your reply. I don't know if you accept personal emails or
not. If
> > you don't just send me a reply and I will send it to the list.
> > I am a newbie so I couldn't get your points clear.
> > First of all I don't have a problem in the link right now so I would
> > eliminate this factor.
> > for the CPU, do u think that there is no need of r the second CPU or it
is
> > important for the machine itself?
> > for the disk how I could judge the response of the disk?
> > what kind of tools or commands could help me?
> > for the option you have stated what do u recommend as values for them.
> > Is there any thing to do regarding the memory allocation for squid,
which is
> > in the squid.conf file?
> > sorry for the long message.
> > I appreciate your help
> > Best Regards,
> >
> > Kareem Mahgoub
> > ----- Original Message -----
> > From: "Henrik Nordstrom" <hno@hem.passagen.se>
> > To: "Kareem Mahgoub" <kareem@tri.net.sa>
> > Cc: <squid-users@ircache.net>
> > Sent: Thursday, February 08, 2001 11:19 AM
> > Subject: Re: [SQU] Log Analyziers
> >
> > > Kareem Mahgoub wrote:
> > > >
> > > > Hi all,
> > > > I have 2 very simple questions if you could help me on any of them.
> > > >
> > > > 1) I need a log analyzer for my squid 2.3 stable1 running on Solaris
7
> > > > All what I need is Miss : Hit percentage plus the response time
of
> > the
> > > > cache plus memory utilized and CPU.
> > >
> > >
> > > http://www.squid-cache.org/Scripts/
> > >
> > > > 2) How I can Optimize the squid.conf to get best results for the
> > response
> > > > time. I have the following config
> > > > a) Sun Enterprise 450 dual processor 233 MHz
> > > > b) Solaris 7
> > > > c) 768 Mbytes RAM
> > > > d) Squid 2.3 stable 1
> > > > e) I don't run any other application on my server.
> > > > f) I am serving 400 Clients concurrently on average.
> > >
> > > Tricky one. Depends quite a lot on your situation. For a start, is it
> > > the link that is the main bottleneck, or are you running into resource
> > > limitations in the Squid server?
> > >
> > > squid.conf directives you might want to look into:
> > >
> > > * refresh_pattern to increase the hit ratio where there are
opportunity
> > > to do so
> > > * quick_abort_* settings
> > > * half_closed_clients. My recommendation is off unless you need to
> > > support such clients (none of the browsers or HTTP command line tools
> > > requires this)
> > >
> > > If you are running into resource limitations in the Squid server, you
> > > first needs to tell if those limitations are caused CPU or disk I/O.
> > >
> > > If CPU, then the only choice is to get a faster CPU. Squid is
> > > single-threaded and can only use one CPU, so it might be an idea to
run
> > > two Squids on the box to be able to utilize both CPUs.
> > >
> > > If disk, then look into async-io or diskd, and make sure you have
> > > sufficient number of harddrives to manage the I/O load. You might also
> > > get an improvement from using the logging function of disksuite.
> > >
> > > --
> > > Henrik Nordstrom
> > > Squid hacker
> > >
> > >
>
>
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Feb 08 2001 - 03:38:05 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:55 MST