[comp.windows.x] SunOS 4.0.3: xperfmon; server connection limit

holtz@csmil.umich.edu () (09/20/89)

1. How can I get xperfmon to work under SunOS 4.0.3?

2. Why can I open only about 20 connections to the Xsun server?
I can open at least 30 on a VAXstation; when I asked this group
about the difference a few months ago, I was told that each
connection required a file descriptor, and that the per-process
limit on open fd's in SunOS 3.5 (what I was running then) is lower
than in Ultrix.  But 4.0.3 allows up to 64 open fd's, and still
I only get 20 connections.

dmy@Solbourne.COM (Doug Young) (09/20/89)

In article <1989Sep19.174812.13061@csmil.umich.edu> holtz@csmil.umich.edu () writes:
>1. How can I get xperfmon to work under SunOS 4.0.3?
Well, I can run xperfmon on my Sun 3/60 running SunOS 4.0.3. I am guessing
you are running 4.0.3c on a Sparcstation, and when you try to run xperfmon,
you get the following message:

vmstat: Disk init info not in namelist

This message comes from read_names() in system.c. As far as I can tell,
read_names() is vestigial; it only assigns to dr_name[] and dr_unit[], which
are *never* used. I ripped out *all* the versions of read_names(), and
commented out the call to read_names(), and now it works just fine.

Doug Young                            Solbourne Computer, Inc.
dmy@solbourne.com                     1900 Pike Road
...{boulder,nbires,sun}!stan!dmy      Longmont, CO 80501
                                      (303) 772-3400 ext 767