Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »NEW IQFEED FORUMS »IQFeed API Questions »Internal socket _IQIF_SBL1 hangs under wine
Author Topic: Internal socket _IQIF_SBL1 hangs under wine (4 messages, Page 1 of 1)

mac
-Interested User-
Posts: 25
Joined: Apr 6, 2017


Posted: Apr 24, 2023 03:49 PM          Msg. 1 of 4
Hi,

While running iqconnect under wine, I see that the internal _IQIF_SBL1 socket from a Derivative stream hangs causing subscribed bars to stop and for the _IQIF_SBL1 socket to start reporting queued data. This typically occurs during heavy market activity around open. However, I have seen it happen randomly through the day. I'm subscribing to 12 liquid equities and 23 liquid futures contracts. If the KBQueue reaches 10MB, I close all connected and open new ones. All sockets close except for the _IQIF_SBL1_***. These just keep piling up queued data until I restart iqconnect or eventually run out of memory. I'm running this in a docker container. I'm happy to share the Dockerfile if that helps.

I've had this issue for years now. My solution was to just kill the iqconnect process and restart it. This has become an issue for me and I can no longer afford to have interruptions in iqconnect.

In this first section of logs, you can see that the _IQIF_SBL1_*** connection stops delivering data(sent). It just piles up (kbqueued) I see no logged errors prior to this. I'm not sure what the level of logging is set to. If you can tell that debugging is not set, please let me know how to set this in a registry in 6.2 (64bit). I don't have easy access to the Diagnostics app

TO CLIENT Admin 404 4 2023-04-24 13:42:21 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16810.25,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104482.72,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,33988.28,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009056.63,0.00,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,35760.50,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1030698.07,0.00,

TO CLIENT Admin 404 5 2023-04-24 13:42:21 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16810.25,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104482.72,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,33988.28,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009056.63,0.00,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,35760.50,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1030698.07,0.00,

TO CLIENT Admin 404 1 2023-04-24 13:42:21 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264332.45,53.47,2.11,2425889.77,498.33,19.39,

TO CLIENT Admin 404 4 2023-04-24 13:42:21 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264332.45,53.47,2.11,2425889.77,498.33,19.39,

TO CLIENT Admin 404 5 2023-04-24 13:42:21 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264332.45,53.47,2.11,2425889.77,498.33,19.39,

TO CLIENT Admin 404 4 2023-04-24 13:42:22 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16810.39,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104483.58,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,33989.13,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,150.54,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,35775.04,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1030935.49,0.00,

TO CLIENT Admin 404 5 2023-04-24 13:42:22 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16810.39,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104483.58,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,33989.13,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,150.54,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,35775.04,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1030935.49,0.00,

TO CLIENT Admin 404 1 2023-04-24 13:42:22 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264390.37,57.93,2.11,2426254.17,364.40,19.39,

TO CLIENT Admin 404 4 2023-04-24 13:42:22 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264390.37,57.93,2.11,2426254.17,364.40,19.39,

TO CLIENT Admin 404 5 2023-04-24 13:42:22 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264390.37,57.93,2.11,2426254.17,364.40,19.39,

TO CLIENT Admin 404 4 2023-04-24 13:42:23 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16810.53,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104484.43,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,33989.99,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,362.70,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,35792.81,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1031126.10,0.00,

TO CLIENT Admin 404 5 2023-04-24 13:42:23 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16810.53,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104484.43,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,33989.99,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,362.70,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,35792.81,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1031126.10,0.00,

TO CLIENT Admin 404 1 2023-04-24 13:42:23 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264440.68,50.31,2.11,2426464.41,210.23,19.39,

TO CLIENT Admin 404 4 2023-04-24 13:42:23 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264440.68,50.31,2.11,2426464.41,210.23,19.39,

TO CLIENT Admin 404 5 2023-04-24 13:42:23 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:42AM,Connected,6.2.0.25,465642,264440.68,50.31,2.11,2426464.41,210.23,19.39,



In this second section, you can see that some sockets disconnect while the _IQIF_SBL1 sockets remain connected.


TO CLIENT Admin 404 4 2023-04-24 13:43:04 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16816.30,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104519.58,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,34025.14,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,9857.79,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,36454.37,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1039695.57,0.00,

TO CLIENT Admin 404 5 2023-04-24 13:43:04 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16816.30,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104519.58,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,34025.14,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,9857.79,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,36454.37,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1039695.57,0.00,

TO CLIENT Admin 404 1 2023-04-24 13:43:04 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266633.01,86.73,2.13,2435771.50,394.70,19.46,

TO CLIENT Admin 404 4 2023-04-24 13:43:04 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266633.01,86.73,2.13,2435771.50,394.70,19.46,

TO CLIENT Admin 404 5 2023-04-24 13:43:04 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266633.01,86.73,2.13,2435771.50,394.70,19.46,

TO CLIENT Admin 404 4 2023-04-24 13:43:05 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16816.44,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104520.44,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,34026.00,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,10052.97,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,36467.51,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1039871.30,0.00,

