Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Merciadri Luca
Darac Marjal wrote:
> On Thu, Jun 03, 2010 at 11:44:10AM +0200, Merciadri Luca wrote:
>   
>> Thanks, Steven. What I meant by `non-negligible influence' is that I
>> executed the whole on my sqlite files, and that the FF process then
>> goes faster for starting & closing. Yes, I'm going to put this as a
>> cronjob.
>> 
>
> You might find "Vacuum Places Improved"[1] of use. It cleans your
> databases every X starts, so its a bit more flexible than a cron job.
>
> [1] https://addons.mozilla.org/en-US/firefox/addon/13878/
>
>   
Nice! Thanks. :-)

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Darac Marjal
On Thu, Jun 03, 2010 at 11:44:10AM +0200, Merciadri Luca wrote:
> Thanks, Steven. What I meant by `non-negligible influence' is that I
> executed the whole on my sqlite files, and that the FF process then
> goes faster for starting & closing. Yes, I'm going to put this as a
> cronjob.

You might find "Vacuum Places Improved"[1] of use. It cleans your
databases every X starts, so its a bit more flexible than a cron job.

[1] https://addons.mozilla.org/en-US/firefox/addon/13878/



signature.asc
Description: Digital signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Brad Rogers
On Thu, 03 Jun 2010 11:28:52 +0200
Merciadri Luca  wrote:

Hello Merciadri,

