Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
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
trackrdrd
Commits
6a4ab713
Commit
6a4ab713
authored
Aug 07, 2013
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trackrdrd: move the "workers running" warning into the monitor thread
parent
185b000f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
child.c
trackrdrd/src/child.c
+0
-3
monitor.c
trackrdrd/src/monitor.c
+5
-1
No files found.
trackrdrd/src/child.c
View file @
6a4ab713
...
...
@@ -690,9 +690,6 @@ OSL_Track(void *priv, enum VSL_tag_e tag, unsigned fd, unsigned len,
return
1
;
wrk_running
=
WRK_Running
();
if
(
wrk_running
<
config
.
nworkers
)
LOG_Log
(
LOG_WARNING
,
"%d of %d workers running"
,
wrk_running
,
config
.
nworkers
);
/* spec != 'c' */
if
((
spec
&
VSL_S_CLIENT
)
==
0
)
...
...
trackrdrd/src/monitor.c
View file @
6a4ab713
...
...
@@ -86,7 +86,11 @@ log_output(void)
/* locking would be overkill */
dtbl
.
r_stats
.
occ_hi_this
=
0
;
if
(
config
.
monitor_workers
)
if
(
config
.
monitor_workers
)
{
int
wrk_running
=
WRK_Running
();
if
(
wrk_running
<
config
.
nworkers
)
LOG_Log
(
LOG_WARNING
,
"%d of %d workers running"
,
wrk_running
,
config
.
nworkers
);
WRK_Stats
();
}
...
...
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