Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 10:09:31 -0400 (EDT)
From:      Darin Slovitt <darin@slovitt.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   Limits Problems ...
Message-ID:  <Pine.BSF.4.03.9810150952380.5150-100000@plethora.techv.net>

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

I been looking through the mailing archives, but I couldn't find a direct
answer to my problem. Perhaps someone here will be helpfull, and please
excuse this post if I missed some obvious answer ...

I have installed a fresh copy of 3.0-19981006-BETA, and seem to have no
end of problems with limits. When I run 'limits', I get the following
results:

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          531
  openfiles            1064

I have checked login.conf, and it does indeed confirm that the cputime
limits should be set to 'infinity'.

        :cputime=unlimited:\
        :datasize=unlimited:\
        :stacksize=unlimited:\
        :memorylocked=unlimited:\
        :memoryuse=unlimited:\
        :filesize=unlimited:\
        :coredumpsize=unlimited:\
        :openfiles=unlimited:\
        :maxproc=unlimited:\

When I attempt to untar a file, I get the ever-so-annoying: 
 Cputime limit exceeded
 0.000u 0.000s 5:33.14 0.0%      0+0k 3594+7617io 0pf+0w

The point at which this occurs seems random at best, sometimes I almost
make it to the end, other times only two or so files are extracted
before it gives the above message.

What am I missing? When you 'su' to root, does it keep the limits of the
current user, or take on the limits set for root? This machine is in a
remote location, and I cannot compile or even untar things! Why would the
installation default to this!?

Any help would be greatly appreciated!!

--
TTYS :-)
Darin Slovitt


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9810150952380.5150-100000>