Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
8c2fe8d0
Commit
8c2fe8d0
authored
Feb 09, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that certain parameters are likely to be rounded to page-size
by the operating system.
parent
cd2ce96c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
mgt_param.c
bin/varnishd/mgt/mgt_param.c
+4
-2
mgt_pool.c
bin/varnishd/mgt/mgt_pool.c
+2
-1
No files found.
bin/varnishd/mgt/mgt_param.c
View file @
8c2fe8d0
...
@@ -695,12 +695,14 @@ static const struct parspec input_parspec[] = {
...
@@ -695,12 +695,14 @@ static const struct parspec input_parspec[] = {
"120"
,
"seconds"
},
"120"
,
"seconds"
},
{
"workspace_client"
,
{
"workspace_client"
,
tweak_bytes_u
,
&
mgt_param
.
workspace_client
,
3072
,
UINT_MAX
,
tweak_bytes_u
,
&
mgt_param
.
workspace_client
,
3072
,
UINT_MAX
,
"Bytes of HTTP protocol workspace for clients HTTP req/resp."
,
"Bytes of HTTP protocol workspace for clients HTTP req/resp."
" If larger than 4k, use a multiple of 4k for VM efficiency."
,
DELAYED_EFFECT
,
DELAYED_EFFECT
,
"64k"
,
"bytes"
},
"64k"
,
"bytes"
},
{
"workspace_backend"
,
{
"workspace_backend"
,
tweak_bytes_u
,
&
mgt_param
.
workspace_backend
,
1024
,
UINT_MAX
,
tweak_bytes_u
,
&
mgt_param
.
workspace_backend
,
1024
,
UINT_MAX
,
"Bytes of HTTP protocol workspace for backend HTTP req/resp."
,
"Bytes of HTTP protocol workspace for backend HTTP req/resp."
" If larger than 4k, use a multiple of 4k for VM efficiency."
,
DELAYED_EFFECT
,
DELAYED_EFFECT
,
"64k"
,
"bytes"
},
"64k"
,
"bytes"
},
{
"workspace_thread"
,
{
"workspace_thread"
,
...
...
bin/varnishd/mgt/mgt_pool.c
View file @
8c2fe8d0
...
@@ -66,7 +66,7 @@ tweak_thread_pool_min(struct cli *cli, const struct parspec *par,
...
@@ -66,7 +66,7 @@ tweak_thread_pool_min(struct cli *cli, const struct parspec *par,
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
* This is utterly ridiculous: POSIX does not guarantee that the
* This is utterly ridiculous: POSIX does not guarantee that the
* minimum thread stack size is a compile time constant.
* minimum thread stack size is a compile time constant.
* XXX: "32" is a magic marker for 32bit systems.
* XXX: "32
bit
" is a magic marker for 32bit systems.
*/
*/
static
void
static
void
...
@@ -220,6 +220,7 @@ const struct parspec WRK_parspec[] = {
...
@@ -220,6 +220,7 @@ const struct parspec WRK_parspec[] = {
{
"thread_pool_stack"
,
{
"thread_pool_stack"
,
tweak_stack_size
,
&
mgt_param
.
wthread_stacksize
,
0
,
UINT_MAX
,
tweak_stack_size
,
&
mgt_param
.
wthread_stacksize
,
0
,
UINT_MAX
,
"Worker thread stack size.
\n
"
"Worker thread stack size.
\n
"
"This is likely rounded up to a multiple of 4k by the kernel.
\n
"
"On 32bit systems you may need to tweak this down to fit "
"On 32bit systems you may need to tweak this down to fit "
"many threads into the limited address space.
\n
"
,
"many threads into the limited address space.
\n
"
,
EXPERIMENTAL
,
EXPERIMENTAL
,
...
...
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