SteveL![]() Veteran ![]() ![]() ![]() ![]() Posts: 189 Joined: 10/11/2012 Location: Boulder, CO ![]() | Hi MarkS. I got a popup telling me the connection was lost. I think it was a TP popup. I'll try to remember to snapshot future popups and post them. I've also gotten IBG popups when a connection is lost. I had a "connection failed" popup from IBG this morning because the newest accounts were connected to the Master/Advisor account and trading was disabled by IB on those client logins (which I've now re-enabled from the Master account). NOTE: IB makes those changes on Friday night after market close. Windows Task Manager is where you see CPU and memory status. Here is a snapshot showing where you open the Task Manager: After Task Manager is opened, select the Performance tab, and select the radio button for the resource you want to see. I've selected Memory: The pagefile is used by the OS to handle over committed memory needs. So, if the pagefile is big enough, then I think, theoretically, things should continue to work. As memory requirements exceed the 1GB available on a micro server, then paging starts happening (things get swapped in and out of the 1GB RAM memory to the pagefile on some storage device which is slower than RAM). You'll see in this snapshot that the 1GB is overallocated. The pagefile has 1.9GB of committed memory. But, there is still plenty of pagefile space left. I suspect that TP and IBG are designed with timeouts and expectations about how fast things like connections should be established. So, when you have too many things running, then the CPU work queue starts getting longer, and things start timing out. That is my interpretation of what happened on Friday morning. So, the problems I saw could have been due to 1 CPU not keeping up, or the pagefile access time is not fast enough. If my analysis is correct, then either a 2nd CPU or more memory will resolve the connection reliability problem. Unfortunately, to get a 2CPU AWS server, you have to move up 2 levels. t2.Micro has 1 CPU and 1GB. t2.Small has 1CPU and 2GB. t2.Medium has 2 CPUs and 4GB. Each step doubles the cost. So, I'll try the first step and see how it goes. In the grand scheme of things, these costs are minimal, and worth avoiding a missed trade entry/exit. [Edited by SteveL on 7/30/2016 9:00 AM] ![]() ![]() |