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 started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"It’s so nice to be working with real professionals!" - Comment from Len
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
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: 396
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 May 4, 2024 7:00 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003