home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9619 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.8 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!yale!gumby!destroyer!caen!hellgate.utah.edu!cc.usu.edu!slow!vasu
  2. From: vasu@slow.cs.usu.edu (Vasudevarao Nugala)
  3. Newsgroups: comp.unix.questions
  4. Subject: How to increase the Maximum limit on Shared Memory
  5. Keywords: SUNOS 4.1, Shared memory
  6. Message-ID: <1992Jul30.202912.57711@cc.usu.edu>
  7. Date: 31 Jul 92 02:29:11 GMT
  8. Sender: vasu@slow (Vasudevarao Nugala)
  9. Organization: Utah State University
  10. Lines: 28
  11. Nntp-Posting-Host: slow.cs.usu.edu
  12.  
  13.  
  14. Hi:
  15.   Subject kind of gives an idea, what the problem is. I am running a
  16. Client-Server model with shared memory and sockets. This runs smoothly until
  17. certain point, i.e., with a smaller problem size. Well, when I increase size
  18. of the problem my program dies, giving a message "Not enough memory on the 
  19. device" (errorno is 28). I would expect that the problem is exceeding the Maximum
  20. size. We rebuild the kernel increasing the maximum limit to 3Meg. But it still
  21. dies. Can anyone please let me what's that I am missing? Am I (ie., My Sys Admin)
  22. building the kernel properly? Please e-mail any comments or suggestions. When
  23. does memory swapping come into picture?
  24.   Thanks.
  25.  
  26. P.S: I am running this on SUNOS 4.1, SUN 4/110 workstations. When I do vmstat it
  27. shows more than 3Meg of free memory. And a fast question: How can one get BUS
  28. alignment error (through xdbx) through malloc. My sequential 
  29. version of the above Client-Server model gives that message, but doesn't 
  30. return a NULL. 
  31. -- 
  32.  
  33.         %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  34.         %                                 %
  35.         % Vasu Nugala            USnail:                      %
  36.         % vasu@dim.cs.usu.edu          PO Box 1336                %
  37.         %                   Logan, UT 84322.           %
  38.         %                    Home: (801) 752-1241.        %
  39.     %                                 %
  40.         %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  41.