Page 1 of 1
					
				How to change priority vpnserver
				Posted: Mon Mar 10, 2014 12:25 am
				by gvsurenderreddy
				Hello sir,
Vpn servers runs at -20 how can i change it during start please
			 
			
					
				Re: How to change priority vpnserver
				Posted: Mon Mar 10, 2014 3:51 am
				by dnobori
				You can modify the values on the UnixSetHighPriority() function.
			 
			
					
				Re: How to change priority vpnserver
				Posted: Mon Mar 10, 2014 3:38 pm
				by gvsurenderreddy
				Hello I have to do renice .I'm looking out how to start softether at Priority 0
			 
			
					
				Re: How to change priority vpnserver
				Posted: Mon Mar 10, 2014 11:51 pm
				by arprip
				renice  -n x -p pidofvpnserver
x can be -20 to 19, but only root can use negative number
So here you want
renice -n 0 -p pidofvpnserver
or
nice -n 0 vpnserver
			 
			
					
				Re: How to change priority vpnserver
				Posted: Tue Mar 11, 2014 2:53 am
				by gvsurenderreddy
				nice -n 0 vpnserver
SoftEther VPN Server Service Program
Copyright (c) SoftEther VPN Project. All Rights Reserved.
vpnserver Command Usage:
 vpnserver start  - Start SoftEther VPN Server Service.
 vpnserver stop   - Stop SoftEther VPN Server Service if the service is already started.
this command don't work sir.
			 
			
					
				Re: How to change priority vpnserver
				Posted: Tue Mar 11, 2014 3:15 am
				by arprip
				Change to use  renice
1. run  vpnserver start.
2. Check pid number in  hidden  .pidxxxx  file
3. run  renice -n 0 -p pidnumber
it should  be work.
			 
			
					
				Re: How to change priority vpnserver
				Posted: Tue Mar 11, 2014 8:37 pm
				by gvsurenderreddy
				sir I'm doing this way .But i want it without doing renice and have least low priority like Http,mysql and other .Can you help me how
			 
			
					
				Re: How to change priority vpnserver
				Posted: Wed Mar 12, 2014 11:03 am
				by qupfer
				Why you think it doesn't work? The part:
> SoftEther VPN Server Service Program
> Copyright (c) SoftEther VPN Project. All Rights Reserved.
> 
> vpnserver Command Usage:
>  vpnserver start  - Start SoftEther VPN Server Service.
>  vpnserver stop   - Stop SoftEther VPN Server Service if the service is already started.
is output of SoftEther. So you just need to follow these instrutructions.
'sudo nice -n 0 vpnserver start'