summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2012-07-11 03:08:32 -0700
committerAndre Lorbach <alorbach@adiscon.com>2012-07-11 03:08:32 -0700
commitafe402d2418d181a1fd5f469ec4c4cf5c394d8c5 (patch)
treee9e168b4e3c046cedd7bf56b194f5d383d979d53 /tcpsrv.c
parent68056a6128b9ebc8d65791b2647030d36c73f014 (diff)
downloadrsyslog-afe402d2418d181a1fd5f469ec4c4cf5c394d8c5.tar.gz
rsyslog-afe402d2418d181a1fd5f469ec4c4cf5c394d8c5.tar.xz
rsyslog-afe402d2418d181a1fd5f469ec4c4cf5c394d8c5.zip
bugfix: imtcp aborted when more than 2 connections were used.
Incremented pthread stack size to 4MB for imtcp, imptcp and imttcp closes: http://bugzilla.adiscon.com/show_bug.cgi?id=342
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 0e6e13d2..e5fe0d71 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -1335,7 +1335,7 @@ startWorkerPool(void)
wrkrRunning = 0;
pthread_cond_init(&wrkrIdle, NULL);
pthread_attr_init(&sessThrdAttr);
- pthread_attr_setstacksize(&sessThrdAttr, 200*1024);
+ pthread_attr_setstacksize(&sessThrdAttr, 4096*1024);
for(i = 0 ; i < wrkrMax ; ++i) {
/* init worker info structure! */
pthread_cond_init(&wrkrInfo[i].run, NULL);