PDA

View Full Version : Safari Keeps Reloading Tabs




lexus
Aug 5, 2011, 06:18 AM
Safari 5.1 keeps reloading all my tabs at random and its quite annoying. This never used to happen before. Does anyone know what caused this and how to fix it?

Thank you



stuartmack1974
Aug 5, 2011, 08:09 AM
Yes its incredibly annoying. Fix anyone?????

MBHockey
Aug 5, 2011, 08:13 AM
I've noticed this too a few times. Really annoying and seems unnecessary.

Zerozal
Aug 5, 2011, 10:29 AM
Agreed! I'm assuming this behavior is a bug and not a feature. This is extremely annoying beahvoir, and actually makes working with Safari more difficult.

For example, I like to keep a tab open of my eBay watch list so I can refer to prices at a specific time (of opening a tab) over a day or two. Now when I come back to the Safari window and select the tab, instead of seeing the list as a quick reference as I left it, the page tries to reload, destroying the temporal nature of what the prices were at the time when I opened the tab; depending on how long it's been, it may bring up the ebay log-in window instead of just showing me the page as I last left it.

Give Apple your feedback on this behavior here:
http://www.apple.com/feedback/safari.html

gentlefury
Aug 5, 2011, 10:51 AM
I haven't had this happen to me on any of my macs....how much ram do you have? How much storage do you have left?

MBHockey
Aug 5, 2011, 12:05 PM
I have 4 GB of ram on a 2010 core i7 MBP with a 160 GB SSD that has 60 GB free. I do think it is intended behavior, unfortunately. This is how iOS frees up ram on iPads/iPhones/iPod touches. Why they have moved this "feature" to the desktop space is very questionable. it only happens when I have ~8 or more tabs open.

gentlefury
Aug 5, 2011, 12:35 PM
I have 4 GB of ram on a 2010 core i7 MBP with a 160 GB SSD that has 60 GB free. I do think it is intended behavior, unfortunately. This is who iOS frees up ram on iPads/iPhones/iPod touches. Why they have moved this "feature" to the desktop space is very questionable. it only happens when I have ~8 or more tabs open.

I haven't had this happen once and I have a Mac Pro with 10GB ram, a Mac Mini with 8GB ram and a MacBook Air with 4GB ram....not sure why this is happening to you.

paulsalter
Aug 5, 2011, 12:55 PM
Unable to find out what exactly triggers it to do this (is the machine low on free ram when this happens?)

But in Safari 5.1 if it thinks a tab is no longer being actively used, it removes it from RAM, this is why why you go back to it it reloads it

as someone else mentioned above, this is how iOS does it and it has been brought to the desktop

Zerozal
Aug 6, 2011, 08:36 PM
I haven't had this happen to me on any of my macs....how much ram do you have? How much storage do you have left?

Just happened to me again. Here's a shot of my Activity Monitor from right when it reloaded all the tabs. I've got a total of 12GB RAM, with 2.5GB free and another 4+GB inactive. Very frustrating.

lexus
Aug 9, 2011, 04:14 PM
Another think I noticed is you cannot drag all images to the desktop in the new Safari.

meagain
Aug 11, 2011, 07:10 PM
I can't stand it anymore. Between this and everything else - I can't even function.

Does this have anything to do with that saving page thing ?

branram
Aug 16, 2011, 06:05 PM
I keep experiencing this issue several times each day. This started as soon as I upgraded to Lion. It can't possibly be a RAM issue, I have plenty (8GB). I, like many other users, keep multiple Safari windows open so I can view multiple sites at the same time and quickly toggle back and forth... now I find Safari is constantly reloading all pages simultaneously for no apparent reason. Even when I'm just switching focus from one Safari window to another. I also notice that the load time for some pages will randomly hang up, sometimes even causing other pages to reload. Its getting to the point where I'm going to switch to Firefox or even Chrome for my primary browser... anyone know what the cause could be?

qap
Aug 30, 2011, 11:03 AM
Same here after 5.1 update on both SL and Lion :mad:

But is NOT "random" I found when it reload a page, this is my video of the bug-reload not wanted!

http://www.youtube.com/watch?v=Dg4Z6aDVUOY

this is very annoying because when you typing a message all the content..puff disappears :mad:

UltraNEO*
Aug 30, 2011, 12:11 PM
I find this all very amusing... :D

Stormchild
Sep 18, 2011, 11:23 AM
Even worse -- when this happens, not only does every tab get reloaded, all downloads in progress are interrupted as well.

Extremely annoying.

meagain
Sep 18, 2011, 11:43 AM
and any music on blogs previously turned off - turn on again. I literally spent 20 minutes once trying to find the offending tab with the website to turn it off again/close it.

