mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-03 19:17:29 -05:00 
			
		
		
		
	Set LimitNPROC=512 for systemd
This commit is contained in:
		
							parent
							
								
									261547b42c
								
							
						
					
					
						commit
						280ae833d4
					
				
							
								
								
									
										2
									
								
								dist/init/linux-systemd/caddy.service
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/init/linux-systemd/caddy.service
									
									
									
									
										vendored
									
									
								
							@ -26,7 +26,7 @@ TimeoutStopSec=5s
 | 
				
			|||||||
; Limit the number of file descriptors; see `man systemd.exec` for more limit settings.
 | 
					; Limit the number of file descriptors; see `man systemd.exec` for more limit settings.
 | 
				
			||||||
LimitNOFILE=1048576
 | 
					LimitNOFILE=1048576
 | 
				
			||||||
; Unmodified caddy is not expected to use more than that.
 | 
					; Unmodified caddy is not expected to use more than that.
 | 
				
			||||||
LimitNPROC=64
 | 
					LimitNPROC=512
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; Use private /tmp and /var/tmp, which are discarded after caddy stops.
 | 
					; Use private /tmp and /var/tmp, which are discarded after caddy stops.
 | 
				
			||||||
PrivateTmp=true
 | 
					PrivateTmp=true
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user