[sco.opendesktop] Problems with network commands under ODT-VIEW

dhiraj@bohra.cpg.oz.au (Dhiraj Sharma) (06/04/91)

I am having a problem with ODT-View:

1- I "startx" from one of the multi-screens

2- From an odt term I issue the command "ping <one of the machines on our net>"

3- ping appears to hang just displaying:
	PING <local machine name>: 56 data bytes

4- I switch to one of the other multi-screens and then jump back to the
   one running X and there's output from ping stating the number of
   packets being transmitted, i.e.,
	PING <local machine name>: 56 data bytes
	64 bytes from <local machine address>: icmp_seq=0. time=16. ms
	64 bytes from <local machine address>: icmp_seq=1. time=32. ms
	64 bytes from <local machine address>: icmp_seq=2. time=0. ms
	64 bytes from <local machine address>: icmp_seq=3. time=16. ms
   However, instead of continuing on with the display of packet transfer
   it again hangs. Again if I now switch to another multiscreen and jump
   back to the one running X, there is more output from ping, i.e.,
	PING <local machine name>: 56 data bytes
	64 bytes from <local machine address>: icmp_seq=0. time=16. ms
	64 bytes from <local machine address>: icmp_seq=1. time=32. ms
	64 bytes from <local machine address>: icmp_seq=2. time=0. ms
	64 bytes from <local machine address>: icmp_seq=3. time=16. ms
	64 bytes from <local machine address>: icmp_seq=0. time=16. ms
	64 bytes from <local machine address>: icmp_seq=1. time=32. ms
	64 bytes from <local machine address>: icmp_seq=2. time=0. ms
	64 bytes from <local machine address>: icmp_seq=3. time=16. ms
   Again the output from ping stops.

If after step 3 I do not switch screens and just wait, say 5-10mins, for ping
to produce some output, ping still produces nothing, but then in other 
multiscreens (the ones not running X) I receive the message "Out of stream 
resources".  After which contact with all machines on the net is lost.

This problem does not only occur with ping, but also with other network
commands as rlogin, with rlogin hanging until I switch to another screen
and then come back to the one running X. Another example is df which
just shows the local filesystems and none of the NFS remote mounted ones.

THESE PROBLEMS  *DO NOT* OCCUR WHEN  PING OR ANY OF THE OTHER COMMANDS ARE
ISSUED FROM ONE OF THE SCREENS WHICH IS NOT RUNNING X.

The configuration of the machine where the above problem is encountered:

Hardware:
	- IBM PC Compatible 486 (Make: Terran, Model: T40) 
device       address      interrupt   dma   comment
======       =======      =========   ===   =======
fpu       0x0000-0x0000       15      -1    type=80387 
serial    0x03f8-0x03ff       04      -1    unit=0 type=Standard nports=1 
serial    0x02f8-0x02ff       03      -1    unit=1 type=Standard nports=1 
floppy    0x03f2-0x03f7       06      02    unit=0 type=96ds15 
floppy    0x0000-0x0000       00      -1    unit=1 type=135ds18 
console   0x0000-0x0000       00      -1    unit=vga type=0 12= screens=68k 
parallel   0x03bc-0x03be       07      -1    unit=1 
tape      0x0338-0x033c       05      01    type=wangtek 
adapter   0x0330-0x0332       13      05    type=ad ha=0 id=7 
e3B       0x0300-0x0310       11      -1    type=3c503 addr=02:60:8c:0f:99:a5 
tape      0x0000-0x0000       00      -1    type=S ha=0 id=2 lun=0 
disk      0x0000-0x0000       00      -1    type=S ha=0 id=0 lun=0 
Sdsk      0x0000-0x0000       00      -1    cyls=632 hds=64 secs=32 

Software:
	Open Desk Top Personal System 1.1:
		ODT-OS
		TCP-IP
		NetBIOS
		LAN Manager 
		NFS
		Streams 
		ODT View (with which we are having the above problem)
	The machine in question has mounted (NFS) file systems from other
	machines from our local net.

The Open Desktop Installation guide *may be* hinting at this problem on
page 255 in Appendix J under Common System Resource Error Messages:
"If you use multiple servers (Xterminals or Console multiscreens) with
Open Desktop, you might need to reset some system parameters. For information
on configuring Open Desktop for use with multiple servers, see Appendix A,
'X Terminal and Multiscreen Configuration,' of Administering ODT-View in
the Administrator's Guide"
However, Administering ODT-View in the ODT Administrator's Guide has the
appendix A as 'Desktop Commands and Utilities'. Is this a typo in the 
manual or have I got incompatible manuals ?

My guess is that its probably some incorrect setting of system parameters.
The /etc/conf/cf.d/config.h file is reproduced at the end.

Any help in resolving this problem would be appreciated. I would also
welcome any references (manuals/books/articles) for a deeper understanding
of the issues on hand.

Please mail your replies directly to me as presently I am not closely monitoring
these news groups. I will summarise if there is general interest.
Thanks in advance for your help.

dhiraj ++
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> Dhiraj Sharma                      | ACSnet:  dhiraj@bohra.cpg.oz[.au]       <
> CP Software, 19 Cato St,           | UUCP:  ..uunet!munnari!bohra.cpg!dhiraj <
> East Hawthorn, Australia, 3004     | Phone: +61-3-8230220 Fax: +61-3-8248068 <
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

