[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: stopping exim4 from hanging on startup with no network



Hi,

I don't know if this is related or not...

Sendmail used to hang on me with no network (for a min or so) until I put an
entry in the hosts file to cover the domain name.

Sendmail was trying to look up the mailname on the nonexisting network.

Ian

-----Original Message-----
From: Micha Feigin [mailto:michf@post.tau.ac.il] 
Sent: Friday, 30 January 2004 5:20 AM
To: debian-user
Subject: Re: stopping exim4 from hanging on startup with no network

On Thu, Jan 29, 2004 at 09:08:05AM +0000, Clive Menzies wrote:
> On (29/01/04 00:32), Micha Feigin wrote:
> > I have exim4 setup on a laptop, thus the network isn't always available
> > when the system starts up.
> > The problem is that when the network isn't found it hangs for about a
> > minute before it gives up and lets the boot process continue which is
> > very annoying. I think it is hanging on trying to connect to the
> > smarthost but I'm not sure.
> > Any way to tell it to do that in the background, avoid the check on
> > startup or give up faster?
> Hi Micha
> 
> Is it only when searching for the network?  Since upgrading to exim4, I
> experience a long delay during "starting MTA" in the boot sequence.
> This is on a desktop permanently connected with a manually assigned IP
> address.
> 

Its got a delay of a minute I think (I measured once) during the
"starting MTA" message, like you, but it only hangs if the network is
not connected. If its got an active network then it takes only a second
or two.

> It's a minor irritation, because reboots are infrequent but on a laptop,
> it must be a "pain in the *ss"
> 
> Regards
> 
> Clive
> 
> 
> -- 
> http://www.clivemenzies.co.uk
> strategies for business
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
> 


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: