Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 09:30:00 +0300
From:      Sergey Chumakov <css@alkar.net>
To:        freebsd-stable@freebsd.org
Subject:   Process size.
Message-ID:  <20080814093000.4842b37c@while.alkar.net>

next in thread | raw e-mail | index | archive | help
Hello,

FreeBSD 7.0-RELEASE-p3 #3

$top
...
  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
36032 root     2838  44    0  1917M  1493M ucond  0 406:39  3.03% CGServer
...

$cat /boot/loader.conf.local
...
kern.maxdsiz="1073741824"
kern.maxssiz="134217728"
kern.dfldsiz="1073741824"

$limits
Resource limits (current):
...
  datasize          1048576 kB
  stacksize          131072 kB

How and why is it possible for process to grow up to 1493M and even
more? I suppose, it will be able to eat all available system memory (was
killed).

Thank you for answers.

-- 
Sincerely,

Sergey Chumakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080814093000.4842b37c>