LinuxVillage

LinuxVillage welcome => Rules and life of the forum => Discussion démarrée par: djohnston le 15 juin 2013 à 19:55:25

Titre: To whom it may concern
Posté par: djohnston le 15 juin 2013 à 19:55:25
I've noticed a dramatic improvement in the overall responsiveness of the forum in the last 3 days. To whomever made this happen, thank you very much!  :-*

Titre: Re : To whom it may concern
Posté par: melodie le 15 juin 2013 à 21:33:23
You see me very happy about it. Maybe should I have again a look into the stats of the forum (in relation with the origin of the hits).



Titre: Re : Re : To whom it may concern
Posté par: djohnston le 18 juin 2013 à 07:48:24
I am still seeing error messages:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

See if it happens with more than one browser. Just sayin' it could be browser related. I don't know.

Titre: Re : Re : Re : To whom it may concern
Posté par: melodie le 18 juin 2013 à 11:38:49
See if it happens with more than one browser. Just sayin' it could be browser related. I don't know.

I just reset my Firefox browser yesterday : after several years running with the same files, it was doing really weird things. I didn't want to loose the history password stocked bookmarks and so on, and I found an option in the "Help" menu of the browser which allows doing a "Health checkup" of the browser, and from there I have been suggest to follow a procedure to reset it without loosing all items. Tried it after a backup of the firefox directory (just in case).  It has also stored a backup during the procedure : the directory in on my Desktop.

I will see within a few days if that makes it work better…
Titre: Re : To whom it may concern
Posté par: djohnston le 18 juin 2013 à 15:50:09
I didn't want to loose the history password stocked bookmarks and so on,

I regularly backup my bookmarks using Firefox's builtin tools. I also regularly backup all my passwords using the Password Exporter addon (https://addons.mozilla.org/en-US/firefox/addon/password-exporter/?src=search). They can later be easily imported, just like my bookmarks.

As for the rest, I always dump history, cookies, local files, etc. on exit from Firefox.

Titre: Re : To whom it may concern
Posté par: patrick013 le 18 juin 2013 à 20:29:29
@dj

I know you don't like the LinuxMint repo, but,  I am currently
running Firefox 20.0 from the LinuxMint deb repo I previously
posted on Wheezy and I have nothing remarkable, good
or bad,  to report performance wise with that Firefox package.

The other night I was looking at http://www.tvguide.com/Listings/ (http://www.tvguide.com/Listings/)
and my CPU usage held at 40 %, but I closed the tab and reentered
that website and the CPU usage returned to normal.   Usually
about 3 % to 15 %   with several tabs open and switching between
tabs.   Probably a temp loading problem with that website.    Looks
OK then.    Probably won't upgrade Firefox on Wheezy for quite some
time then.

FYI

Patrick
Titre: Re : Re : To whom it may concern
Posté par: melodie le 18 juin 2013 à 20:33:01
As for the rest, I always dump history, cookies, local files, etc. on exit from Firefox.

I like to keep the history for long times. I am interested about the backup plugins you mentioned and I wonder if anyone of the like exists to backup history as well?

Titre: Re : To whom it may concern
Posté par: patrick013 le 18 juin 2013 à 22:39:53
I usually set bleachbit and Firefox to keep URL history only.

Weird themes and personas can stall performance.

Otherwise, most add-ons don't affect performance
on my machine.

Is that the point ?
Titre: Re : Re : To whom it may concern
Posté par: djohnston le 19 juin 2013 à 13:50:31
@dj

I know you don't like the LinuxMint repo, but,  I am currently running Firefox 20.0 from the LinuxMint deb repo I previously posted on Wheezy and I have nothing remarkable, good
or bad,  to report performance wise with that Firefox package.
Just for the record, I have nothing against Mint's repo. Or Ubuntu's, for that matter. What I have a problem with is how they use sudo. LMDE is Mint's best edition, IMHO.

And, I don't use anyone's Firefox package any more. After discovering how easy it is to get and to run, I run Firefox straight from the horse's mouth. Current version is 21.0, which is what I'm running.

The other night I was looking at http://www.tvguide.com/Listings/ (http://www.tvguide.com/Listings/) and my CPU usage held at 40 %, but I closed the tab and reentered that website and the CPU usage returned to normal.   Usually about 3 % to 15 %   with several tabs open and switching between tabs.   Probably a temp loading problem with that website.    Looks
OK then.    Probably won't upgrade Firefox on Wheezy for quite some time then.

FYI

