How to change priority vpnserver

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
gvsurenderreddy
Posts: 14
Joined: Tue Mar 04, 2014 1:31 pm

How to change priority vpnserver

Post by gvsurenderreddy » Mon Mar 10, 2014 12:25 am

Hello sir,
Vpn servers runs at -20 how can i change it during start please

dnobori
Posts: 228
Joined: Tue Mar 05, 2013 10:04 am

Re: How to change priority vpnserver

Post by dnobori » Mon Mar 10, 2014 3:51 am

You can modify the values on the UnixSetHighPriority() function.

gvsurenderreddy
Posts: 14
Joined: Tue Mar 04, 2014 1:31 pm

Re: How to change priority vpnserver

Post by gvsurenderreddy » Mon Mar 10, 2014 3:38 pm

Hello I have to do renice .I'm looking out how to start softether at Priority 0

arprip
Posts: 27
Joined: Wed Feb 26, 2014 3:36 am

Re: How to change priority vpnserver

Post by arprip » Mon Mar 10, 2014 11:51 pm

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

gvsurenderreddy
Posts: 14
Joined: Tue Mar 04, 2014 1:31 pm

Re: How to change priority vpnserver

Post by gvsurenderreddy » Tue Mar 11, 2014 2:53 am

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.

arprip
Posts: 27
Joined: Wed Feb 26, 2014 3:36 am

Re: How to change priority vpnserver

Post by arprip » Tue Mar 11, 2014 3:15 am

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.

gvsurenderreddy
Posts: 14
Joined: Tue Mar 04, 2014 1:31 pm

Re: How to change priority vpnserver

Post by gvsurenderreddy » Tue Mar 11, 2014 8:37 pm

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

qupfer
Posts: 202
Joined: Wed Jul 10, 2013 2:07 pm

Re: How to change priority vpnserver

Post by qupfer » Wed Mar 12, 2014 11:03 am

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'

Post Reply