*BSD News Article 77273


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news.uoregon.edu!newsfeed.orst.edu!newshub.tc.umn.edu!spool.mu.edu!howland.erols.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.freebsd.misc
Subject: Raising ulimit??
Date: Fri, 30 Aug 1996 18:36:12 +0200
Organization: University of Nijmegen, The Netherlands
Lines: 51
Message-ID: <Pine.NEB.3.94.960830182935.15684A-100000@polder.ubc.kun.nl>
NNTP-Posting-Host: polder.ubc.kun.nl
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello all,

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 below. I suspect that I need raise a sort of 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
                \______________________________________________________