Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 1999 20:45:02 -0500
From:      Alex Heiphetz <heiphetz@cvzoom.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Mistery/Limiting resources
Message-ID:  <3.0.6.32.19990304204502.0090ae50@cvzoom.net>

next in thread | raw e-mail | index | archive | help
Hi:

here is something misterious for me:
command "limits -H -C httpd" lists hard resources for class httpd,
that is "hard" (or maximum) resource limits" (from man page)
command "limits -S -C httpd" lists soft resources for class httpd,
that is " setting of "soft" (or current) resource limits" (from man page)

Here is output of these commands on my box showing that soft resources
exceed hard by A LOT. What gives? I am especially concerned with 
datasize/memory usage part.

ahg# limits -H -C httpd
Resource limits for class httpd:
  cputime               300 secs
  filesize             8192 kb
  datasize-max         8192 kb
  stacksize-max        2048 kb
  coredumpsize         2048 kb
  memoryuse-max        8192 kb
  memorylocked-max     4096 kb
  maxprocesses           64
  openfiles-max          20
ahg# limits -S -C httpd
Resource limits for class httpd:
  cputime               300 secs
  filesize             8192 kb
  datasize-cur        22528 kb
  stacksize-cur        8192 kb
  coredumpsize         2048 kb
  memoryuse-cur       30720 kb
  memorylocked-cur    10240 kb
  maxprocesses           64
  openfiles-cur          64  

Thanks,
A.Heiphetz



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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