Blog Entry

A handy network diagnostic

Author Info

19 February 2008 - 1:16pm
Submitted by: Gracal

blog
Reads:

711

Score:
0
0
 
Comments:

0

On April 13th 2007 Novell released a new Winsock patch for NetWare, wsock6l. In that Readme, was this line:

Technical Support Information:
Included a new module called WS2NRM.NLM which is a replacement for winsock NRM diagnostics. Only needs to be loaded to troubleshoot winsock related issue through NRM.

And didn't tell anything else about this new thing. I found out about it on a recent support call. What it does is enable a new diagnostic page in the Novell Remote Manager for NetWare to track Winsock2 issues. This is handy!

NRM menu bar

Why is it handy, you may ask? Because it has the ability to give detailed information about winsock2 sockets. In my case I was having trouble with mod_edir hammering servers with NOT_LOGGED_IN connections. With this I was able to see the state of those connections from a Winsock point of view. It manifested as a whole bunch of open sockets assigned to LIBC.

You can get to those counters by clicking on the "Winsock 2 Resources link". It'll list all the modules using Winsock2 resources, one of which is Libc. Click on the module to get the open sockets assigned to that module.

In this case the connections were being charged against LIBC instead of either MOD_EDIR or APACHE2 because MOD_EDIR called NXCreatePathContext to contact remote servers, a LIBC function. Therefore LIBC got charged for the connection.

In order to add it to NRM you just have to load WS2NRM.NLM, and removing it is as simple as unloading WS2NRM. I've found it an interesting troubleshooting tool, and it isn't much known about. Have fun!


Author Info

19 February 2008 - 1:16pm
Submitted by: Gracal




User Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <strong> <cite> <code> <img><ul> <ol> <li> <div> <dl> <dt> <dd> <h1> <b> <strong> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
15 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.