Re: [Quickfix-developers] ThreadedSocketInitiator eats file descriptors because of possibly open tc
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-11-29 17:43:54
|
I believe we put a fix for this in svn. Would you be able to check out the latest and see if the problem persists? --oren On Nov 29, 2006, at 8:13 AM, H. Steuer wrote: > hi oren, > > i just discovered an issue with QF 1.12.4. QF does not close sockets > when connections fail. therefore it starts eating one file descriptor > per failed connection attempt. you can easily reproduce it by using > the > ThreadedSocketInitiator instead of the unthreaded version in the > tradeclient example. now configure the engine to connect to an non > existing address (my peer does not return RST but simply times out as > the peer is turned off). > > for every failed connection attempt that the screenlogfactory displays > on the screen, there is one more file descriptor open when having a > look > on the process (used fstat and lsof to verify). > > its QF 1.12.4 on FreeBSD, maybe someone on the list can verify the > problem. > > > > cheers, > heri > > > > |