jeudi 17 juillet 2014

Collisions between separate processes

Hi,



I'm using FC1.3 on Linux/64/C++.



I've been working with downloading historical tick data. As an experiment, I ran the same downloading program (based on the non-table-manager GetHistPrices sample from FC1.2.2) in parallel: different processes launched from different terminals, but the same local user, same FXCM account/server, same Linux server. I had them each downloading a day's worth of tick data, the same day, but different currencies.



Much to my surprise, both instances of the program crashed, reporting "session lost". (Of course, the program works fine when run one at a time.) As a further experiment, I put one of them on a demo account while keeping the second on my real account, and that time both ran fine.



This gets me to wonder what restrictions there are when accessing the same account through separate programs on the same Linux server; or, for that matter, from different servers. Is this "session lost" behaviour expected, or is that a bug? If it's a bug, has it been fixed in 1.3.1 beta?



Thanks,



Nikhil.




Aucun commentaire:

Enregistrer un commentaire