Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent3
Commits
604ab830
Commit
604ab830
authored
Oct 17, 2013
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishevent: reader counter stats are all unsigned long
parent
2b85b01b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
varnishevent.c
bin/varnishevent/varnishevent.c
+8
-6
No files found.
bin/varnishevent/varnishevent.c
View file @
604ab830
...
...
@@ -92,8 +92,10 @@ static fd_t *fd_tbl;
VTAILQ_HEAD
(
insert_head_s
,
fd_t
);
static
struct
insert_head_s
insert_head
=
VTAILQ_HEAD_INITIALIZER
(
insert_head
);
static
unsigned
seen
=
0
,
open
=
0
,
submitted
=
0
,
not_logged
=
0
,
occ_hi
=
0
,
len_hi
=
0
,
waits
=
0
,
fd_overflows
=
0
,
len_overflows
=
0
,
static
unsigned
open
=
0
,
occ_hi
=
0
,
len_hi
=
0
;
static
unsigned
long
seen
=
0
,
submitted
=
0
,
not_logged
=
0
,
waits
=
0
,
fd_overflows
=
0
,
len_overflows
=
0
,
hdr_overflows
=
0
,
expired
=
0
,
spec_mismatches
=
0
,
wrong_tags
=
0
;
/* Hack, because we cannot have #ifdef in the macro definition SIGDISP */
...
...
@@ -137,10 +139,10 @@ RDR_Waiting(void)
void
RDR_Stats
(
void
)
{
LOG_Log
(
LOG_INFO
,
"Reader (%s): fd_max=%u seen=%u open=%u load=%.2f "
"submitted=%
u not_logged=%u occ_hi=%u waits=%u expired=%
u free=%u "
"len_hi=%u fd_overflows=%
u len_overflows=%u hdr_overflows=%
u "
"spec_mismatches=%
u wrong_tags=%
u"
,
LOG_Log
(
LOG_INFO
,
"Reader (%s): fd_max=%u seen=%
l
u open=%u load=%.2f "
"submitted=%
lu not_logged=%lu occ_hi=%u waits=%lu expired=%l
u free=%u "
"len_hi=%u fd_overflows=%
lu len_overflows=%lu hdr_overflows=%l
u "
"spec_mismatches=%
lu wrong_tags=%l
u"
,
waiting
?
"waiting"
:
"running"
,
config
.
max_fd
,
seen
,
open
,
100
.
0
*
open
/
config
.
max_fd
,
submitted
,
not_logged
,
occ_hi
,
waits
,
expired
,
rdr_free
,
len_hi
,
fd_overflows
,
len_overflows
,
hdr_overflows
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment