Hello sir,
Vpn servers runs at -20 how can i change it during start please
How to change priority vpnserver
-
- Posts: 230
- Joined: Tue Mar 05, 2013 10:04 am
Re: How to change priority vpnserver
You can modify the values on the UnixSetHighPriority() function.
-
- Posts: 14
- Joined: Tue Mar 04, 2014 1:31 pm
Re: How to change priority vpnserver
Hello I have to do renice .I'm looking out how to start softether at Priority 0
-
- Posts: 27
- Joined: Wed Feb 26, 2014 3:36 am
Re: How to change priority vpnserver
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
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
-
- Posts: 14
- Joined: Tue Mar 04, 2014 1:31 pm
Re: How to change priority vpnserver
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.
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.
-
- Posts: 27
- Joined: Wed Feb 26, 2014 3:36 am
Re: How to change priority vpnserver
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.
1. run vpnserver start.
2. Check pid number in hidden .pidxxxx file
3. run renice -n 0 -p pidnumber
it should be work.
-
- Posts: 14
- Joined: Tue Mar 04, 2014 1:31 pm
Re: How to change priority vpnserver
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
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: How to change priority vpnserver
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'
> 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'