[Dovecot] Is "Resource temporarily unavailable" an old problem?
Hi.
I've installed dovecot recently in a Fedora 5 Linux. It seemed to be OK but I begun to get the message "Can't connect to auth server at default: Resource temporarily unavailable". When I get the message, dovecot hangs.
The problem is that "temporarily" is not quite true since the only way to get dovecot running again is to restart it. As a matter of fact, I cannot say that it never recovers. What I know is that it is out for a long, long time.
Then a new problem arose: the time between hang-ups begun to diminish. Trying to find why I discovered that the number or dovecot-auth processes was too high (last time I got 169 processes, a lot of them <defuncts>). It seems that, if I kill all these processes, it takes more time before it hangs again.
I looked up for messages in the Internet and I found a mail exchange between people from this list. The first hint I got was to upgrade dovecot.
As I said, I'm using Fedora 5 and the version distributed with it was dovecot-1.0-0.beta2.7.i386. I upgraded it to dovecot-1.0-0.beta8.2.fc5.i386. I couldn't make any direct relantionship between this versions and the ones in dovecot site so I cannot tell what dovecot version I'm using in terms of dovecot site versioning.
Any help is welcome.
Thanks,
Ricardo
Hello,
this might be an old problem indeed, but to really get some help from Timo and others in the know, they will need the dovecot version:
dovecot --version
should do the trick.
Regards,
Christian
Christian Balzer Network/Systems Engineer NOC chibi@gol.com Global OnLine Japan/Fusion Network Services http://www.gol.com/
On Mon, 2006-11-13 at 22:39 -0300, Ricardo Dias Campos wrote:
Then a new problem arose: the time between hang-ups begun to diminish. Trying to find why I discovered that the number or dovecot-auth processes was too high (last time I got 169 processes, a lot of them <defuncts>). It seems that, if I kill all these processes, it takes more time before it hangs again.
Well, this is your problem. I guess you're using PAM? So it sounds like you're using some PAM plugin which hangs and causes Dovecot to break.
As I said, I'm using Fedora 5 and the version distributed with it was dovecot-1.0-0.beta2.7.i386. I upgraded it to dovecot-1.0-0.beta8.2.fc5.i386.
beta8 is half a year old, and I've done several fixes since then. Upgrading might help, but I think it's a problem with your PAM configuration anyway.
On Sat, 2006-11-18 at 23:12 +0200, Timo Sirainen wrote:
On Mon, 2006-11-13 at 22:39 -0300, Ricardo Dias Campos wrote:
Then a new problem arose: the time between hang-ups begun to diminish. Trying to find why I discovered that the number or dovecot-auth processes was too high (last time I got 169 processes, a lot of them <defuncts>). It seems that, if I kill all these processes, it takes more time before it hangs again.
Well, this is your problem. I guess you're using PAM? So it sounds like you're using some PAM plugin which hangs and causes Dovecot to break.
As I said, I'm using Fedora 5 and the version distributed with it was dovecot-1.0-0.beta2.7.i386. I upgraded it to dovecot-1.0-0.beta8.2.fc5.i386.
beta8 is half a year old, and I've done several fixes since then. Upgrading might help, but I think it's a problem with your PAM configuration anyway.
Actually if it's only the <defunct> processes that keep adding up, then it's a bug in dovecot-auth. I haven't heard of this happening with newer 1.0rcs, so I'd suggest upgrading first.
participants (3)
-
Christian Balzer
-
Ricardo Dias Campos
-
Timo Sirainen