Are you sure that 2048 is enough? You didn't really provide these
details, but assuming you are using the FileLog and FileStore, that's 7
descriptors per session just for those files alone, or 1,953. Doesn't
leave you enough for the sockets for sure. When you say it works at
103, is that to say that 104 doesn't work? What do you get from 'ls -l
/proc/<pid of quickfix app>/fd | wc -l'?
If you are using a FileStore, it's pretty useless to do so since you
have ResetOnDisconnect and ResetOnLogout set to Y. You might want to
switch to a memory store (will increase memory usage). Or if this is
some sort of high speed market data line (looks like it might be based
on this configuration), a NullStore may be an option.
--oren
On Sep 21, 2004, at 10:19 AM, Jon Dahl wrote:
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX FAQ:
> http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> We are doing some stress testing with our quickfix implementation and
> have
> come upon a snag.
>
> We loaded up 279 SenderCompID's in our accpetor app config file. We
> also
> have increased the ulimit for our shell account to 2048. The app
> starts up
> fine - no errors. However, our clients can't sustain a connection. The
> logs show the socket connection is being made, however, it is
> immediately
> dropped and netstat shows the socket connections in a CLOSED_WAIT
> status.
>
> What's interesting is if we lower the SenderCompID's to 103 or less,
> the
> clients can connect fine.
>
> Specs:
> RHAS 2.1
> g++ 3.0.7
> QF 1.7.0 in Production, 1.9.0 in QA
> ResetOnDisconnect=Y
> ResetOnLogout=Y
> UseDataDictionary=N
>
> Any help would be appreciated.
>
> Thanks,
>
> -jd-
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
|