core reload now
is dirty, and not call device cleanup.
Also exec() new instance of asterisk, and old asterisk pid still alive.
This mean
1) lock files still exist
2) lock files contain valid pid
and user cause error '...already used by pid ...'
Should improove device locking by
1) Add CLOSE ON EXEC flag for fd to devices
2) add to lock file also fd number and check with port_status() after pid check
Original issue reported on code.google.com by bg_...@mail.ru on 12 Jan 2011 at 8:35
Original issue reported on code.google.com by
bg_...@mail.ru
on 12 Jan 2011 at 8:35