Hello.
I have an unusual problem with IO::Select->select(). A client will send a message and close its side of the connection. With a TCPDUMP, I can observe data arriving at the server and being ACK'd at the TCP layer (the FIN is ACK'd in the same reply). Yet on the server, minutes will pass before my select() call returns the socket as ready to receive data. Other sockets in the fd_set will receive data and get processed during this interval. Nothing appears blocked or frozen, except this one socket (or sometimes a handful of them at once). Then, after three
to ten minutes, the socket is returned by select() and everything proceeds (although the clients have sometimes timed out by this point).
the problem occurs repeatedly, but is not directly reproducible. It will only affect a small fraction of
the total sockets being processed by the server.
We are using windows server 2003, AS perl 5.6.1, build 635.
We have a support ticket open to Microsoft since it looks
like it may well be an windows issue, but it is quite difficult to prove that to them... They are currently arguing that the perl implementation is the issue. I cannot
rule that out, so I am seeking any suggestions/knowledge that may help me get to the bottom of this problem.
thanks for any help!
matt
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.