Datasize change

Dave Raven dave at raven.za.net
Mon Jun 28 08:06:37 PDT 2004


Hi all,
	I'm having a problem where I need to allow a proccess to use up to
1.5gig of memory, however its going to be a problem to recompile my kernel.
I know that these options would solve the problem:
	options MAXDSIZ = "(1536 * 1024 * 1024)"
	options DFLDSIZ = "(1536 * 1024 * 1024)"

However, I'm wondering if there is a way to do it with login.conf (limits) -
here you can see the limits when datasize is unspecified (using kernel
default) - however could I increase it through that mechanism? Or is there
another way I could do this...

Resource limits (current):
  cputime          infinity secs
  filesize         infinity kb
  datasize           524288 kb
  stacksize           65536 kb
  coredumpsize     infinity kb
  memoryuse        infinity kb
  memorylocked     infinity kb
  maxprocesses         7390
  openfiles           32768
  sbsize           infinity bytes
  vmemoryuse       infinity kb

Thanks in advance
Dave



More information about the freebsd-questions mailing list