T.R | Title | User | Personal Name | Date | Lines |
---|
2826.1 | I've seen this... | GSRC::WEST | Help stamp out and abolish redundancy ! | Tue May 29 1990 01:22 | 21 |
|
I've seen this error after about 16 XOpenDisplay calls were made from a
single application. I wrote a small program to determine how many display
connections a server could handle and after about 16 this message showed up.
I then wrote the program to open a display connection and then loop forever
and ran several of these programs. This was all done under VMS and with the
_single connection_ programs I could account for all 32 connections (max with
VMS). So I concluded that this error only occurs if so many connections are
made from a single processes.
At the time I did this I contacted TBU but we couldn't ever get an answer
to this particular error message.
This was done with VMS V5.3 on a VS3520. The same result occured with
either LOCAL or DECNET transports.
Hope this offers a little insight...
-=> Jim <=-
|
2826.2 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Tue May 29 1990 17:57 | 14 |
| There are two circumstances where NOMORE is used (I just found via a source
search). One is if you do an XOpenDisplay more than 20 times (without a longer
look, I'm not sure if this is simultaneously or if 20 open/close pairs will do
it). This number comes from _NFILE in the CRTL (the number of simultaneous file
opens a process can have, in theory, but I think in practice, a hack in the
CRTL to simulate the UNIX function).
The other is that in the VAX bindings, lists of things (for example fonts,
extension names, etc) are gotten by repeated calling of a routine which returns
one at a time. X$_NOMORE is the status returned when there are no more values
to return. It should not be signaled, but the calling program might have done
that.
Burns
|
2826.3 | Thank you!! But ... | TKTV20::AIKO | | Wed May 30 1990 07:45 | 9 |
| I ,too, have the message when I call 22th XOpenDisplay on V5.3 system!!
(I don't have on V5.2 system ... )
Thanks a lot, Jim and Burns.
But I don't know why the number of XopenDisplay calls is limited.
Do you know anything ?
AIKO
|
2826.4 | look in 2438.* | EVTIS7::LEGER | Vous avez dit GRAPHIQUE ? | Wed May 30 1990 09:49 | 7 |
|
Have a look in notes 2438.*
An answer on how many open display is in it.
Jean-claude.
|
2826.5 | | KONING::KONING | NI1D @FN42eq | Thu May 31 1990 14:24 | 4 |
| Re .2: This doesn't sound like a reasonable error message for "too many
display opens"...
paul
|
2826.6 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Thu May 31 1990 16:40 | 21 |
| re .4: The limit listed in 2438 is the number of simultaneous clients that
a server can have connected. The question in this note is how many displays
a single process can have.
The reason for the limit is that a favorite Unix trick is the dimension an
array to size _NFILES (the number of files which can be open by a process
simultaneously) and to then index the array by a file descriptor ( a number
between 0 and _NFILES-1.). It turns out that this is the only way that one
can reliably implement an extension in xlib. While _NFILES is not really the
VMS limit for the number of files a process can have open, it is supplied by
the CRTL so that people can continue to use the same trick.
In order for this to work, Xlib has to stick a unique number between 0 and
_NFILES-1 into dpy->fd. In order to do this the maximum number of connections
that we can have are _NFILES.
Now, you ask, why can't _NFILES be bigger? Good question. Ask the CRTL folks.
As to the message: I expect you are right. Please qar it.
Burns
|
2826.7 | Was this ever QAR'd ?
| CSC32::K_TICE | Ada...Keeping the world safe for bureaucracy! | Mon Aug 13 1990 13:06 | 12 |
| Does anyone know if this was ever actually QAR'd, and if
so the QAR number and/or an idea what version of
DECwindows/VMS it will be "fixed" in?
It is quite likely that this will turn into a CLD for a
customer. Any information will be appreciated.
Thanks,
Ken
Colorado CSC
|
2826.8 | Will be QARed | STAR::HARDY | | Wed Aug 15 1990 14:28 | 6 |
|
It hasn't been QAR'ed, but I'll create one. I expect the fix will
be in DECwindows V3.
Sam
|