Stormchild
Sep 18, 2011, 11:56 AM
I did some digging around, and I'm pretty sure this is happening because of a new feature in Safari 5 (more specifically, it's new to Webkit2) called "multi-process windows". You can read some info about it here (http://trac.webkit.org/wiki/WebKit2), but the essential point is that Safari now runs on two separate processes -- one for the user interface (the "UI process"), and one for the content (the "web process"). If any page misbehaves, it can crash the web process, but instead of causing the entire application to quit (which is what would have happened in Safari 4 and earlier), Safari now just silently restarts the web process and then reloads all the tabs you had open.

That's great in theory, but for whatever reason, the web process seems to crash or hang quite often; I see Safari 5 suddenly reloading tabs far more frequently than outright crashes used to occur in earlier versions. The net effect is that this feature that's meant to make Safari more stable has so far caused a lot more problems than it has actually solved.

Anyway, if you enable the Debug menu in Safari (you can do this with TinkerTool or any of several other similar apps), there's an option in that menu called "Use multi-process windows". I haven't tested it yet (I don't have time at the moment), but disabling that option might stop this "spontaneously reloading tabs" nonsense from happening. I'll look into it later and post a blog entry if I can confirm that this solves the issue (in which case I'll come back and post a link to it in this thread).

moderngamenewb
Sep 18, 2011, 07:45 PM
I agree. It's very annoying. At least several times a day (and counting) it keeps reloading. Either a page will freeze and then go back to normal after a few seconds, or every single tab will reload for bit when I'm in the middle of doing something, which makes it really annoying when I'm trying to watch Netflix. Ever since I upgraded to Lion it's been doing that. I hope that this bug is fixed in Safari 5.2, or in Lion 10.7.2

meagain
Sep 18, 2011, 07:59 PM
For some reason, when I replaced my hard drive, this activity cut way way down. I have no idea why.

Stormchild
Sep 19, 2011, 02:34 PM
Quick follow-up: disabling "Use Multi-process Windows" (in the Debug menu) does indeed stop the unexpected reloading of tabs. After you disable this option, close any Safari windows you have open. New windows/tabs created after that point should say "Untitled [SP]" (where SP = single process).

You can confirm this fixes the problem by loading a couple of web pages into tabs, then selecting "Crash Web Process" from the Debug menu. This would normally trigger the reload behavior, but it will not cause any tabs in an [SP] window to reload.

qap
Sep 19, 2011, 02:52 PM
Debug menu… mhhh where is this menu? :D I see only Develop in the menubar, maybe I need Onyx/MacPilot/other to enable it or you mean the Develop menu (but I can't find "Use Multi-process Windows" inside it, so…. :D ).

Thanks ;)

weespeed
Sep 19, 2011, 03:37 PM
I ran into this issue when I was debugging a friends website.

It turns out it had something to do with his fonts. He was converting fonts and it was making safari reload the page and any pages that were in the tabs.
Specifically it was a select list he tried converting the font type in.
As soon as I changed the font type to a web capable font, the problem went away.

It's Safari, but it has something to do with the web page that you're on.

I hope that helps.

Stormchild
Sep 19, 2011, 04:29 PM
As promised, I wrote a blog post that explains how to stop this annoying behavior in Safari 5:

http://stormchild.tumblr.com/post/10414883514/

qap
Sep 20, 2011, 07:13 AM
As promised, I wrote a blog post that explains how to stop this annoying behavior in Safari 5:

http://stormchild.tumblr.com/post/10414883514/

Thanks again, but unfortunately I need 1password :( I hope for a real fix by Apple!

Freyqq
Sep 20, 2011, 09:03 AM
use a different browser?

nutmac
Sep 21, 2011, 05:34 PM
In addition, turning off multi-process windows greatly sped up Safari for me. It now feels as snappy as Snow Leopard.

qap
Sep 22, 2011, 04:22 AM
Yes but a lot of extension are not "on", two for example: clicktoflash and usercss. Simply the extension seems to be not installed.

I really hope in a fix for that, Lion make me > :mad:

Yr Blues
Sep 27, 2011, 03:45 PM
i'm actually considering chrome and camino now … dammit safari :mad: you were the chosen one

chrome is much faster than safari … and has a better fullscreen implementation, including max window size. everything else kind of sucks oh well

qap
Sep 28, 2011, 11:15 AM
Uhm, just for curiosity, are you (the guys with the "reload bug") using a ad-block css style? Because I've removed mine (fanblock-css-style or similar name for block the ads) and at the moment I have no "weird reload"…. :confused:

qap
Oct 12, 2011, 11:20 AM
Finally finally I've solved this bug (without remove/disable the webkit2 features), in your interner plugins folder remove (or better move to another folder) the JavaAppletPlugin.plugin :cool: this fix the reload bug!

Maybe could be also the Flip4Mac WMV Plugin.webplugin but I think is not this plugin, I don't rememer well because i've deleted from the folder these two plugins 1 week ago and untill now I haven't got any "unwanted reload" (before do it, safari reloaded the tabs 1-2 times any 2-3 hours)

(when you need java you can put again the plugin in the folder, or wait for an update that fix the bug :rolleyes: )

qap
Dec 1, 2011, 08:25 AM
No solution again... Safari 5.1.2 still has this bug, tabs reload on WebProcess crash after 3-4 days of usage:

http://i.imgur.com/zGIjc.jpg