# /etc/security/limits.conf##Each line describes a limit for a user in the form:##<domain> <type> <item> <value>##Where:#<domain> can be:# - a user name# - a group name, with @group syntax# - the wildcard *, for default entry# - the wildcard %, can be also used with %group syntax,# for maxlogin limit# - NOTE: group and wildcard limits are not applied to root.# To apply a limit to the root user, <domain> must be# the literal username root.##<type> can have the two values:# - "soft" for enforcing the soft limits# - "hard" for enforcing hard limits##<item> can be one of the following:# - core - limits the core file size (KB)# - data - max data size (KB)# - fsize - maximum filesize (KB)# - memlock - max locked-in-memory address space (KB)# - nofile - max number of open file descriptors# - rss - max resident set size (KB)# - stack - max stack size (KB)# - cpu - max CPU time (MIN)# - nproc - max number of processes# - as - address space limit (KB)# - maxlogins - max number of logins for this user# - maxsyslogins - max number of logins on the system# - priority - the priority to run user process with# - locks - max number of file locks the user can hold# - sigpending - max number of pending signals# - msgqueue - max memory used by POSIX message queues (bytes)# - nice - max nice priority allowed to raise to values: [-20, 19]# - rtprio - max realtime priority# - chroot - change root to directory (Debian-specific)##<domain> <type> <item> <value>root soft nofile 1048576root soft core 1048576root hard nofile 1048576* soft nofile 1048576* soft core 1048576* hard nofile 1048576# End of file
# This file is part of systemd.## systemd is free software; you can redistribute it and/or modify it under the# terms of the GNU Lesser General Public License as published by the Free# Software Foundation; either version 2.1 of the License, or (at your option)# any later version.## Entries in this file show the compile time defaults. Local configuration# should be created by either modifying this file, or by creating "drop-ins" in# the system.conf.d/ subdirectory. The latter is generally recommended.# Defaults can be restored by simply deleting this file and all drop-ins.## Use 'systemd-analyze cat-config systemd/system.conf' to display the full config.## See systemd-system.conf(5) for details.[Manager]#LogLevel=info#LogTarget=journal-or-kmsg#LogColor=yes#LogLocation=no#LogTime=no#DumpCore=yes#ShowStatus=yes#CrashChangeVT=no#CrashShell=no#CrashReboot=no#CtrlAltDelBurstAction=reboot-force#CPUAffinity=#NUMAPolicy=default#NUMAMask=#RuntimeWatchdogSec=0#RebootWatchdogSec=10min#KExecWatchdogSec=0#WatchdogDevice=#CapabilityBoundingSet=#NoNewPrivileges=no#SystemCallArchitectures=#TimerSlackNSec=#StatusUnitFormat=description#DefaultTimerAccuracySec=1min#DefaultStandardOutput=journal#DefaultStandardError=inherit#DefaultTimeoutStartSec=90s#DefaultTimeoutStopSec=90s#DefaultTimeoutAbortSec=#DefaultRestartSec=100ms#DefaultStartLimitIntervalSec=10s#DefaultStartLimitBurst=5#DefaultEnvironment=#DefaultCPUAccounting=no#DefaultIOAccounting=no#DefaultIPAccounting=no#DefaultBlockIOAccounting=no#DefaultMemoryAccounting=yes#DefaultTasksAccounting=yes#DefaultTasksMax=15%#DefaultLimitCPU=#DefaultLimitFSIZE=#DefaultLimitDATA=#DefaultLimitSTACK=#DefaultLimitCORE=#DefaultLimitRSS=DefaultLimitNOFILE=1048576#DefaultLimitAS=#DefaultLimitNPROC=#DefaultLimitMEMLOCK=#DefaultLimitLOCKS=#DefaultLimitSIGPENDING=#DefaultLimitMSGQUEUE=#DefaultLimitNICE=#DefaultLimitRTPRIO=#DefaultLimitRTTIME=#DefaultOOMPolicy=stop