Permalink
Browse files

Raise stack size to 4MB (2MB on DEBUG build) for backport to 1.8 SERV…

…ER-2707
  • Loading branch information...
1 parent 7323ec1 commit f9fcfffad6f95cf6e37d99d07b1d7c74075b56f6 @RedBeard0531 RedBeard0531 committed Jul 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 util/message_server_port.cpp
@@ -112,7 +112,7 @@ namespace mongo {
pthread_attr_init(&attrs);
pthread_attr_setdetachstate(&attrs, PTHREAD_CREATE_DETACHED);
- static const size_t STACK_SIZE = 1024*1024;
+ static const size_t STACK_SIZE = 4*1024*1024;
pthread_attr_setstacksize(&attrs, (DEBUG_BUILD
? (STACK_SIZE / 2)
: STACK_SIZE));

0 comments on commit f9fcfff

Please sign in to comment.