Please forgive my asking this question here. I am not a LINUX sysadmin and don't know a good place to post this question, but would happily take suggestions!
I'm in QA and testing our new "box". I have a PERL script that attempts to find out how many simultaneous TCP sessions can be run through the box (currently I am able to use either Telnet or FTP for my test). The script hits the max at a certain limit (268 FTP sessions). The limit seems to be on the server because any command on the server (such as ls) yields errors to the effect of too many files open on the system until I kill one or two of the FTP sessions from the client side.
Question 1: The problem seems not to be a limitation on number of FTP sessions are allowed, but rather some system resource limitation (seems to be for the whole system, not for an individual process) and the limit seems pretty low (seems to be 328 processes running, but I can't say how many file descriptors or inodes--anyone know how to find that out?). Does anyone know how to find out the limitation or point me to the right place to ask?
Question 2: Once I get beyond problem 1, I may hit some limitation in the server software, so I'm considering writing my own echo server. However, if I do that, basing it on examples in Network Programming with Perl (ch. 10), do all the pipes that will be open to sockets count as open files, etc.? I.e., won't I just be hitting the same similar system resource limitation (perhaps at some higher number)? Other "boxes" similar to the one we are building list the number of simultaneous TCP connections through them in the 4000-8000 range, so I'm need to test at least that high.
Thanks in advance for any helpful hints, and, please, no flames, I burn easily! :)
Apprentice
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.