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

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9148.0. "nxm upcall" by HYDRA::DAVIS () Wed Mar 12 1997 17:03

    Can anyone provide some information on the origin of the message
    
    nxm upcall: can't grow stack, pid 11644, proc tscom3.out
    
    which is associated with UNIX 4.0A?
    
    Marvin Davis
    
T.RTitleUserPersonal
Name
DateLines
9148.1SMURF::DENHAMDigital UNIX KernelWed Mar 12 1997 21:1712
    Sure. The kernel tried to shove some data onto the stack
    of this thread to pass some scheduling information out
    to the threads library in user space. This is to support
    our 2-level threads scheuling scheme.
    
    Well, there wasn't room on the stack, so we had to kill the
    process. This is comparable to a similar message from the
    signal subsystem when signal information can't be written
    to the stack. The 2 mechanisms are quite similar.
    
    Now, a first guess as to the problem is that your stack
    is too small.
9148.2Still a problemHYDRA::DAVISFri Mar 14 1997 11:4625
    I have tried increasing the stack size but still get the error message.
    Currently limit in csh gives
    cputime         unlimited
    filesize        unlimited
    datasize        1048576 kbytes
    stacksize       524287 kbytes
    coredumpsize    unlimited
    memoryuse       1022560 kbytes
    descriptors     4096 files
    addressspace    1048576 kbytes
    
    This problem comes from a software partner who is trying to qualify his 
    product on 4.0A. The image is built on 3.2?. The error message does not
    show up on 3.2, only 4.0.
    
    The message occurs when the product is shutting down and seems to have
    no detrimental effect.
    
    They can supply a reproducer.
    
    Marvin Davis
    [email protected]
    DTN 297 6853
    
    
9148.3SMURF::DENHAMDigital UNIX KernelFri Mar 14 1997 16:511
    Can only happen on V4.0 releases. Let's have the reproducer!
9148.4Did you increase the correct thread's stack size?WTFN::SCALESDespair is appropriate and inevitable.Fri Mar 14 1997 16:5313
.2> I have tried increasing the stack size but still get the error message.

The problem is occuring on a thread stack; unless that thread just happens to be
the initial thread, you cannot increase it's stack size without changing the
application source code (or patching the image...), that is, the "limit" command
affects only the initial thread's stack.

.2> The error message does not show up on 3.2, only 4.0.

This is not surprising -- the "nxm" stuff is new in V4.0.


				Webb
9148.5Partner's bugHYDRA::DAVISThu Mar 20 1997 09:147
    The software partner reports that they have found the bug in their
    code.
    
    Thanks to all for your help
    
    Marvin