Re: Huge number for N struct vbe_conn

2009-05-20 Thread Poul-Henning Kamp
In message <4a05e1020905201057v56d2ff47j7b345e19b5602...@mail.gmail.com>, Cloud
e Porteus writes:

>Is this something I should be concerned with?

No, just ignore it.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: Huge number for N struct vbe_conn

2009-05-20 Thread Cloude Porteus
Is this something I should be concerned with?
If so, is there something I need to change in our vcl?
thanks,
cloude

On Wed, May 20, 2009 at 9:23 AM, Poul-Henning Kamp wrote:

> In message <4a05e1020905200849s3c79f8e3n498b659341e2f...@mail.gmail.com>,
> Cloud
> e Porteus writes:
>
> >The vbe_conn is flickering between 0-2 and 18446744073709551615. See
> >varnishstat below.
> >
> >Any ideas what might cause this?
>
> Yes, it is an unlocked counter, and you had a race updating it:
>
> 18446744073709551615 - 2^64 = -1
>
> --
> Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
> p...@freebsd.org | TCP/IP since RFC 956
> FreeBSD committer   | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>



-- 
VP of Product Development
Instructables.com

http://www.instructables.com/member/lebowski
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: Huge number for N struct vbe_conn

2009-05-20 Thread Poul-Henning Kamp
In message <4a05e1020905200849s3c79f8e3n498b659341e2f...@mail.gmail.com>, Cloud
e Porteus writes:

>The vbe_conn is flickering between 0-2 and 18446744073709551615. See
>varnishstat below.
>
>Any ideas what might cause this?

Yes, it is an unlocked counter, and you had a race updating it:

18446744073709551615 - 2^64 = -1

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Huge number for N struct vbe_conn

2009-05-20 Thread Cloude Porteus
The vbe_conn is flickering between 0-2 and 18446744073709551615. See
varnishstat below.

Any ideas what might cause this?

7+02:38:17
squid02.instructables.com
Hitrate ratio:   10   53   53
Hitrate avg: 0.9901   0.9921   0.9921

   216720678   264.96   352.79 Client connections accepted
   216720561   263.96   352.79 Client requests received
   210371940   262.96   342.46 Cache hits
 3969778 1.00 6.46 Cache hits for pass
 2353478 0.00 3.83 Cache misses
 6348344 1.0010.33 Backend connections success
  21 0.00 0.00 Backend connections failures
 505  ..   N struct sess_mem
   9  ..   N struct sess
  882772  ..   N struct object
  877128  ..   N struct objecthead
 1821113  ..   N struct smf
   47639  ..   N small free smf
  53  ..   N large free smf
18446744073709551615  ..   N struct vbe_conn
 236  ..   N struct bereq
 400  ..   N worker threads
 405 0.00 0.00 N worker threads created
 181 0.00 0.00 N overflowed work requests
   1  ..   N backends
 1392097  ..   N expired objects
15124429  ..   N LRU moved objects
 269 0.00 0.00 HTTP header overflows
   178241867   249.96   290.16 Objects sent with write
   216720668   270.96   352.79 Total Sessions
   216720576   270.96   352.79 Total Requests
   18741 0.00 0.03 Total pipe
 4054622 2.00 6.60 Total pass
 6328784 7.0010.30 Total fetch
 99334274932126775.84161703.99 Total header bytes
1050072439149   1016298.38   1709388.84 Total body bytes
   216720649   270.96   352.79 Session Closed
 106 0.00 0.00 Session herd
 10383942441 12795.97 16903.78 SHM records
   874958544  1081.83  1424.32 SHM writes
4880 0.00 0.01 SHM flushes due to overflow
   18440 0.00 0.03 SHM MTX contention
4265 0.00 0.01 SHM cycles through buffer
1240302813.0020.19 allocator requests
 1773421  ..   outstanding allocations
 16170405888  ..   bytes allocated
 37516685312  ..   bytes free
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev