[Quickfix-developers] Maximum simultaneous FIX Sessions Windows XP Pro
Brought to you by:
orenmnero
From: Malinka R. <ael...@gm...> - 2008-11-26 17:52:15
|
I currently have a running production server using QF .NET in C# which will end up needing to manage many different concurrent client connections, which have been added slowly over time. however I've ran into a ConfigError exception phrased like: Config Error: could not open <header/event/etc> file: <filename> After some research it seems that what's happening is that when calling into stdio to open the files for the sessions windows is running into a maximum open files of 512 (including stdin stdout stderr, leaving 509 for use). Which I found can be incresed to a maximum of 2048 with a windows specific call (_setmaxstdio). To solve the problem I'm having I can probably either implement the above change or create a new FileStore which uses the windows API to write to files in order to up the maximum Files Handles to the maximum overall handles (10,000 on XP). Is there a simple solution someone else has found and used? Are there any other known limits on the number of Sessions able to run at any given time? What are these limits? (eg how much RAM each session uses) Are these limits increasable? (buying more RAM/HDD/CPU/etc) |