*BSD News Article 77801


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!news.seinf.abb.se!nooft.abb.no!Norway.EU.net!mcsun!EU.net!sun4nl!sci.kun.nl!polder.ubc.kun.nl!joop
From: Joop Jansen <joop@polder.ubc.kun.nl>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Help with ulimit, please
Date: Sat, 31 Aug 1996 18:26:23 +0200
Organization: University of Nijmegen, The Netherlands
Lines: 51
Message-ID: <Pine.NEB.3.94.960831182314.24496A-100000@polder.ubc.kun.nl>
Reply-To: Joop Jansen <joop@polder.ubc.kun.nl>
NNTP-Posting-Host: polder.ubc.kun.nl
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,

I have a rather urgent problem. I want to run a program that needs to
allocate a large amount of space, but I don't seem to have the priviledge.
I need about 18Mb of memory, the machine has got 32Mb. ulimit gives the
information shown  below. I suspect that I need to raise a global
limit, but I could not find the right handle.

If anyone could give me advise, I would be VERY, VERY grateful.

Thanks,

  Joop Jansen


$ ulimit -a
core file size (blocks)  0
data seg size (kbytes)   16384
file size (blocks)       unlimited
max memory size (kbytes) 28884
stack size (kbytes)      512
cpu time (seconds)       unlimited
max user processes       40
pipe size (512 bytes)    1
open files               64
virtual memory (kbytes)  16896

$ ulimit -v 2000 
ulimit: cannot raise limit: Invalid argument

Sometimes a get a message about not being priviledged to do so.


                /\     
      /\       / /         
______\	\ __/\/ /_____________________________________________________
       \ \ / / /       
	\ \  \/ \      
	/\/\ /   \     Polderland, Language & Speech Technology
       /    X     \    
       | /\/ \/\  |    P.O. Box 31070
       |/ /   \ \ |    6503 CB Nijmegen
    ___/ /_    \ \|    The Netherlands
   /  /	/  \    \ \    Tel: +31-24-3528853 
  /   \/    \    \/    Fax: +31-24-3540090
_/           \    |    
              \   |    Joop Jansen
	       \  |    joop@polder.ubc.kun.nl
                \______________________________________________________