Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?





Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.6.


Set resource limits for applications.


bytes—Maximum size of each file, in kilobytes (KB) or megabytes (MB).

Syntax: Where x is some number, use xk to specify KB or xm to specify MB.

cpu—CPU resources.

  • priority number—Highest priority number (nice level) at which the process can run.

  • time seconds—Maximum amount of CPU time that can be accumulated.

file—File system resources.

  • core-size bytes—Maximum size of a core file that can be created.

  • open number—Maximum number of simultaneous open files.

  • size bytes—Maximum size of a file that can be created.

memory—Memory resources.

  • data-size bytes—Maximum size of the data segment.

  • locked-in bytes—Maximum number of bytes that can be locked into memory.

  • resident-set-size bytes—Maximum amount of private or shared memory at any given moment.

  • socket-buffers bytes—Maximum amount of physical memory that may be dedicated to the socket buffers.

  • stack-size bytes—Maximum size of the stack segment.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Related Documentation