Fix documentation about file descriptor limits.
This commit is contained in:
		
							parent
							
								
									4715815ba2
								
							
						
					
					
						commit
						78ae9fb3ce
					
				
							
								
								
									
										13
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README
									
									
									
									
									
								
							@ -3,15 +3,6 @@ Welcome and thanks for downloading uHub, a high performance ADC p2p hub.
 | 
			
		||||
For the official documentation, bugs and other information, please visit:
 | 
			
		||||
http://www.uhub.org/
 | 
			
		||||
 | 
			
		||||
Compatible ADC clients
 | 
			
		||||
For a list of compatible ADC clients, see:
 | 
			
		||||
http://www.adcportal.com/wiki/index.php/ADC_Software_List#Client_Software
 | 
			
		||||
 | 
			
		||||
Windows:
 | 
			
		||||
- StrongDC
 | 
			
		||||
- ApexDC 1.1.x and newest
 | 
			
		||||
- Jucy
 | 
			
		||||
- RSX++
 | 
			
		||||
 | 
			
		||||
Unix\Linux:
 | 
			
		||||
- Linuxdcpp 1.1.x+   and newest
 | 
			
		||||
- FreeDC++
 | 
			
		||||
- EiskaltDC++
 | 
			
		||||
@ -44,12 +44,14 @@ Example:
 | 
			
		||||
  % uhub -f -l mylog.txt -u nobody -g nogroup
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
If you are planning to more than 1000 users on hub, you must increase the number of max descriptor limits.
 | 
			
		||||
The descriptor limits must be great than the value of max_users uhub.conf.
 | 
			
		||||
If you are planning to more than 1024 users on hub, you must increase the max number of file descriptors allowed.
 | 
			
		||||
This limit needs to be higher than the configured max_users in uhub.conf.
 | 
			
		||||
 | 
			
		||||
In linux you must add the following line in /etc/security/limits.conf (for max_users = 4000 ):
 | 
			
		||||
In linux can add the following lines to /etc/security/limits.conf (allows for ~4000 users)
 | 
			
		||||
      *     soft nofile 4096
 | 
			
		||||
      *     hard nofile 4096
 | 
			
		||||
 | 
			
		||||
Or, you can use (as root):
 | 
			
		||||
  % ulimit -n 4096
 | 
			
		||||
                     
 | 
			
		||||
Your mileage may vary -- Good luck!
 | 
			
		||||
 | 
			
		||||
@ -64,10 +64,11 @@ limit_min_slots = 0
 | 
			
		||||
limit_max_slots = 0
 | 
			
		||||
 | 
			
		||||
# chat control
 | 
			
		||||
# if chat_is_privileged=yes only REG\OP\OWNER may write in main chat
 | 
			
		||||
# if chat_is_privileged=yes only registered users may write in main chat
 | 
			
		||||
chat_is_privileged = no
 | 
			
		||||
 | 
			
		||||
# if chat_only = yes hub block SEARCH\DOWNLOAD 
 | 
			
		||||
# if chat_only = yes then search and transfer functionality is disabled for
 | 
			
		||||
# non-operator users.
 | 
			
		||||
chat_only = no
 | 
			
		||||
 | 
			
		||||
# Configure status message as sent to clients in different circumstances.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user