migrated freenas primary IP to a different subnet.
in new web UI went to: services -> AFP -> Bind interfaces and selected the new IP address. Note that the old IP address does not show in the UI and can not be deselected.
netatalk can't be stopped via the web UI. netatalk process does not respond to SIGTERM. AFP shares are functional, but netatalk is hogging 1 CPU thread at 100%. I am guessing it is trying to bing to the non-existing IP address in a busy beaver fashion.
and remove old ip address from
afp listen =
CAVEAT: not sure yet whether workaround is stable across reboots of afp
Potential ways to address this: when generating afp.conf double check that IP addresses destined for afp listen are actually available on the system and remove from config database if not.