Re:RE: what means "SWAPOUT_DONE" and "PING_NONE"

From: <maer727@dont-contact.us>
Date: Fri, 12 Apr 2002 18:51:58 +0800 (CST)

Hi, Yee Man pal!

Thanks for your advice. I will try my best to avoid silly questions.

Btw: What you are referring to when mentioning "programming guide"?
Is there a programming guide of Squid?

Best regards,
George, Ma

----- Original Message -----
From: Yee Man Chan
To: David Luyer ;maer727@sohu.com ;squid-dev@squid-cache.org
Cc: squid-dev@squid-cache.org
Subject: RE: what means "SWAPOUT_DONE" and "PING_NONE"
Sent: Fri Apr 12 18:38:25 CST 2002

> These are squid-dev questions. Back in the old days, I
> asked similar questions in squid-users and then I was
> asked to join squid-dev. :) But now of course, there
> are more vets here and it can be quite annoying if you
> are a newbie and ask too many questions (I probably
> didn't ask as many questions as George however. ;)).
> My suggestion to George is to use more grep to get
> more familiar with the code before asking questions. I
> think this list is probably more welcome to questions
> that ask "why do you do it this way" than "what is
> this" kind of questions.
>
> I just skimmed the programming guide and there is
> nothing documented related to what SWAPOUT_DONE and
> PING_DONE mean. I am in the process of re-familiarize
> myself with the squid source. Maybe I can update the
> programming guide in the mean time? Is Adrian in
> charge of the programming guide?
>
> Yee Man
>
>
> --- David Luyer <david@luyer.net> wrote:
> > Answering both this and your previous email:
> >
> > * once the object is swapped out, the URL is no
> > longer known as only
> > a "key" based on a MD5 hash of the URL is kept in
> > memory
> >
> > * SWAPOUT_DONE is a swap_status that indicates the
> > object is swapped
> > out (on disk). Valid swap_status values are
> > SWAPOUT_NONE,
> > SWAPOUT_WRITING, SWAPOUT_DONE (ie, not on disk,
> > going to disk, on
> > disk)
> >
> > * PING_NONE is a ping_status indicating no ping has
> > been done.
> > Valid ping_status values are PING_NONE,
> > PING_WAITING, PING_DONE (ie,
> > not doing a ping, doing a ping, ping done)
> >
> > Does this really belong on squid-dev not
> > squid-users? It's not really
> > relating to the development of Squid. A cursory
> > glance at the code
> > would
> > have told you the same info.
> >
> > David.
> > --
> > David Luyer
> > Phone: +61 3 9674 7525
> > Network Development Manager P A C I F I C Fax:
> > +61 3 9699 8693
> > Pacific Internet (Australia) I N T E R N E T
> > Mobile: +61 4 1111 BYTE
> > http://www.pacific.net.au/
> > NASDAQ: PCNTF
> >
> >
> > > -----Original Message-----
> > > From: maer727@sohu.com [mailto:maer727@sohu.com]
> > > Sent: Friday, 12 April 2002 6:51 PM
> > > To: squid-dev@squid-cache.org
> > > Cc: squid-dev@squid-cache.org
> > > Subject: what means "SWAPOUT_DONE" and "PING_NONE"
> > >
> > >
> > > I am using Squid 2.4-STABLE. Here is
> > > an entry taken from the Cache Manager -->all
> > cached objects.
> > >
> > >
> > > /////////////////////////////////////////////////
> > > KEY FCBF10170C56A5A171F87D416366F085
> > > STORE_OK NOT_IN_MEMORY SWAPOUT_DONE
> > PING_NONE
> > > CACHABLE,DISPATCHED,VALIDATED
> > > LV:1018124209 LU:1018124248 LM:1010696152 EX:-1
> >
> > > 0 locks, 0 clients, 2 refs
> > > Swap Dir 0, File 0X000189
> > > /////////////////////////////////////////////////
> > >
> > > I am puzzled when reading entry "SWAPOUT_DONE" and
> >
> > > "PING_NONE". What do they mean?
> > >
> > > Btw: If anyone can tell me where to find the
> > answer in
> > > documents, I will look for the answer myself. :-)
> > >
> > > Best regards,
> > > George, Ma
> > >
> > >
> >
>
>
......
Received on Fri Apr 12 2002 - 04:52:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:10 MST