[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

356.0. "Mail Keeps Falling Over" by KOBAL::WRIGHT (NYO&W>>>Trains Spoken Here<<<SUSIEQ) Wed Mar 08 1989 11:24

I have a 6mb workstation so I run several things in detached processes on one of
the larger machines in our mixed interconnect cluster and have the display go to
my workstation. Mail is one of these.

Here is my problem. Shortly after my workstation has been booted everything 
seems to work fine. However, after a little while (a day or less) mail becomes 
unstable whenever it is removed from its icon. Shortly it becomes impossible to 
remove mail from its icon without it falling over. The log I get shows nothing.
The process just vanishes in midstride.

Below is the command procedure I use to start these detached processes. Notes 
and DECwrite seem to be ok.

Any suggestions would be appreciated. Is there something in the way I am 
starting the process, perhaps in the quotas on one of the two systems, or does 
this look like a bug?

$! command procedure to start detached processes
$!
$! p1 is the name of the process, this will check
$! if it already exists
$!
$! set up these two logicals for your default directory and your 
$! initials to be incorporated into the process name
$!
$ detached_home = "NOVICE$:[WRIGHT]"
$ detached_log  = "NOVICE$:[WRIGHT.LOG]"
$ detached_name = "TAW_"
$!
$ out = "''detached_log'''p1'.LOG"
$ prcname = "''f$edit(p1,"compress")'"
$ if ('f$locate("''detached_name'",prcname)' .ne. 'f$length(prcname)') then goto ok
$ prcname = "''detached_name'''p1'"
$!
$ ok:
$ on warning then goto noexist
$ define sys$output nl:
$ define sys$error  nl:
$ show proc 'prcname'
$ deass sys$output
$ deass sys$error
$ exit
$!
$ noexist:
$ deass sys$output
$ deass sys$error
$ run/det/dump sys$system:loginout.exe/input='detached_home'login.com-
                                      /output='out'-
                                      /process='prcname'-
                                      /buffer_limit=30000-
                                      /queue_limit=10-
                                      /page_file=48000-
                                      /enqueue_limit=2000-
                                      /io_direct=20-
                                      /io_buff=20-
                                      /file_limit=100-
				      /subprocess_limit=10-
                                      /ast_limit=22-
                                      /job_table_quota=40000-
				      /working_set=400-
                                      /maximum_working_set=4000
$ exit

T.RTitleUserPersonal
Name
DateLines
356.1ASMLIM to lowSTAR::FERGUSONJim Ferguson - VMS DevelopmentWed Mar 08 1989 16:1410
>>>                                      /ast_limit=22-

I think the problem is that you are restricting ASTLIM (set with ASM_LIMIT)
to be a very small value.  We have seen similar problems with the
Bookreader and other applications run remotely where the remote 
node is extremely large say an 8500 or greater.   
Try raising your ASMLIM to 50.

Jim

356.2GOSOX::RYANDECwindows MailThu Mar 09 1989 08:287
	Yep, .1 has it. There is a known bug involving the DECwindows
	transport and Xlib (or something like that, I forget the details)
	which causes the symptom you describe (silent termination), and
	the workaround is indeed to set a high ASTLIM.

	Mike

356.3Use /AUTHORIZE on RUN/DET commandRWCVAX::COULSONRoger Coulson DTN 223-6158Thu Mar 09 1989 09:189
    re:.0
    
    On your RUN/DETACH command you can use a /AUTHORIZE to use the values 
    for your entry in the SYSUAF and save a lot of effort specifying every
    quota you need.
    
    	/s/	Roger
    

356.4Well Not QuiteKOBAL::WRIGHTNYO&W>>>Trains Spoken Here<<<SUSIEQThu Mar 09 1989 14:2655
Well that didn't quite fix the problem. But, that may be because I was mistaken 
about the log output. I could swear that when I checked earlier logs they had 
not shown any output. However, after implementing .1 and it failed to solve the 
problem I found that the most recent logs did show output.

Here are two of the most recent logs. The first was the last failure before I 
increased the ast_limit to 50 and the second is the first failure after I 
increased the ast_limit to 50.

--------------------------- ast_limit = 22 --------------------------------------

%SET-W-NOTSET, error modifying PERSUS$DUA35:
-CLI-E-IVDEVTYPE, invalid device type - specify a mailbox device
$ define sys$scratch NOVICE$:[WRIGHT]
$ define sys$login NOVICE$:[WRIGHT]
$ define decw$display 2105::0		! BLOCKP::0
$ define decw$book sys$utilroot:[public.decw$book-ft21]
$ define sys$input lta0:		! Notes needs this
%DCL-I-SUPERSEDE, previous value of SYS$INPUT has been superseded
$!
$ if ("TAW_MAIL" .eqs. "TAW_BOOKREADER") 	then run sys$system:decw$bookreader
$ if ("TAW_MAIL" .eqs. "TAW_CALENDAR") 	then run sys$system:decw$calendar
$ if ("TAW_MAIL" .eqs. "TAW_CARDFILER")	then run sys$system:decw$cardfiler
$ if ("TAW_MAIL" .eqs. "TAW_CLOCK")	then run sys$system:decw$clock
$ if ("TAW_MAIL" .eqs. "TAW_MAIL")	then run sys$system:decw$mail
X error event received from server: BadMatch - parameter mismatch
  Failed request major op code 42 X_SetInputFocus
  Failed request minor op code 0 (if applicable)
  ResourceID 0x600040 in failed request (if applicable)
  Serial number of failed request 10853
  Current serial number in output stream 10854
%NONAME-E-NOMSG, Message number 02DB822A
XIO: non-translatable vms error code: 0x1C, vms message:
%system-f-exquota, exceeded quota

--------------------------- ast_limit = 50 --------------------------------------

%SET-W-NOTSET, error modifying PERSUS$DUA35:
-CLI-E-IVDEVTYPE, invalid device type - specify a mailbox device
$ define sys$scratch NOVICE$:[WRIGHT]
$ define sys$login NOVICE$:[WRIGHT]
$ define decw$display 2105::0		! BLOCKP::0
$ define decw$book sys$utilroot:[public.decw$book-ft21]
$ define sys$input lta0:		! Notes needs this
%DCL-I-SUPERSEDE, previous value of SYS$INPUT has been superseded
$!
$ if ("TAW_MAIL" .eqs. "TAW_BOOKREADER") 	then run sys$system:decw$bookreader
$ if ("TAW_MAIL" .eqs. "TAW_CALENDAR") 	then run sys$system:decw$calendar
$ if ("TAW_MAIL" .eqs. "TAW_CARDFILER")	then run sys$system:decw$cardfiler
$ if ("TAW_MAIL" .eqs. "TAW_CLOCK")	then run sys$system:decw$clock
$ if ("TAW_MAIL" .eqs. "TAW_MAIL")	then run sys$system:decw$mail
XIO: non-translatable vms error code: 0x1C, vms message:
%system-f-exquota, exceeded quota

356.5The ever-informative EXQUOTA error...GOSOX::RYANDECwindows MailFri Mar 10 1989 09:135
	The only quotas I set higher than yours on RUN/DET are io_direct
	and io_buff, you might try bumping those up (I use 100).

	Mike

356.6Still Falling... Moving to DW Mail ConferenceKOBAL::WRIGHTNYO&W>>>Trains Spoken Here<<<SUSIEQSun Apr 02 1989 14:555
Thanks for the ideas, but the problem still hasn't gone away.

I recently, however, discovered the DW Mail conference and have moved this 
inquiry to there. If I get a resolution I'll post it back here.