mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	Update highload.html with splice() requirements
This commit is contained in:
		
							parent
							
								
									b583e423c8
								
							
						
					
					
						commit
						b56c294c01
					
				@ -28,10 +28,14 @@ Each connected client require:
 | 
				
			|||||||
<ul>
 | 
					<ul>
 | 
				
			||||||
<li>1*thread (process)
 | 
					<li>1*thread (process)
 | 
				
			||||||
<li>2*socket (file descriptor). For FTP 4 sockets are required. 
 | 
					<li>2*socket (file descriptor). For FTP 4 sockets are required. 
 | 
				
			||||||
 | 
					<br>Under linux since 0.9 splice() is used. It much more effective, but requires
 | 
				
			||||||
 | 
					<br>2*socket (file descriptor) + 2*pipe (file descriptors) = 4 file descriptors.
 | 
				
			||||||
 | 
					<br>For FTP 4 sockets and 2 pipes are required with splice().
 | 
				
			||||||
<br>1 additional socket (file descriptor) during name resolution for non-cached names
 | 
					<br>1 additional socket (file descriptor) during name resolution for non-cached names
 | 
				
			||||||
<br>1 additional socket during authentication or logging for RADIUS authentication or logging.
 | 
					<br>1 additional socket during authentication or logging for RADIUS authentication or logging.
 | 
				
			||||||
<li>1*ephemeral port (3*ephemeral ports for FTP connection).
 | 
					<li>1*ephemeral port (3*ephemeral ports for FTP connection).
 | 
				
			||||||
<li>1 stack memory segment of ~32K-128K depending on the system + at least 16K and up to few MB (for 'proxy' and 'ftppr') of heap memory. If you are short of memory, prefer 'socks' to 'proxy' and 'ftppr'.
 | 
					<li>1 stack memory segment of ~32K-128K depending on the system + at least 16K and up to few MB (for 'proxy' and 'ftppr') of heap memory. If you are short of memory, prefer 'socks' to 'proxy' and 'ftppr'.
 | 
				
			||||||
 | 
					<li>a lot of system buffers, specially in the case of slow network connections.
 | 
				
			||||||
</ul>
 | 
					</ul>
 | 
				
			||||||
Also, additional resources like system buffers are required for network activity.
 | 
					Also, additional resources like system buffers are required for network activity.
 | 
				
			||||||
<h4>Setting ulimits</h4>
 | 
					<h4>Setting ulimits</h4>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user