TO CLIENT Admin 404 5 2023-04-24 13:43:05 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16816.44,0.00,
S,CLIENTSTATS,0,4,TickIngestAdmin2023-04-22T21:06:23.6679584-06:00,20230423 030623,,,0.10,104520.44,0.00,
S,CLIENTSTATS,0,5,IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00,20230424 023332,,,0.11,34026.00,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,10052.97,
S,CLIENTSTATS,1,7,IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00,20230424 023331,36,0,1.32,36467.51,0.00,
S,CLIENTSTATS,1,5,TickIngestL12023-04-22T21:06:23.6683403-06:00,20230423 030623,36,0,29.16,1039871.30,0.00,

TO CLIENT Admin 404 1 2023-04-24 13:43:05 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266678.29,45.29,2.13,2435962.22,190.71,19.46,

TO CLIENT Admin 404 4 2023-04-24 13:43:05 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266678.29,45.29,2.13,2435962.22,190.71,19.46,

TO CLIENT Admin 404 5 2023-04-24 13:43:05 S,STATS,12.36.218.206,60004,500,36,7,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266678.29,45.29,2.13,2435962.22,190.71,19.46,

This is where is have closed and disposed of all sockets connection (except #1). I have also started reconnecting. As you can see, the _IQIF_SBL1_IQMarketDataDeriv*** connections are not closed.
STATUS Information 404 7 2023-04-24 13:43:05 LEVEL1 SOCKET CLOSED - IQMarketDataL1-2023-04-23T20:33:41.3091165-06:00
STATUS Information 404 5 2023-04-24 13:43:05 ADMIN SOCKET CLOSED - IQMarketDataAdmin-2023-04-23T20:33:41.3085897-06:00
STATUS Information 404 11 2023-04-24 13:43:07 LEVEL1 SOCKET ACCEPTED -
STATUS Information 404 6 2023-04-24 13:43:07 ADMIN SOCKET ACCEPTED -
STATUS Information 404 5 2023-04-24 13:43:07 LEVEL1 SOCKET CLOSED - TickIngestL12023-04-22T21:06:23.6683403-06:00
STATUS Information 404 4 2023-04-24 13:43:07 ADMIN SOCKET CLOSED - TickIngestAdmin2023-04-22T21:06:23.6679584-06:00
STATUS Information 404 12 2023-04-24 13:43:08 LEVEL1 SOCKET ACCEPTED -
STATUS Information 404 11 2023-04-24 13:43:08 LEVEL1 SOCKET CLOSED -
STATUS Information 404 0 2023-04-24 13:43:08 LOOKUP SOCKET ACCEPTED 74 -
STATUS Information 404 7 2023-04-24 13:43:08 ADMIN SOCKET ACCEPTED -
STATUS Information 404 14 2023-04-24 13:43:09 LEVEL1 SOCKET ACCEPTED - iqconnect.exe
STATUS Information 404 12 2023-04-24 13:43:09 LEVEL1 SOCKET CLOSED -
STATUS Information 404 14 2023-04-24 13:43:09 LEVEL1 SOCKET CLOSED - _IQIF_SBL1

TO CLIENT Admin 404 6 2023-04-24 13:43:10 S,CURRENT PROTOCOL,6.2,

FROM CLIENT Admin 404 6 2023-04-24 13:43:10 S,SET PROTOCOL,6.2
TO CLIENT Admin 404 7 2023-04-24 13:43:10 S,CURRENT PROTOCOL,6.2,

FROM CLIENT Admin 404 7 2023-04-24 13:43:10 S,SET PROTOCOL,6.2
FROM CLIENT Admin 404 7 2023-04-24 13:43:10 S,SET CLIENT NAME,TickIngestAdmin2023-04-24T07:43:06.2700049-06:00
FROM CLIENT Admin 404 7 2023-04-24 13:43:10 S,CLIENTSTATS ON
TO CLIENT Admin 404 7 2023-04-24 13:43:10 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,3,74,_IQIF_SBLOOKUP,20230424 134308,,,0.05,0.02,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16816.58,0.00,
S,CLIENTSTATS,0,6,,20230424 134307,,,0.02,0.02,0.00,
S,CLIENTSTATS,0,7,TickIngestAdmin2023-04-24T07:43:06.2700049-06:00,20230424 134308,,,0.10,0.02,0.00,
S,CLIENTSTATS,1,14,_IQIF_SBL1,20230424 134308,0,0,1.57,1.05,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,10968.86,
S,CLIENTSTATS,1,12,TickIngestL12023-04-24T07:43:06.2701898-06:00,20230424 134307,36,0,2.98,705.04,0.00,
S,CLIENTSTATS,1,11,,20230424 134306,0,0,0.34,0.87,0.00,

TO CLIENT Admin 404 1 2023-04-24 13:43:10 S,STATS,12.36.218.206,60004,500,36,9,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266895.52,43.45,2.13,2436810.04,169.56,19.47,

TO CLIENT Admin 404 6 2023-04-24 13:43:10 S,STATS,12.36.218.206,60004,500,36,9,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266895.52,43.45,2.13,2436810.04,169.56,19.47,

TO CLIENT Admin 404 7 2023-04-24 13:43:10 S,STATS,12.36.218.206,60004,500,36,9,0,0,1,Apr 23 2:57AM,Apr 24 09:43AM,Connected,6.2.0.25,465642,266895.52,43.45,2.13,2436810.04,169.56,19.47,

STATUS Information 404 12 2023-04-24 13:43:10 LEVEL1 SOCKET CLOSED - TickIngestL12023-04-24T07:43:06.2701898-06:00
STATUS Information 404 7 2023-04-24 13:43:10 ADMIN SOCKET CLOSED - TickIngestAdmin2023-04-24T07:43:06.2700049-06:00
STATUS Information 404 17 2023-04-24 13:43:10 LEVEL1 SOCKET ACCEPTED -
STATUS Information 404 8 2023-04-24 13:43:11 ADMIN SOCKET ACCEPTED -
STATUS Information 404 17 2023-04-24 13:43:11 LEVEL1 SOCKET CLOSED -
TO CLIENT Admin 404 8 2023-04-24 13:43:11 S,CURRENT PROTOCOL,6.2,

FROM CLIENT Admin 404 8 2023-04-24 13:43:11 S,SET PROTOCOL,6.2
FROM CLIENT Admin 404 8 2023-04-24 13:43:11 S,SET CLIENT NAME,TickIngestAdmin2023-04-24T07:43:10.1673900-06:00
FROM CLIENT Admin 404 8 2023-04-24 13:43:11 S,CLIENTSTATS ON
TO CLIENT Admin 404 8 2023-04-24 13:43:11 S,CLIENTSTATS,3,37,_IQIF_SBLOOKUP_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,,,2.11,8.42,0.00,
S,CLIENTSTATS,3,74,_IQIF_SBLOOKUP,20230424 134308,,,0.05,0.02,0.00,
S,CLIENTSTATS,0,1,,20230423 025714,,,0.00,16816.72,0.00,
S,CLIENTSTATS,0,6,,20230424 134307,,,0.02,0.17,0.00,
S,CLIENTSTATS,0,8,TickIngestAdmin2023-04-24T07:43:10.1673900-06:00,20230424 134311,,,0.10,0.02,0.00,
S,CLIENTSTATS,1,14,_IQIF_SBL1,20230424 134308,0,0,1.57,1.07,0.00,
S,CLIENTSTATS,1,17,TickIngestL12023-04-24T07:43:10.1676316-06:00,20230424 134310,36,0,2.98,94.44,0.00,
S,CLIENTSTATS,1,9,_IQIF_SBL1_IQMarketDataDeriv-2023-04-23T20:33:41.3079511-06:00,20230424 023332,36,0,2.60,1009167.23,11084.92,
S,CLIENTSTATS,1,11,,20230424 134306,0,0,0.34,0.89,0.00,

MAC

mac
-Interested User-
Posts: 25
Joined: Apr 6, 2017


Posted: Apr 28, 2023 09:44 AM          Msg. 2 of 4
I'm using the dotnet client so graciously provided here https://github.com/mathpaquette/IQFeed.CSharpApiClient

In this client, I see that the sockets are not explicitly disconnected, they are just disposed. It seems that this results in a quick release of the sockets on the iqconnect side in normal circumstances. I believe this causes the socket to be held onto by iqconnect when it enters this queued state. In the queued state, where the IQ derivative process in iqconnect no longer reads from the internal L1 socket, will hold onto this internal socket even though I am no longer connected to the derivative port. Data just piles up until it crashes when there is no more memory left.

On a positive note, if I explicitly disconnect from the derivative socket before disposing, iqconnect will eventually (30-60 seconds later) release the internal socket to L1. I have been able to reconnect to only the derivative socket without restarting iqconnect. All my sockets that are connected to L1 directly work fine through this problem.

Any insight as to why the derivative process would stop reading from its internal L1 socket would be helpful. I've had to write a bunch of code to circumvent this issue.

I will say, I don't believe this is an issue on Windows, only while running with wine.

MAC

mac
-Interested User-
Posts: 25
Joined: Apr 6, 2017


Posted: May 8, 2023 01:21 PM          Msg. 3 of 4
The above approach to closing the socket is not working, iqconnect (or wine) is holding the internal iqconnect 5009 port open even after I disconnect my app.

This is causing me to repeatedly have to restart iqconnect (many times per week). I am currently developing an app to generate my own bars from level 1 data. Once I have this running I will stop connecting to the derivative port in production.

If I can create a docker file that reproduces this issue, could IQ support run this and see if it is reproducible on your end? I only see a problem under heavy market volume, so you might need to run for a few days before the internal port hangs.

MAC

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: May 8, 2023 01:33 PM          Msg. 4 of 4
Quote:
If I can create a docker file that reproduces this issue, could IQ support run this and see if it is reproducible on your end? I only see a problem under heavy market volume, so you might need to run for a few days before the internal port hangs.


Yes, please do, and send it to me at the main IQFeed support email address.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Sat April 20, 2024 5:26 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003