[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

277.0. "Server connection/request limits" by OIWS20::BRYSON () Wed Feb 22 1989 22:36

    A few questions on the server:
    
    1.  What is the maximum number of connections that may be made
        to the VMS server?  I have a program that just goes out and
        performs XOpenDisplay's and it dies after 15 (only the server
        is running).  I thought it was supposed to be 32.
    
    2.  Can this maximum be changed through logicals?
    
    3.  What is the maximum size of a X protocol request? I read that
        it was the size of the output buffer.  In the Display structure
        returned by XOpenDisplay it has pointers to the beginning and
        the end of the output buffer and the maximum request size.  The
        maximum request size is 16K bytes, but the difference between
        the end of the buffer and the beginning is 8196 bytes.  Since
        the VMS server does not split requests, does this mean that
        8196 bytes is the max or is there a flaw in my logic?
    
    
    David

T.RTitleUserPersonal
Name
DateLines
277.1A window manager questions, too...OIWS20::BRYSONWed Feb 22 1989 23:1910
    Oh, I did have one question about the Window Manager, too.
    
    What is the purpose of the two additional windows that are the size of
    the root window?  I have heard them called pseudo-root windows and I
    have seen them accessed by the background setting programs, but what
    are their exact purposes?
    
    David
    

277.21-2-3STAR::BRANDENBERGIntelligence - just a good party trick?Thu Feb 23 1989 11:2916
    
    1.  I think it is actually 31.  There may be problems with other
    	quotas (Biolm, Fillm, etc.) on either the client or server side.
    	Once-upon-a-time, I had 20 xclocks up on my server running from
    	four different machines.
    
    2.  Nope, hard coded.
    
    3.	The maximum size is transmitted by the server to the client at
    	connection setup time.  This is 16KB with a VMS server.  The VMS
    	Xlib will break large requests into smaller pieces either into
    	multiple requests or multiple I/O's depending upon the request
    	type.
    
    						monty

277.3Good info!!!OIWS20::BRYSONThu Feb 23 1989 16:3052
    Good info, but puzzling.
    
    I've ANALYZEd the system and looked the processes involved. All quotas
    and limits look fine.  I've also tried boosting the values for the
    server with no change.  I can still only get 15 connections.  The
    changes that I made for the server were as follows:
    
    DIOLM   from  100 to 200
    BIOLM   from   60 to 150
    BYTLM   from 50000 to 75000
    
    I also check GBLPAGES and GBLSECTIONS and they're not bad either.
    I ran all the clients detached so that quotas would not be depleted
    due to SPAWNing.  I tried accounts with much smaller quotas and they
    could only connect 15 times.  It sounds system wide.
    
    Any suggestions?  Oh, could you run the connection program to see
    what your max connection is?
    
    Thanks,
    
    David
    
    ===========================CUT HERE====================================
    

#include <stdio.h>                    
#ifdef VMS
#include <decw$include:Xlib.h>
#else
#include <X11/Xlib.h>
#endif


main(argc, argv)
int argc;
char **argv;
{
	Display *d;
	int i=0;

	/* Establish the Connection */

	while ((d = XOpenDisplay("")) != NULL)
		i++;

	printf("Died with last connection number: %d\n",i);
	/* Sleep for ANALYZE/SYSTEM */
	sleep(10);

}

277.4new versionSTAR::BRANDENBERGIntelligence - just a good party trick?Thu Feb 23 1989 16:4134
    
    I made a slight change.  Try this version.
    
    						monty
    

#include <stdio.h>                    
#include <errno.h>
#ifdef VMS
#include <decw$include:Xlib.h>
#else
#include <X11/Xlib.h>
#endif


main(argc, argv)
int argc;
char **argv;
{
	Display *d;
	int i=0;

	/* Establish the Connection */

	while ((d = XOpenDisplay("")) != NULL)
		i++;

	printf("Died with last connection number: %d\n",i);
	perror( "connection" );
	/* Sleep for ANALYZE/SYSTEM */
	sleep(10);

}

277.5Great idea - THANKS!OIWS20::BRYSONThu Feb 23 1989 18:0512
    Great! Now, I see the error...
    
    %SYSTEM-F-EXENQLM, exceeded enqueue quota
    
    I first looked at the process but that was not it.  It was the
    ENQLM of the SERVER that was the problem.
    
    Thank you very much for all the help!
    
    David
    

277.6Local onlyDECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Fri Feb 24 1989 12:215
The server has two locks for each local client, one queued and one granted.
This is not true for DECnet clients (or TCP, I suppose).

Burns

277.7Any takers on the WM windows?OIWS20::BRYSONWed Mar 15 1989 00:188
    Any takers for RE: .1?
    
    The purposes for the two "root window" sized windows of the window
    manager.
    
    David