Patrick
Yes, maybe a temporary loading problem. Or something else. A short story. Before I started using NoScript (https://addons.mozilla.org/en-US/firefox/addon/noscript/?src=search) on every installation of Firefox, I encountered a website linked to from an LXer article. When I loaded the page, both cores of my CPU hit 100% and stayed there. After looking at the page's source, I saw why. They were using my CPU to data mine bitcoins. Without divulging that fact. I called them on it, and the guy said, "Yeah, we're doing that, but we won't do it any more." Hmmm.

Here's the down and dirty: Turn your website into a Bitcoin Miner (http://www.freebitcoins.co.uk/turn-your-website-into-a-bitcoin-miner/) and Bitcoin Miner for Websites (http://www.bitcoinplus.com/miner/embeddable). The ethical thing to do is to inform visitors. But, not everyone is ethical.

Titre: Re : Re : Re : To whom it may concern
Posté par: djohnston le 19 juin 2013 à 13:56:24
I like to keep the history for long times. I am interested about the backup plugins you mentioned and I wonder if anyone of the like exists to backup history as well?

There is the History Export addon (https://addons.mozilla.org/en-US/firefox/addon/history-export/?src=search) which backs up history. You may not want that particular one, so go to the addons page (https://addons.mozilla.org/en-US/firefox/), and enter "backup history" or "history backup".
Titre: Re : To whom it may concern
Posté par: melodie le 19 juin 2013 à 15:15:49
Hi,

djohnston, I'm going to explore your links, thank you. About bitcoin data mining I would like to ask you to create a new thread, I think the topic is very interesting to talk about and to also to spread the information. Could you perhaps start a thread in the technical discussions area?

Titre: Re : Re : Re : Re : To whom it may concern
Posté par: djohnston le 19 juin 2013 à 15:45:21
This happened with a fresh install of Scorpio which has Chromium.

I don't know much about Chromium. Nor can I guess what may be causing your disconnection problems. If it were me, I'd try more than one other browser to see if the same thing happens.

Titre: Re : Re : To whom it may concern
Posté par: djohnston le 19 juin 2013 à 15:49:58
About bitcoin data mining I would like to ask you to create a new thread, I think the topic is very interesting to talk about and to also to spread the information. Could you perhaps start a thread in the technical discussions area?

I think that should be up to someone who can do it "justice". I don't believe bitcoin is a viable currency, regardless of its privacy implications. I cannot see how currency that is "created" as a result of solving a computer algorithm has any real intrinsic worth. And, there are problems with what it actually is (digital bits), how it is stored and its transaction mechanisms.

In other words, I would never mine bitcoins or use them.

Titre: Re : Re : Re : To whom it may concern
Posté par: melodie le 19 juin 2013 à 16:37:57
I think that should be up to someone who can do it "justice". I don't believe bitcoin is a viable currency, regardless of its privacy implications. I cannot see how currency that is "created" as a result of solving a computer algorithm has any real intrinsic worth. And, there are problems with what it actually is (digital bits), how it is stored and its transaction mechanisms.

In other words, I would never mine bitcoins or use them.

I don't talk about doing it "justice" but about the facts around it such as the one you have met with. Can you port the discussion to a dedicated thread ? I would point to it on the channels where I go also.

Titre: Re : Re : Re : Re : To whom it may concern
Posté par: djohnston le 19 juin 2013 à 22:33:13
I don't talk about doing it "justice" but about the facts around it such as the one you have met with. Can you port the discussion to a dedicated thread ? I would point to it on the channels where I go also.
You asked for it (http://linuxvillage.net/index.php/topic,419.msg2859.html#msg2859). It's not pretty.
Titre: Re : Re : Re : Re : To whom it may concern
Posté par: melodie le 20 juin 2013 à 09:50:01
The problem that a friend and I are having with Firefox on Win XP, and Win 7.  Also my install of Firefox on PClos Openbox Bonsai is that Firefox is a memory hog.  The amount of ram that Firefox is consuming is insane.  And this is with only one tab open.

May I ask if you have installed and are using NoScript ? https://addons.mozilla.org/fr/firefox/addon/noscript

I believe it exists also for Chrome/Chromium and for Opera.

Have you tried to clean Firefox by starting a "health check" ? (After doing backups of what you personally want to keep although some parts are saved while resetting Firefox). After I did that my firefox folder lowered down to 39 MiB (after I reinstalled several plugins) while the original one was 115 MiB, and several annoyances I had met with have been solved.


Titre: Re : To whom it may concern
Posté par: melodie le 20 juin 2013 à 16:45:50
At the moment the Firefox 21 which I have reset uses 12.9% of the available memory, with 3 tabs opened. While I am typing here it raises as 13.3%. The machine has 2 GB also.

The total amount ram used for the system, one console, the three firefox tabls and Sylpheed opened is 420 MB for 2010 MB seen in htop.

Titre: Re : Re : To whom it may concern
Posté par: djohnston le 20 juin 2013 à 18:51:59
As for the no script plugin..........No it is not installed.  But I have suggested that my friend install the no script plugin.

Ah, plugins. Something I didn't think about earlier. Some Firefox plugins can double memory used by Firefox. You should check with the user to see what s/he has installed. Some could be a source of high memory usage.

On the same note, I would suggest doing what Mel says. In addition to NoScript, I recommend AdBlock Plus (https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/?src=search) and HTTPS Everywhere (https://www.eff.org/https-everywhere). (NOTE: There are some bogus sites offering an HTTPS Everywhere download. Make sure you get it from eff.org's website!)

One last thing. Turn off java! In the Linux version of Firefox, go to Tools > Addons > Plugins. If Java plugin is listed there, DISABLE IT.

Titre: Re : To whom it may concern
Posté par: djohnston le 21 juin 2013 à 06:26:23
I gotta tell ya about this other Firefox plugin. Yesterday I signed some Mozilla-sponsored petition. After coming here and reading one of ka9yhd's posts on Firefox using a lot of memory, I looked at tasks running. There was a persistent cookie from that Mozilla petition site. And it had spawned another 4 tasks for a total of 5, each consuming some 2.5 MB of RAM. (I'm guessing a new task was spawned each time I visited a new site.) I dumped all my web cookies. Had to sign back in here as a result. But, that tracking cookie's 5 tasks were still running in memory, even though it did not show in the Firefox list. It persisted until I closed Firefox.

While looking at Tor addons today, I came across the Self-Destructing Cookie addon (https://addons.mozilla.org/en-US/firefox/addon/self-destructing-cookies/?src=ss). Briefly,

Citer
Self-Destructing Cookies is not just a cookie manager, it's a new cookie policy. ... Self-Destructing Cookies automatically removes cookies when they are no longer used by open browser tabs. ... Tracking cookies will be detected and removed immediately. They are identified purely by their behaviour - no need for a blacklist that needs to be kept up to-date.

So far, it is working as advertised. As I said before, I dump all cookies after closing a web browsing session, anyway. This addon dumps a site's tracking cookies automatically within 10 seconds of leaving the site. Of course, the preferences are adjustable.

Titre: Re : Re : To whom it may concern
Posté par: patrick013 le 22 juin 2013 à 18:38:03
Nice find....

I agree, I'm getting all kinds of cookies self-destructing, mostly
from YouTube and Yahoo, which I never use.    Figure that one
out ?
Titre: Re : Re : Re : To whom it may concern
Posté par: djohnston le 22 juin 2013 à 21:11:45
I agree, I'm getting all kinds of cookies self-destructing, mostly
from YouTube and Yahoo, which I never use.    Figure that one
out ?

Patrick,

Here's another one for you, Collusion (https://addons.mozilla.org/en-US/firefox/addon/collusion/?src=ss).

Citer
Collusion is an experimental add-on for Firefox that allows you to see which sites are using third-party cookies to track your movements across the Web. It shows, in real time, how that data creates a spider-web of interaction between companies and other trackers.

Titre: Re : Re : Re : Re : To whom it may concern
Posté par: patrick013 le 23 juin 2013 à 03:13:28
Here's another one for you, Collusion (https://addons.mozilla.org/en-US/firefox/addon/collusion/?src=ss).

This is fun, kinda like spying on the spies.

I don't know, somebody on Yahoo and YouTube is after me.         :D
Titre: Re : To whom it may concern
Posté par: Taco.22 le 24 juin 2013 à 05:08:33
Chromium allows you to clear cookies when the browser is closed.  It comes under Settings/Privacy/Content Settings/Cookies.  You select "Keep local data only until I quit my browser" and then set exceptions, like this forum for example.  Seems to be working - I'm not sure how to check if it isn't!  I do know that sites that need passwords that I don't set exceptions for always default to the log-in requirement when the browser is relaunched.
Titre: Re : Re : To whom it may concern
Posté par: melodie le 24 juin 2013 à 11:21:19
Chromium allows you to clear cookies when the browser is closed.

So does Firefox.

ka9yhd: if your friend continues having browsing slow after deactivating plugins, and you said it is a Windows box, there might be some "services" started with the session which slows the computer. You or he could try checking in that area.

Titre: Re : To whom it may concern
Posté par: djohnston le 24 juin 2013 à 19:36:08
I have let my friend read this thread and awhile back he disabled the plugins and did not see much of a difference.

You probably will see no difference in disabling java. It should be disabled because it is a huge security risk, almost no websites use it any more, and Oracle has no clue how to properly maintain it. (At least Sun plugged security holes.)

As for the no-script plugin, we are going to play with that one for awhile as we are discovering web sites that will not load when using the no-script plugin, such as FaceBook.

You can set per site privileges with the NoScript plugin. You can also temporarily allow all scripts per web page visited. (The scripts are javascripts. Javascript is a different critter than java.) Just don't "Allow Scripts Globally", as you will defeat the purpose of using NoScript.

Facebook? Really? Hmmm.

Titre: Re : To whom it may concern
Posté par: melodie le 27 juin 2013 à 15:10:11
Hi,
Once upon a time I had tried Ghostery and it was doing strange things, slowing down Firefox a lot and producing errors. Well I remember I had started firefox from the console to see what was happening and I could see error messages from there. It was about 2 years ago I think, or at least…

Perhaps the plugin has been improved since?
Titre: Re : Re : Re : To whom it may concern
Posté par: melodie le 28 juin 2013 à 16:00:47
Scrolling seems ok on all web sites that I go to except here....... Still very slow and jerky.  Also bookmarks are still un-Godly slow when scrolling.  To describe how slow scrolling the bookmarks is, picture one bookmark appearing at a time.

For here, the solution will be to move the forum again at some time in a close future. For your bookmarks, you could export them and then erase them all, then to access to the links, open the file with the menu "File > Open a file". (It might be a very big one?)
Titre: Re : To whom it may concern
Posté par: djohnston le 28 juin 2013 à 20:05:23
Rob,

Try turning off autoscrolling and smooth scrolling if you have them enabled. Edit > Preferences > Advanced section > General tab > Browsing section. Other than that, I don't know why you're having problems. Response here is smooth as glass with Firefox 22.0 and 15 extensions, 1 appearance addon and 9 plugins installed.

Titre: Re : Re : To whom it may concern
Posté par: melodie le 28 juin 2013 à 22:42:45
I already have smooth scrolling, auto scrolling, and hardware acceleration un-checked.  And no difference.

Hi,

I remember very long ago, at the pclinuxos forum you already met with some issues with the browser. Could you tell us more about the machine where you run it (ram and processor type and speed), and have you tried to do the same things with Midori as well ? Recently I happened to browse with Midori in some old machines and it was always way faster to display a page!

Titre: Re : To whom it may concern
Posté par: melodie le 29 juin 2013 à 00:31:35
And while starting, using, opening new pages, flash videos : what raises most in htop : the cpu or the ram use ? (You can look the two lines at the top but also hit F6 - "sort by" to see which program uses most cpu, or uses most ram, by the selection in the left side bar which appears once F6 pressed.

If it is ram which is mostly used then adding 1 GB ram to the machine might help - I would suppose it is possible to upgrade the ram…

It looks like it is possible:
http://panam.acer.com/acerpanam/notebook/0000/Acer/Aspire5100/Aspire5100sp2.shtml (http://panam.acer.com/acerpanam/notebook/0000/Acer/Aspire5100/Aspire5100sp2.shtml)

Citer
RAM / Max RAM   1 GB / 4 GB using DDR2 533/667 soDIMM modules


Titre: Re : To whom it may concern
Posté par: melodie le 29 juin 2013 à 01:14:03
From the few machines I have at hand, I would say having 2 GB instead of 1 in a machine is a great change in everyday use. If you can find 2 x 1 GB at a good price, for the Acer laptop the use should feel really more comfortable.

Titre: Re : To whom it may concern
Posté par: patrick013 le 29 juin 2013 à 01:31:43
Although unlikely it may be fragmented.

Can you cp it in and out ?
Titre: Re : Re : To whom it may concern
Posté par: djohnston le 29 juin 2013 à 02:20:24
Although unlikely it may be fragmented.

Patrick, do you mean his ~/.mozilla/firefox folder?
Titre: Re : Re : Re : To whom it may concern
Posté par: patrick013 le 29 juin 2013 à 03:24:06
Patrick, do you mean his ~/.mozilla/firefox folder?

yes,   personas,  themes,  alll that  stuff,    no   toolbars allowed