APPENDIX: tunable parameters section from /etc/conf/cf.d/config.h 
/*----------------------------------------------------------------*/
/* defines for each tunable parameter */
#define	KDBSYMSIZE	60000
#define	NBUF	0
#define	MAXBUF	600
#define	NCALL	30
#define	NINODE	300
#define	NS5INODE	300
#define	NFILE	300
#define	NMOUNT	8
#define	CTBUFSIZE	128
#define	NPROC	100
#define	NREGION	300
#define	NCLIST	120
#define	MAXUP	25
#define	NOFILES	60
#define	NHBUF	64
#define	NPBUF	20
#define	DMAABLEBUF	16
#define	NAUTOUP	10
#define	NGROUPS	8
#define	BDFLUSHR	30
#define	MAXPMEM	0
#define	SHLBMAX	3
#define	FLCKREC	100
#define	PUTBUFSZ	2000
#define	MAXSLICE	25
#define	ULIMIT	2097152
#define	SPTMAP	50
#define	PIOMAP	50
#define	PIOMAXSZ	64
#define	DO387CR3	0
#define	NODE	"quokka"
#define	CMASK	0
#define	NUMXT	3
#define	NUMSXT	6
#define	NCPYRIGHT	10
#define	NKDVTTY	8
#define	PRFMAX	2048
#define	VHNDFRAC	16
#define	AGEINTERVAL	19
#define	GPGSLO	25
#define	GPGSHI	40
#define	GPGSMSK	1056
#define	MAXSC	1
#define	MAXFC	1
#define	MAXUMEM	2560
#define	MINARMEM	25
#define	MINASMEM	25
#define	MINHIDUSTK	4
#define	MINUSTKGAP	2
#define	NQUEUE	624
#define	NSTREAM	168
#define	NSTRPUSH	9
#define	NSTREVENT	256
#define	MAXSEPGCNT	1
#define	NMUXLINK	64
#define	STRMSGSZ	4096
#define	STRCTLSZ	1024
#define	NBLK4096	12
#define	NBLK2048	60
#define	NBLK1024	48
#define	NBLK512	72
#define	NBLK256	104
#define	NBLK128	249
#define	NBLK64	296
#define	NBLK16	168
#define	NBLK4	256
#define	STRLOFRAC	80
#define	STRMEDFRAC	90
#define	NLOG	3
#define	NUMSP	32
#define	NUMTIM	64
#define	NUMTRW	64
#define	MSGMAP	100
#define	MSGMAX	2048
#define	MSGMNB	4096
#define	MSGMNI	50
#define	MSGSSZ	8
#define	MSGTQL	40
#define	MSGSEG	1024
#define	SEMMAP	10
#define	SEMMNI	10
#define	SEMMNS	60
#define	SEMMNU	30
#define	SEMMSL	25
#define	SEMOPM	10
#define	SEMUME	10
#define	SEMVMX	32767
#define	SEMAEM	16384
#define	SHMMAX	524288
#define	SHMMIN	1
#define	SHMMNI	100
#define	SHMSEG	6
#define	SHMALL	512
#define	NRCVD	150
#define	NSNDD	100
#define	NSRMOUNT	10
#define	NADVERTISE	25
#define	MAXGDP	24
#define	MINSERVE	3
#define	MAXSERVE	6
#define	NRDUSER	250
#define	RFHEAP	3072
#define	NLOCAL	0
#define	NREMOTE	0
#define	RCACHETIME	10
#define	RFS_VHIGH	1
#define	RFS_VLOW	1
#define	S52KNBUF	100
#define	S52KNHBUF	32
#define	NMPBUF	0
#define	NMPHEADBUF	150
#define	BFREEMIN	0
#define	S5CACHEENTS	256
#define	S5HASHQS	61
#define	S5OFBIAS	8
#define	DSTFLAG	1
#define	TBLNK	0
#define	NSCRN	0
#define	NEMAP	10
#define	TIMEZONE	480
#define	XSEMMAX	60
#define	XSDSEGS	25
#define	XSDSLOTS	3
#define	SCRNMEM	0
#define	KBTYPE	0
#define	NDISK	4
#define	EVQUEUES	8
#define	EVDEVS	16
#define	EVDEVSPERQ	3
#define	NSPTTYS	16
#define	DMAEXCL	1
#define	ETRUNC	0
#define	NTTYP	8
#define	NNFSRNODE	150
#define	NNCB_DEV	32
#define	NNCBS	32
#define	NNCB_NAMES	16
#define	NFSTREAM	32
#define	NFSBUFS	60
#define	NBINDX	80
#define	MAXVCS	20
#define	NPTE	64
#define	NBIDS	32
#define	NTIDS	32
#define	NEXS	150
#define	NWB	32
#define	NASEVENT	40
#define	NCONSTABLE	32
#define	NALIAS	16
#define	NRECYCLE	3
#define	NCALLRETRY	10
#define	XITONCLOSE	0
#define	CNCBS	0
#define	CORMAPNCB	0
#define	XNETINODE	64
/*----------------------------------------------------------------*/