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
81ce41b5
Commit
81ce41b5
authored
Feb 11, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
On 32 bit, set the worker thread stacksize to the lower of 64k and the
minimum demanded by the system.
parent
4a2d55b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mgt_pool.c
bin/varnishd/mgt_pool.c
+1
-1
varnishd.c
bin/varnishd/varnishd.c
+1
-1
No files found.
bin/varnishd/mgt_pool.c
View file @
81ce41b5
...
...
@@ -82,7 +82,7 @@ tweak_stack_size(struct cli *cli, const struct parspec *par,
low
=
sysconf
(
_SC_THREAD_STACK_MIN
);
if
(
arg
!=
NULL
&&
!
strcmp
(
arg
,
"32"
))
{
if
(
arg
!=
NULL
&&
!
strcmp
(
arg
,
"32
bit
"
))
{
u
=
65536
;
if
(
u
<
low
)
u
=
low
;
...
...
bin/varnishd/varnishd.c
View file @
81ce41b5
...
...
@@ -418,7 +418,7 @@ main(int argc, char * const *argv)
MCF_ParamSet
(
cli
,
"sess_workspace"
,
"16384"
);
cli_check
(
cli
);
MCF_ParamSet
(
cli
,
"thread_pool_stack"
,
"
65536
"
);
MCF_ParamSet
(
cli
,
"thread_pool_stack"
,
"
32bit
"
);
cli_check
(
cli
);
MCF_ParamSet
(
cli
,
"gzip_stack_buffer"
,
"4096"
);
...
...
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