Bug 177052 - ntpd dies with the error "Exiting: out of memory!"
ntpd dies with the error "Exiting: out of memory!"
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: ntp (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Miroslav Lichvar
Brian Brock
: 156939 179914 (view as bug list)
Depends On: 158541
Blocks: 181409
  Show dependency treegraph
Reported: 2006-01-05 14:42 EST by Neil Horman
Modified: 2014-01-21 17:53 EST (History)
5 users (show)

See Also:
Fixed In Version: RHSA-2006-0393
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-08-10 14:25:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0393 normal SHIPPED_LIVE Low: ntp security update 2006-08-10 00:00:00 EDT

  None (edit)
Comment 1 R P Herrold 2006-01-06 11:26:50 EST
I can reproduce this as well -- ask if you need details
Comment 2 Petr Raszyk 2006-01-09 09:17:39 EST
I need details.

I can not set setrlimit() on x86_64 (only on i386). There are traces:

WARNING: try to set setrlimit(RLIMIT_MEMLOCK,64*1024*1024)
service_main(): 798: errno=1: WARNING: Cannot set RLIMIT_MEMLOCK 64*1024*1024
service_main(): 803: errno=1: WARNING: Cannot set RLIMIT_MEMLOCK 32*1024*1024

Comment 3 Petr Raszyk 2006-01-09 09:22:02 EST
started as 'root':  errno == 1 == EPERM

       EPERM  A non-superuser tries to use setrlimit() to increase the soft or
              hard limit above the current hard limit, or a superuser tries to
              increase RLIMIT_NOFILE above the current kernel maximum.
Comment 4 Petr Raszyk 2006-01-09 09:27:03 EST
If I try getrlimit():

+PID=17388: cfr-ntpd.PRO: ntpd.c: service_main(): 785: errno=107: WARNING:
getrlimit(): .rlim_cur=>32768< .rlim_max=>32768<
Comment 8 Miroslav Lichvar 2006-03-21 07:44:31 EST
*** Bug 156939 has been marked as a duplicate of this bug. ***
Comment 11 Bob Johnson 2006-04-11 12:31:24 EDT
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 4.4 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 4.4 release.
Comment 13 Miroslav Lichvar 2006-05-04 03:31:36 EDT
*** Bug 179914 has been marked as a duplicate of this bug. ***
Comment 18 Red Hat Bugzilla 2006-08-10 14:25:31 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.