Daemon problem at stop

Questions related to general functionality
Post Reply
andlui9
Posts: 37
Joined: 20 Jan 2017, 11:46

Daemon problem at stop

Post by andlui9 »

Hello guys!

I'm checked that the proccess taken too long time to 'die' after stop service. If i 'kill' proccess It generate 'defunct' in proccess, and after same minutes (about 2 ~ 3 minutes) It close.

This is normal?
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: Daemon problem at stop

Post by dimka88 »

Hi, what accel-ppp version you use?

Code: Select all

accel-cmd -V
How many active session when you stop service?
andlui9
Posts: 37
Joined: 20 Jan 2017, 11:46

Re: Daemon problem at stop

Post by andlui9 »

Hi,

I'm using latest (from git), but all before this, same behavior.

About amount of sessions, indifferent, se tiver 300 or 2500, it's the same.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Daemon problem at stop

Post by Dmitry »

kernel slowly destroy ppp interfaces, process will be in defunct state until all interfaces will be destoryed
which kernel version ?
andlui9
Posts: 37
Joined: 20 Jan 2017, 11:46

Re: Daemon problem at stop

Post by andlui9 »

I tested it on 4 different kernel versions, 3.2, 3.10, 3.16 and 4.9. In both the problem occur. However I followed the progress, and the instant I stop the daemon, all ppp interfaces disappear, but the process gets "on", then if I kill it, the "defunct" occurs.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Daemon problem at stop

Post by Dmitry »

ok i'll check
nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

Re: Daemon problem at stop

Post by nik247 »

@andlui9
try latest version from git - latest version (1.11, 1.12) have fix with radius queue.
I tested on my production server and problem of restart daemon fixed - now about 15-16 sec (about 600 sessions ipoe+pppoe)
Post Reply