> I just found it. Well, it was in ~ but I had not found it some minutes
> ago (don't ask me why). But

We have a saying here;

 You can't see the wood for the trees.

Which would fit that.  Sometimes, no matter how hard you look, you just
can't find something.

> gives nothing, and thus no problem for this. Thanks.

You're welcome.  One (potential) cause eliminated.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"

The public wants what the public gets
Going Underground - The Jam


signature.asc
Description: PGP signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steven wrote:
> On Thu, June 3, 2010 11:15, Merciadri Luca wrote:
>> Steven wrote:
>>> This might be what you are looking for:
>>>
http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
>>>  Cleaning up firefox/iceweasel's internal databses helps a lot
>> It had some non-negligible influence. Thanks!
>>
>>
>
> No problem :) It's quite easy to do, just install sqlite3 using
> apt-get/aptitude/synaptic. Next, execute the sqlite vacuum command
> on each database (after closing you browser) The following command
> will do this for all sqlite databases you might have in there
> (different profiles).
>
> for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;';
> done
>
> You might need to change the path for iceweasel, I'm not on my
> Debian box right now. If I remember correctly, this is done
> automatically once in a while starting with 3.5 or 3.6. Yes, I
> experienced this problem as well, a lot of people did I guess,
> perhaps you can put this in a small script and run it as a cronjob
> or when you log on.
Thanks, Steven. What I meant by `non-negligible influence' is that I
executed the whole on my sqlite files, and that the FF process then
goes faster for starting & closing. Yes, I'm going to put this as a
cronjob.

- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwHeWoACgkQM0LLzLt8MhxWOwCZAVH9NenAFszbeKA+Rl9rW+1r
X24An1681VpbRaCRJCIUn77u0wC3Yy9O
=OPB+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c07796a.6090...@student.ulg.ac.be



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Steven
On Thu, June 3, 2010 11:15, Merciadri Luca wrote:
> Steven wrote:
>> This might be what you are looking for:
>> http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
>> Cleaning up firefox/iceweasel's internal databses helps a lot
> It had some non-negligible influence. Thanks!
>
>

No problem :)
It's quite easy to do, just install sqlite3 using apt-get/aptitude/synaptic.
Next, execute the sqlite vacuum command on each database (after closing
you browser)
The following command will do this for all sqlite databases you might have
in there (different profiles).

for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done

You might need to change the path for iceweasel, I'm not on my Debian box
right now.
If I remember correctly, this is done automatically once in a while
starting with 3.5 or 3.6.
Yes, I experienced this problem as well, a lot of people did I guess,
perhaps you can put this in a small script and run it as a cronjob or when
you log on.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/45546.91.183.48.98.1275557060.squir...@stevenleeuw.kwik.to



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Merciadri Luca
Brad Rogers wrote:
> On Thu, 03 Jun 2010 11:06:31 +0200
> Merciadri Luca  wrote:
>
> Hello Merciadri,
>
>   
>> Where is this file? Neither in ~ nor in /etc/X11. According to the
>> 
>
> Mine's in ~.  IDK why you're not finding it.  Unless you missed the
> leading point, making it a hidden file.  I think that's unlikely, though.
>   
I just found it. Well, it was in ~ but I had not found it some minutes
ago (don't ask me why). But

==
$ cat .xsession-errors | grep XID
==
gives nothing, and thus no problem for this. Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Camaleón
On Thu, 03 Jun 2010 11:03:17 +0200, Merciadri Luca wrote:

> Camaleón writes:
> 
>> ***
>> ls -l $HOME/.mozilla/firefox/[your_profile].default | grep sqlite ***
>>
>> To chek how big are your "sqlite" files. You may need to "purge" them.

> Thanks. Well, it seems to be grand time to make some thorough cleaning:

(...)

Mmm... they're not that big (~35MiB) :-/

Try by starting Icewasel with an empty profile (rename your current one) 
to see if you get any improvement.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.03.09.22...@gmail.com



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Brad Rogers
On Thu, 03 Jun 2010 11:06:31 +0200
Merciadri Luca  wrote:

Hello Merciadri,

> Where is this file? Neither in ~ nor in /etc/X11. According to the

Mine's in ~.  IDK why you're not finding it.  Unless you missed the
leading point, making it a hidden file.  I think that's unlikely, though.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"

Drums quite good, bass is too loud, and I can't hear the words
Sound Of The Suburbs - Members


signature.asc
Description: PGP signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Merciadri Luca
Steven wrote:
> On Thu, June 3, 2010 10:40, Merciadri Luca wrote:
>   
>> Hi,
>>
>> I have noticed that my Iceweasel takes more and more time to close. When
>> closing it, I hear the HDD spinning, and some operations seem to be
>> done. It always close, but, even with ONE (normal webpage associated
>> with the) tab, it might take ~10 secs. to close (GNOME keeps then asking
>> me if I want to wait or end the process).
>>
>> What can I do? I do not have memory-greedy plug-ins running.
>>
>> Thanks.
>>
>> 
> This might be what you are looking for:
> http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
> Cleaning up firefox/iceweasel's internal databses helps a lot
It had some non-negligible influence. Thanks!

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


What doesn't kill you will make you stronger. (Friedrich Nietzsche)



signature.asc
Description: OpenPGP digital signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Camaleón  writes:

> On Thu, 03 Jun 2010 10:40:14 +0200, Merciadri Luca wrote:
>
>> I have noticed that my Iceweasel takes more and more time to close. When
>> closing it, I hear the HDD spinning, and some operations seem to be
>> done. It always close, but, even with ONE (normal webpage associated
>> with the) tab, it might take ~10 secs. to close (GNOME keeps then asking
>> me if I want to wait or end the process).
>> 
>> What can I do? I do not have memory-greedy plug-ins running.
>
> ***
> ls -l $HOME/.mozilla/firefox/[your_profile].default | grep sqlite
> ***
>
> To chek how big are your "sqlite" files. You may need to "purge" them.
Thanks. Well, it seems to be grand time to make some thorough
cleaning:

==
$ ls -l | grep sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca27648 2010-06-02 23:49 
content-prefs.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca   540672 2010-06-03 11:00 
cookies.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca25600 2010-06-02 22:36 
downloads.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca   206848 2010-06-03 10:58 
formhistory.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca 2048 2010-03-01 14:05 
permissions.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca 31178752 2010-06-03 11:00 
places.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca   172880 2010-06-03 11:00 
places.sqlite-journal
- -rw-r--r-- 1 merciadriluca merciadriluca 2048 2009-07-17 20:11 
search.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca 34693120 2010-06-03 10:39 
urlclassifier3.sqlite
- -rw-r--r-- 1 merciadriluca merciadriluca 3072 2010-05-08 17:12 
webappsstore.sqlite
==
!

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

All things come to those who wait.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkwHb9QACgkQM0LLzLt8MhzL7QCghOocU2bWzCyE+xGl6fZpZ0eA
DxsAniTSuw0bNitiEIZ+nam+syLyojRW
=jxLe
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/87r5koh4iy@merciadriluca-station.merciadriluca



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Merciadri Luca
Brad Rogers wrote:
> On Thu, 3 Jun 2010 08:48:21 + (UTC)
> Camaleón  wrote:
>
> Hello Camaleón,
>
>   
>> To chek how big are your "sqlite" files. You may need to "purge" them.
>> 
>
> Won't help if Luca is suffering from;
>
> (firefox-bin:2788): Gdk-WARNING **: XID collision, trouble ahead
>
> Being written repeatedly to .xsession-errors.
>   
Where is this file? Neither in ~ nor in /etc/X11. According to the
output I sent some minutes ago, the other files need to be sufficiently
big to slow down that much my FF.


-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


Actions speak louder than words.



signature.asc
Description: OpenPGP digital signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Brad Rogers
On Thu, 3 Jun 2010 08:48:21 + (UTC)
Camaleón  wrote:

Hello Camaleón,

> To chek how big are your "sqlite" files. You may need to "purge" them.

Won't help if Luca is suffering from;

(firefox-bin:2788): Gdk-WARNING **: XID collision, trouble ahead

Being written repeatedly to .xsession-errors.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"

The man in a tracksuit attacks me
I Predict A Riot - Kaiser Chiefs


signature.asc
Description: PGP signature


Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Steven

On Thu, June 3, 2010 10:40, Merciadri Luca wrote:
> Hi,
>
> I have noticed that my Iceweasel takes more and more time to close. When
> closing it, I hear the HDD spinning, and some operations seem to be
> done. It always close, but, even with ONE (normal webpage associated
> with the) tab, it might take ~10 secs. to close (GNOME keeps then asking
> me if I want to wait or end the process).
>
> What can I do? I do not have memory-greedy plug-ins running.
>
> Thanks.
>
This might be what you are looking for:
http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
Cleaning up firefox/iceweasel's internal databses helps a lot.

Kind regards,
Steven

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/45410.91.183.48.98.127111.squir...@stevenleeuw.kwik.to



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Camaleón
On Thu, 03 Jun 2010 10:40:14 +0200, Merciadri Luca wrote:

> I have noticed that my Iceweasel takes more and more time to close. When
> closing it, I hear the HDD spinning, and some operations seem to be
> done. It always close, but, even with ONE (normal webpage associated
> with the) tab, it might take ~10 secs. to close (GNOME keeps then asking
> me if I want to wait or end the process).
> 
> What can I do? I do not have memory-greedy plug-ins running.

***
ls -l $HOME/.mozilla/firefox/[your_profile].default | grep sqlite
***

To chek how big are your "sqlite" files. You may need to "purge" them.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.03.08.48...@gmail.com