[Quickfix-developers] Session limit for Acceptors. It causes buffer overflow
Brought to you by:
orenmnero
From: Fatih A. <fa...@ar...> - 2012-07-05 13:43:43
|
Hi, I have executor.cfg file under 257 sessions .If I execute it via: ./executor cfg/executor.cfg I'll get no error. However, I have executor.cfg file with 257 sessions. I'll get this error: ********************************************************************************************* *** buffer overflow detected ***: /home/fatih/Downloads/quickfix/examples/executor/C++/.libs/lt-executor terminated ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb74ffdd5] /lib/i386-linux-gnu/libc.so.6(+0xfebaa)[0xb74febaa] /lib/i386-linux-gnu/libc.so.6(+0xffd6a)[0xb74ffd6a] /home/fatih/Downloads/quickfix/src/C++/.libs/libquickfix.so.14(_ZN3FIX13SocketMonitor8buildSetERKSt3setIiSt4lessIiESaIiEER6fd_set+0x33)[0xb773c093] /home/fatih/Downloads/quickfix/src/C++/.libs/libquickfix.so.14(_ZN3FIX13SocketMonitor5blockERNS0_8StrategyEbd+0x156)[0xb773cd46] /home/fatih/Downloads/quickfix/src/C++/.libs/libquickfix.so.14(_ZN3FIX12SocketServer5blockERNS0_8StrategyEbd+0x244)[0xb772f074] /home/fatih/Downloads/quickfix/src/C++/.libs/libquickfix.so.14(_ZN3FIX14SocketAcceptor7onStartEv+0x4c)[0xb773739c] /home/fatih/Downloads/quickfix/src/C++/.libs/libquickfix.so.14(_ZN3FIX8Acceptor11startThreadEPv+0xf)[0xb773075f] /lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb76afd4c] /lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb74eaace] ======= Memory map: ======== ********************************************************************************************* I have executor.cfg file with **over** 257 sessions. I'll get: Configuration failed: Could not open header file: store/FIX.4.2-EXECUTOR-CLIENT25 I tought it may be due to FD size. However I have very large file descriptor size: $cat /proc/sys/fs/file-max 401603 What is wrong here? Thanks in advance Regards -- Fatih Arslan |