Firefox slow start trying to resolve local hostname

When starting Firefox it tries to resolve my hostname, but since it is not resolvable from everywhere it takes a lot of time before it actually gives up (5 times the lookup timeout).
Having a record in hosts file does not solve it.
Is there a way to disable attempts to resolve my hostname and just use the corresponding ip from hosts file?

Hi finitarry,
thanks for your attention.
The problem is not with resolving sites or resolver in general - there everything is ok and hosts file is used as expected.
The thing is on startup before actually launching the gui. It feels like the lookup is somehow hardcoded there - strace shows
that it opens a socket with nonblock option set, connects it to my DNS, does sendto for query, and then timeouts waiting for readable sockets
poll([{fd=11, events=POLLIN}], 1, 5000) = 0 (Timeout)
and repeats it several times.
So though the socket is set non blocking that part of code can actually block in poll(), and I guess it would be nice if it could perform this lookup in parallel with starting the gui.
The server that used to hold my NS records is temporarily down, and it is natural for queries to last forever till timeout, but hosts file always used to save it.
So I just wonder if it is a bug or a feature.

Similar Messages

  • [SOLVED] Firefox, slow start, 1,5 - 2 minutes.

    A couple of days ago firefox started to take very long time to start, usually around 1,5 minutes.
    I use Nvidia drivers, have two monitors. When I had both active as Separate X screens I got the message:
    Xlib: extension "RANDR" missing on display ":0"
    when I started firefox.
    I disabled my second monitor. Now I dont get the RANDR message but start of firefox is still very slow.
    my xorg.conf look like this.
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 280.13 ([email protected]) Wed Jul 27 17:15:45 PDT 2011
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    Section "Files"
    EndSection
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "us, se"
    Option "XkbOptions" "grp:caps_toggle" #alt "grp:alt_shift_toggle"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "DELL 2707WFP"
    HorizSync 30.0 - 81.0
    VertRefresh 56.0 - 76.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 9600 GT"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Window manager is Xmonad.
    Any ideas what culd be the problem or where to start to look for error?
    Best regards,
    /Christer
    Last edited by agkbill (2011-10-16 18:02:34)

    Wow!
    That solved it! 
    Thank you.
    I moved .mozilla, (new empty folder was created when firefox started). Then I restored my bookmarks from my backup.
    Now firefox "fires" up very fast (sorry for my attempt to a joke).
    Best regards,
    /Christer

  • Why has Firefox suddenly started trying to close everything when I try to close a preview pane of a single, seperate webpage??

    Since the last update, everytime I try to close a firefox window from the preview, firefox wants to close ALL of my windows and tabs. I just want to close a pop up, I don't think it's unreasonable to be able to do that without actually switching to it. I haven't had any problem with this in the past.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Since few days, Firefox crashes when trying to open local php files - without using localhost . It shoudn't. I tried to unsinstall everything and reinstall. But it didn't work. I use a mac osX 10..6

    I'm a beginner web developper. When I try to open php files, Firefox crashes and open millons of new firefox windows . I have no choice other than forcing Firefox to quit. When I use the localhost adress, it's Ok. But because I usually open the file directly from a folder in my HDD, (it's faster to dothis way) transforming it after with the localhost/~username/file ... it' s quite irritant.

    Hi.
    I tried logging in as a different user in the OS and that didn't work.
    Do you mean that Safari crashed there as well?
    If so, that's an indication that the startup disk needs repairing.
    Using Disk Utility to verify or repair disks

  • Slow start up and not responding Firefox 3.6.13

    Slow start up and not responding when I open Firefox 3.6.13. As long as 1 minute. I tried in save mode and it doesn't seem to happen. I used McAfee before and now use Norton IS with Real Time Malwarebytes. Still the same speed opening up, so the virus software is not causing the problem I think. I disable a lot of the add-on and still the same problem. Any suggestions?
    Vista OS

    If other softwares runs fast and smooth it's obvious that it's a Firefox-problem.
    Probably because of a corrupt profile.
    I have done a "checklist" you could follow here: https://support.mozilla.com/en-US/questions/667207#answer-124643
    Regarding slow start up, it's a common and old problem.
    Not all FF-users experience it as a problem, but I used to belong to them who suffered.
    If your cold start up (the first start after a Windows boot) is really slow, but a warm start (the second time you restart Firefox) is much faster - then I think I can help you.
    Try my own simple solution here: https://support.mozilla.com/en-US/questions/762446#answer-119951
    I run on Win 7 64-bit and on Firefox 4.0 betas, but that doesn't matter as it works also on older Windows and Firefox versions.
    Regarding your anti-virus software. I have tried the most of them. The best tradeoff is in my opinion Eset Smart Security (NOD32).
    If you want to try it: http://www.eset.com/download/free-trial/international
    I hope this will help you :)

  • Firefox 3.6.8 will not start. I have to go to safe start, click reset to default, ok, then the shutdown box appears, I click cancel and it will open. I have rest profile, uninstalled and reinstalled, clicked alll he boxes on safe start, tried an older ver

    Firefox 3.6.8 will not start. I have to go to safe start, click reset to default, ok, then the shutdown box appears, I click cancel and it will open. I have rest profile, uninstalled and reinstalled, clicked alll he boxes on safe start, tried an older version need help. in English
    == This happened ==
    Every time Firefox opened
    == either after I last updated to 3.6.6 or .7 or reset my inernet exploerer values to default

    I had same problem where Firefox 3.6.8 would not start or open. Spent many hours trying different things to fix it. Uninstall of previous version and reinstall did not make any difference. Finally, after uninstalling Firefox, I searched for Firefox folders and files on my computer, deleted and removed all Firefox folders and files - deleted anything and everything related to Firefox so that it will be as if I was going to download Firefox for the first time ever. Then, using another browser, I downloaded Firefox 3.6.8 and installed it. It could be that some Add-Ons or something else from the older version of Firefox or profile was interfering with the new one. It was easier to delete remove everything and install all over again clean than to figure out which part was causing the problem.
    Keep in mind, when you delete all Firefox folders and files from your computer, you are deleting all your bookmarks and all your Add-ons. If you want to keep those bookmarks, you might want to save the URLs someplace safe to bookmark them again before deleting them. You need to re-install the Add-ons also. Upon installation, it asks if you want to import bookmarks and settings from another browser or settings you might have. I imported them from my other browser. Now, Firefox works. I also installed up-to-date Add-ons.
    I hope this helps. Always keep more than one browser functioning on your computer, just in case one fails.

  • Firefox has slow start up & I have the latest version. IE, Chrome, AOL start right away. Firefox takes up to 10 minutes.

    Firefox has slow start up & I have the latest version. IE, Chrome, AOL start right away. Firefox takes up to 10 minutes.
    == This happened ==
    Every time Firefox opened
    == when updated to 3.6

    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • When i press the firefox button it trying to start but then it fails and then in the task maneger it is running. pls help me, this is a big problem for me.

    When I try to start firefox it starts to open but then suddenly dies everything. it appears in Task Manager that it is running. I have tried everything but nothing works. so please help me fix this problem so I can continue to use firefox.

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    See also:
    * http://kb.mozillazine.org/Browser_will_not_start_up

  • Firefox 4.0 slow start & stop

    Firefox 4.0 slow starting up!
    Firefox is very slow shutting down.

    In Firefox 4.0 you can configure the loopback address by checkmarking "Use system proxy settings" which is actually the default, in Tools | Options | Advanced | Network (tab), then click the Settings button.
    I don't know of a firewall which doesn't allow you to configure it in different ways though. Which one is it if you don't mind me asking?

  • Can you pass a local file address to be opened when firefox is started?

    I want to view an html file edited in Bluefish. Bluefish provides several start commands for browsers, but does not include one for firefox. I tried "firefox %s&" but that had no effect.

    thanks cor-el, no luck with %u
    every other browser supports this, so you'd think it could be done somehow

  • Firefox very very slow starting

    Every version higher than 3.6 takes a very long time to start. I have checked my anti-virus and firewall settings and they are all good. This problem does not occur with 3.6.

    Hi BCmorganti,
    Have you looked at our [https://support.mozilla.org/en-US/kb/firefox-slow-or-takes-too-long-start performance troubleshooting section]? There is a lot of good information in there that should help.
    I'd try starting Firefox in [[Safe Mode]] too. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    You could also try [https://support.mozilla.org/en-US/kb/Managing-profiles?s=create+a+new+profile&r=2&e=es&as=s#w_creating-a-profile Creating a new profile].
    Hopefully this helps!

  • Shortly after starting Firefox the "music" reminiscent of Pac-Man starts. It is only on Firefox (haven't tried Thunderbird) even following an uninstall and re-install of Firefox. Just started today. Am using XP Home SP3.

    How to get rid of Pac-Man sounds
    Shortly after starting Firefox the "music" reminiscent of Pac-Man starts. It is only on Firefox (haven't tried Thunderbird) even following an uninstall and re-install of Firefox. Just started today. Am using XP Home SP3.
    == This happened ==
    Every time Firefox opened
    == Only today (5/21/10) ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    Dear Firefox:
    I am not amused with the pac-man music. I spent the entire trying to find a virus on my computer. I might have tolerated this as an April Fool's joke, but this "celebration" was completely unnecessary!
    And to others trying to fix the problem ... I just uninstalled Cool Previews and that did the trick. No more bat-shit-crazy pac-man music.

  • When trying to send a link, firefox will start opening new blank tabs and continue until I shutdown my computer.

    This started about a month ago. When try to send a link from a page Firefox will start opening untitled tabs this continues even though I try to close Firefox. It just keeps going until I'm forced to shut down my computer. Just today the same thing happened just clicking a link within Firefox. It seems to have become very unstable.

    See [[Firefox keeps opening many tabs or windows]]
    You can have infinite tabs opening if you have selected Firefox as the application to handle a file if you get an Open with download window.<br />
    Firefox should not be selected as the application to handle a file and you have to remove the action that is associated with that file type.
    See also http://kb.mozillazine.org/File_types_and_download_actions ("File handling in Firefox 3 and SeaMonkey 2" and "Reset Download Actions")
    Set that action in Tools > Options > Applications to 'Always Ask' or delete the file [http://kb.mozillazine.org/mimeTypes.rdf mimeTypes.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to reset all actions.

  • Slow start up after double clicking desktop icon. Firefox 5.0 and 6.0

    When I double click the icon on my desktop it takes 30 40 seconds for Firefox to start. I did this in fire fox 5.0 and 6.0. Firefox 3.6 had no trouble and IE8, Google Chrome and Safari has no trouble. Running win XP with 2 gig ram. 3.06 P 4 cpu on Dell 2400.

    I have these problems, too, and they're making think it's time to give up on Firefox.

  • Exchange trying to resolve external e-mail addresses in local Active Directory

    Hi
    On all of my Mailbox Database servers, i'm getting the following warning in my Application log: 
    Level: Warning
    Source: MSExchange Mid-Tier Storage
    EventID: 2009
    Message:
    [Process:w3wp PID:6032 Thread:89] Error occurred while resolving the Active Directory object for from email address field: '[email protected]'. Audit log will not be generated for this case. Exception details:
    Microsoft.Exchange.Data.Storage.ObjectNotFoundException: The Active Directory user wasn't found.
    at Microsoft.Exchange.Data.Storage.ExchangePrincipalFactory.FromProxyAddress(IRecipientSession session, String proxyAddress, RemotingOptions remotingOptions)
    at Microsoft.Exchange.Data.Storage.ExchangePrincipalFactory.FromProxyAddress(ADSessionSettings adSettings, String proxyAddress, RemotingOptions remotingOptions)
    at Microsoft.Exchange.Data.Storage.ExchangePrincipal.FromProxyAddress(ADSessionSettings adSettings, String proxyAddress)
    at Microsoft.Exchange.Data.Storage.COWAudit.GetSubmitEffectiveMailboxOwner(MailboxSession session, CallbackContext callbackContext)
    I have three Exchange Server 2013 MBX/CAS servers, and two Exchange Server 2013 Edge Transport servers in front of them.
    As mentioned earlier, this warning is on all three of the MBX/CAS servers. The external e-mail address vary.
    I've used the Get-MessageTrackingLog to debug, and I can see that this error comes when an internal user sends a "Meeting Forward Notification" to an external e-mail address. Exchange tries to resolve the external e-mail address in Active Directory
    and throws this warning, for some reason.
    Is there anyone that knows how to fix this?

    Hi Allen
    Sorry for the late reply.
    1. No it's not. It gets the EventID "HADISCARD" and SourceContext "ExplicitlyDiscarded". Here's an example:
    RunspaceId : a25e81b2-9f4a-49f2-895b-xxxxxxxxxxxx
    Timestamp : 09-02-2015 13:01:02
    ClientIp :
    ClientHostname :
    ServerIp :
    ServerHostname : MBX01
    SourceContext : ExplicitlyDiscarded
    ConnectorId :
    Source : SMTP
    EventId : HADISCARD
    InternalMessageId : 8907762172963
    MessageId : <[email protected]>
    Recipients : {[email protected]}
    RecipientStatus : {}
    TotalBytes : 17347
    RecipientCount : 1
    RelatedRecipientAddress :
    Reference :
    MessageSubject : Meeting Forward Notification: A subject
    Sender : [email protected]
    ReturnPath : [email protected]
    Directionality : Originating
    TenantId :
    OriginalClientIp :
    MessageInfo :
    MessageLatency :
    MessageLatencyType : None
    EventData : {[DeliveryPriority, None], [PrioritizationReason, ShadowRedundancy]}
    2. Yes, and other mails are routed to our Edge Transport Servers, and from there to Office 365 (Exchange Online Protection). It's only occurs when sending Meeting Forward Notifications, Accepting meetings, and so fourth - and it all comes from Outlook 2013
    clients (RPC over HTTPS).

Maybe you are looking for

  • Move ASM disks with database from one server to another?

    I have a 11.2.0 ASM with a 11.2.0 database on two internal disks on server1. The disks are not in any raid or volume manager configuration, i.e. they are just two disks. The disks were physically removed from server1 and installed on server2, which i

  • My mouse wheel is not resizing text like it's supposed to ... how do I fix this?

    BACKGROUND: I'm getting tired of warnings in Seamonkey about sites no longer supporting it, and am considering switching to firefox (with the add-ons that keep the Mozilla look and feel, instead of trying to pretend it's M$ IE (which I wouldn't touch

  • Broken adapter socket on iBook, can I replace?

    Hi, just wondering if it is possible to buy and replace the socket in the iBook that the adapter goes into. The pin broke off of my adapter/charger, in the socket, and now even with a new adapter the thing won't turn on. So I'm assuming that this is

  • Do not consider the stock onhand during SNP.

    Hi APO specialists. I'd like to run SNP plan that do not consider the stock onhand. Material A is purchase item. and the forecast of material A has 400 qty. and stock onhand is 200 qty. But I want to make the purchase request as 400 qty. How to ? Any

  • How to add two zeros end of field

    how to add two zeros end of field?