Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 12:26:37 -0700 (PDT)
From:      Chris Linstruth <cjl@QNET.COM>
To:        <freebsd-questions@freebsd.org>
Subject:   Open files and Swap Space Errors
Message-ID:  <Pine.BSI.4.33.0208211217370.11740-100000@cello.qnet.com>

next in thread | raw e-mail | index | archive | help
I have a sendmail server giving me resource allocation errors but
it looks to me like plenty of file handles and swap space are
available....  Any thoughts?

FreeBSD x.x.x 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386

# pstat -s
Device          1K-blocks     Used    Avail Capacity  Type
/dev/da0s1b        262016     9856   252160     4%    Interleaved

# sysctl -a | grep files
kern.maxfiles: 8080
kern.maxfilesperproc: 3636
kern.openfiles: 383
p1003_1b.mapped_files: 0

# limits
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         1818
  openfiles            3636
  sbsize           infinity bytes

Running sysctl -a reports too many of these to post here:

swap_pager_getswapspace: failed
swap_pager_getswapspace: failed
swap_pager_getswapspace: failed
swap_pager_getswapspace: failed

and

<3>file: table is full
<3>file: table is full
<3>file: table is full
<3>file: table is full
<3>file: table is full

And a few like this:
<3>pid 29289 (sendmail), uid 0, was killed: out of swap space

Any thoughts appreciated.
-- 
Chris Linstruth <cjl@qnet.com>


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?Pine.BSI.4.33.0208211217370.11740-100000>