Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[MX] 'xntpd[xxxx]: mlockall(): Resource temporarily unavailable' error message



Article ID: KB26977 KB Last Updated: 07 Mar 2013Version: 1.0
This article describes the issue of the xntpd[xxxx]: mlockall(): Resource temporarily unavailable error message being generated, when a configuration is committed.
When committing a configuration, the following log messages are generated:
Feb 9 23:50:36  xntpd: ntpd exiting on signal 1
Feb 9 23:50:36  xntpd[1304]: ntpd 4.2.0-a Sat Aug 25 06:07:26 UTC 2012 (1)
Feb 9 23:50:36  xntpd[1304]: mlockall(): Resource temporarily unavailable

This is a cosmetic issue and it can ignored in low-end platforms. Mlockall() system call locks down a certain portion of the physical memory address space, until a process exits or executes another program.

On low-end systems, the physical memory is a scarce resource; so each process has been allocated a fixed limit on how much they can lock down. When a process starts to use more and more memory during its run, at one point of time in their run, it will not be able to lock down any more, as it has reached the maximum on the limit.

When NTPD starts, it tries to lock the physical memory pages. During its run, in the future, it will try to lock down again and again on the pages that are mapped to its process. This might fail during future mappings, as the resource limits have been exceeded.

These messages are generated, when NTPD tries to lock down once again and mlockall() fails to do so; which essentially translates to try again in the future. This will not cause NTPD to fail in processing events. This message can be safely ignored on lower-end platforms.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search