stass/pam_af — Issue #2: pam_af_tool hangs
Author: mwisnicki
Created: 2011-11-19 16:06:16+00:00
State: open

I was attempting to periodically unlock old blocks and restore locks on startup using following crontab entries:

```
*/5 * * * * root /usr/local/sbin/pam_af_tool unlock > /dev/null 2>&1
@reboot root /usr/local/sbin/pam_af_tool lock
```

Unfortunately sometimes it will hang in the resolver and I think block db thus blocking further invocations. For some reason it will also eat 100% of cpu and hang like that forever.

Maybe host stats should include ip address to avoid using resolver for above operations (in addition to fixing whatever causes it to hang) ?