Re: Query

2022-02-08 Thread David Wright
On Mon 07 Feb 2022 at 18:08:41 (-0500), Chuck Zmudzinski wrote:
> On 2/7/2022 4:36 PM, Greg Wooledge wrote:
> > On Mon, Feb 07, 2022 at 04:31:51PM -0500, Chuck Zmudzinski wrote:
> > > On 2/7/2022 10:50 AM, William Lee Valentine wrote:
> > > > I am wondering whether a current Debian distribution can be installed
> > > > and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)
> > > > 
> > > > The computer is
> > > > 
> > > >     Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
> > > >     memory: 756 megabytes, running at 500 megahertz
> > > >     IDE disc drive: 60 gigabytes
> > > >     Debian partition: currently 42 gigabytes
> > > >     Debian 6.0: Squeeze
> > > Based on what others are saying, it looks like a typical modern Debian
> > > desktop environment such as Gnome or Plasma KDE will not work well with 
> > > such
> > > an old system. I suggest you look for a Distro that is tailored for old
> > > hardware.
> > Bah, silly.  Just use a traditional window manager instead of a bloated
> > Desktop Environment.  Problem solved.
> 
> Which windows manager for an extremely resource-limited system?

I had no difficulty running buster's fvwm on a Pentium III Coppermine
from 2000, until the PSU expired. 650MHz, and 512MB memory. Your
memory is probably more use that my speed. But 60GB might limit its
usefulness: my minitower would hold four PATA drives, and I have
three 500GB still left, and had a 200GB until it expired.

You have to have a reason to keep running it, of course. Mine was
that drive capacity, plus nostalgia: it was the desktop machine
I retained when I retired.

This run of "top" is from a modern system after a while reading
my email. To trigger fvwm into top place, I switched between
several of the open viewports. (Mutt is obviously sleeping.)

  PID USER  PR  NIVIRTRESSHR S  %CPU  %MEM TIME+ COMMAND
   
 2730 auser 20   0  373960  67100  36148 S   5.6   0.8   0:03.20 Xorg   
   
 2782 auser 20   0   84244  13084  11144 S   0.7   0.2   0:00.25 fvwm   
   
 2790 auser 20   0   81296  12360  10704 S   0.7   0.2   0:00.16 FvwmPager  
   
   10 root  20   0   0  0  0 I   0.3   0.0   0:00.15 rcu_sched  
   
  614 nobody20   05080   2820   2580 S   0.3   0.0   0:00.06 thd
   
1 root  20   0   22276  10304   7748 S   0.0   0.1   0:01.01 systemd
   

> Debian's wiki page on window managers lists more than 30
> possibilities. Its not silly to take a look at a distro based on
> Debian that is tailored for low resources as a starting point to try
> and build a Debian 11.2 system that will work OK on a Pentium III with
> less than 1 GB of memory. Debian provides so many packages, and such
> distros like antiX can give one an idea about which packages to use
> when trying to build a Debian 11.2 system that will work well on an
> older system with such a small amount of memory and such an old CPU.

I install all the software that I do on any other machine, I just
don't run it if the machine's not up to it. (It had the disk space
not to worry, of course.) So I wouldn't open libreoffice or firefox,
for example. Speed wasn't an issue (/home was encrypted), just memory,
even with 1GB swap (encrypted).

> > But the *real* problem will come when they try to run a web browser.  That's
> > where the truly massive memory demand is.
> > 
> > 756 MB is plenty of RAM for daily use of everything except a web browser.
> > 
> 
> Yes, it will be important to try to find a web browser that is the
> least bloated as possible. Again, looking at the browser choices of
> distros tailored for old hardware can help build a Debian 11.2 system
> that will work well on old hardware.

So that I could read email, I used lynx (with -localhost) for HTML.
Mind you, I do that on all my current machines too.

> In any case, it will need to be a carefully crafted selection of
> Debian 11.2 packages to have a decent experience, and most definitely
> start with a small netinst installation with only the text console to
> start, and then build the GUI environment carefully from the ground
> up.
> 
> Again, good luck to the OP in trying out Debian 11.2 on his system.

One exception: I do run firefox on a 1.5GHz 500MB laptop, which is
painful. When I installed bullseye, it took 3 minutes for FF to
display the (empty) startup page. But it's useful to have a system
with zero monetary worth that I could trash or lose without worrying
about it.

Cheers,
David.



Re: Query

2022-02-08 Thread Linux-Fan

Chuck Zmudzinski writes:


On 2/7/2022 4:36 PM, Greg Wooledge wrote:

On Mon, Feb 07, 2022 at 04:31:51PM -0500, Chuck Zmudzinski wrote:

On 2/7/2022 10:50 AM, William Lee Valentine wrote:

I am wondering whether a current Debian distribution can be installed
and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)

The computer is

    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
    memory: 756 megabytes, running at 500 megahertz
    IDE disc drive: 60 gigabytes
    Debian partition: currently 42 gigabytes
    Debian 6.0: Squeeze

Based on what others are saying, it looks like a typical modern Debian
desktop environment such as Gnome or Plasma KDE will not work well with such
an old system. I suggest you look for a Distro that is tailored for old
hardware.

Bah, silly.  Just use a traditional window manager instead of a bloated
Desktop Environment.  Problem solved.


Which windows manager for an extremely resource-limited system? Debian's


One could use one of e.g. the following list:

- IceWM
- i3
- Fluxbox

All of them are packaged for Debian and work on low-resource computers. I  
have successfully deployed i3 on a system with similar specs to the OP's.  
Mine is still on Debian 10 and not upgraded to Debian 11 yet, though.


wiki page on window managers lists more than 30 possibilities. Its not silly  
to take a look at a distro based on Debian that is tailored for low  
resources as a starting point to try and build a Debian 11.2 system that  
will work OK on a Pentium III with less than 1 GB of memory. Debian provides


Of course, its a valid approach :)

so many packages, and such distros like antiX can give one an idea about  
which packages to use when trying to build a Debian 11.2 system that will  
work well on an older system with such a small amount of memory and such an  
old CPU.


The other option is to ask here for recommendations. Debian is one of the  
last large/mainstream distributions to still support i386 architecture hence  
it is not unlikely that some people will be running old hardware here (I do  
for instance :) ).



But the *real* problem will come when they try to run a web browser.  That's
where the truly massive memory demand is.

756 MB is plenty of RAM for daily use of everything except a web browser.


Yes, it will be important to try to find a web browser that is the least  
bloated as possible. Again, looking at the browser choices of distros  
tailored for old hardware can help build a Debian 11.2 system that will work  
well on old hardware.


Independent of the other distros one will need to do a compromise here  
because:


* Any browser supporting all the modern features (mostly JS and CSS3) will
  be too slow for such old a machine.

* Any other browser will be too limited in features to satisfy a modern
  user's needs. E.g. try to access Gmail or Youtube over any lightweight
  browser and see how it goes (I suspect it will not work _at all_!)

In any case, it will need to be a carefully crafted selection of Debian 11.2  
packages to have a decent experience, and most definitely start with a small  
netinst installation with only the text console to start, and then build the  
GUI environment carefully from the ground up.


On such an old system one should only install what is needed because any  
additional background service will reduce the already very limited  
computational capacity. Rather than crafting a set of applications it might  
be easier to start with the question what the machine is going to be used  
for and then figure out if this is even possible for the hardware and only  
afterwards check which applications will fit the purpose _and_ resource  
constraints.


E.g. I regularly run `maxima` as a "calculator" app. On an old machine it  
takes many seconds to run and to compute even simple expressions. Hence I  
switched to `sc-im` (a lightweight spreadsheet program) on old machines for  
such tasks.


HTH and YMMV
Linux-Fan

öö

[...]


pgppno1xg3h5S.pgp
Description: PGP signature


Re: Query

2022-02-07 Thread Tim Woodall

On Mon, 7 Feb 2022, Greg Wooledge wrote:


On Mon, Feb 07, 2022 at 04:31:51PM -0500, Chuck Zmudzinski wrote:

On 2/7/2022 10:50 AM, William Lee Valentine wrote:

I am wondering whether a current Debian distribution can be installed
and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)

The computer is

?? Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
?? memory: 756 megabytes, running at 500 megahertz
?? IDE disc drive: 60 gigabytes
?? Debian partition: currently 42 gigabytes
?? Debian 6.0: Squeeze


Based on what others are saying, it looks like a typical modern Debian
desktop environment such as Gnome or Plasma KDE will not work well with such
an old system. I suggest you look for a Distro that is tailored for old
hardware.


Bah, silly.  Just use a traditional window manager instead of a bloated
Desktop Environment.  Problem solved.

But the *real* problem will come when they try to run a web browser.  That's
where the truly massive memory demand is.

756 MB is plenty of RAM for daily use of everything except a web browser.



I successfully run Debian on a 701 eeepc although I'm still on buster
for now using xfce. It's slow but not unusable, even firefox. updates do
take a while, allow at least 4-6 hours per dist-upgrade.

I mostly now use a kindle fire for 'walkabout' vpn and ssh access but
every now and again when something wifi won't work I return to the eeepc
for its better logging and debugging tools.



Re: Query

2022-02-07 Thread Tixy
On Mon, 2022-02-07 at 16:37 -0500, gene heskett wrote:
[...]
> > William Lee Valentine wrote:
> > > I am wondering whether a current Debian distribution can be installed
> > > and run on an older Pentium III computer. (I have Debian 11.2 on a
> > > DVD.)
> > > 
> > > The computer is
> > > 
> > >    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
> > >    memory: 756 megabytes, running at 500 megahertz
> > >    IDE disc drive: 60 gigabytes
> > >    Debian partition: currently 42 gigabytes
> > >    Debian 6.0: Squeeze
> > > 
[...]
> Anything pentium below "family 10" in its boot log, has no firmware 
> updates possible, and many have a halt bug that can only be recovered by 
> a powerdown reset. Dell makes pretty good stuff, but that is not 
> fixable. I would read its boot log very carefully. The OP would probably 
> be better off with a later off-lease machine with an i5 cpu, and 2Gigs of 
> ram or more, simply because there is firmware fixes for all known bugs. 
> Called microcode, the installer is smart enough to install the correct 
> one for those cpu's that can be updated.

Are you sure? The intel-microcode package is in the non-free section,
so I wouldn't expect this to be installed by the standard Debian
installer.

Also, touting the possibility of CPU bugs doesn't seem the most
compelling reason to upgrade upgrade hardware. The fact that it's a
1999 CPU with 768MB RAM and the tendency of software to bloat and
consume CPU and memory resources as time goes by should be enough. ;-)

-- 
Tixy




Re: Query

2022-02-07 Thread Chuck Zmudzinski

On 2/7/2022 4:36 PM, Greg Wooledge wrote:

On Mon, Feb 07, 2022 at 04:31:51PM -0500, Chuck Zmudzinski wrote:

On 2/7/2022 10:50 AM, William Lee Valentine wrote:

I am wondering whether a current Debian distribution can be installed
and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)

The computer is

    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
    memory: 756 megabytes, running at 500 megahertz
    IDE disc drive: 60 gigabytes
    Debian partition: currently 42 gigabytes
    Debian 6.0: Squeeze

Based on what others are saying, it looks like a typical modern Debian
desktop environment such as Gnome or Plasma KDE will not work well with such
an old system. I suggest you look for a Distro that is tailored for old
hardware.

Bah, silly.  Just use a traditional window manager instead of a bloated
Desktop Environment.  Problem solved.


Which windows manager for an extremely resource-limited system? Debian's 
wiki page on window managers lists more than 30 possibilities. Its not 
silly to take a look at a distro based on Debian that is tailored for 
low resources as a starting point to try and build a Debian 11.2 system 
that will work OK on a Pentium III with less than 1 GB of memory. Debian 
provides so many packages, and such distros like antiX can give one an 
idea about which packages to use when trying to build a Debian 11.2 
system that will work well on an older system with such a small amount 
of memory and such an old CPU.




But the *real* problem will come when they try to run a web browser.  That's
where the truly massive memory demand is.

756 MB is plenty of RAM for daily use of everything except a web browser.



Yes, it will be important to try to find a web browser that is the least 
bloated as possible. Again, looking at the browser choices of distros 
tailored for old hardware can help build a Debian 11.2 system that will 
work well on old hardware.


In any case, it will need to be a carefully crafted selection of Debian 
11.2 packages to have a decent experience, and most definitely start 
with a small netinst installation with only the text console to start, 
and then build the GUI environment carefully from the ground up.


Again, good luck to the OP in trying out Debian 11.2 on his system.

Chuck



Re: Query

2022-02-07 Thread gene heskett
On Monday, February 7, 2022 11:22:11 AM EST Dan Ritter wrote:
> William Lee Valentine wrote:
> > I am wondering whether a current Debian distribution can be installed
> > and run on an older Pentium III computer. (I have Debian 11.2 on a
> > DVD.)
> > 
> > The computer is
> > 
> >Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
> >memory: 756 megabytes, running at 500 megahertz
> >IDE disc drive: 60 gigabytes
> >Debian partition: currently 42 gigabytes
> >Debian 6.0: Squeeze
> > 
> > If I install Debian 11.2, will it run on this machine? Will it
> > preserve the files and directories that I have on Squeeze?
> 
> I'm going to assume you already have squeeze installed.
> 
> You should be able to upgrade in place from 6 to 7 to 8 to 9 to
> 10 to 11. On a machine that old and slow, I suspect it would
> take one day per upgrade.
> 
> However, it should work.
> 
> If you can find a SATA interface card and a cheap SSD, it will
> improve performance immensely.
> 
> Depending on the part of the world you are in, you can probably
> find a much faster machine being given away or sold second-hand
> for under $100.
> 
> If this is your only machine, I recommend not upgrading it, but
> finding a new one if at all possible, then installing on the new
> one and transferring over data from the old one.
> 
> -dsr-

Anything pentium below "family 10" in its boot log, has no firmware 
updates possible, and many have a halt bug that can only be recovered by 
a powerdown reset.  Dell makes pretty good stuff, but that is not 
fixable. I would read its boot log very carefully. The OP would probably 
be better off with a later off-lease machine with an i5 cpu, and 2Gigs of 
ram or more, simply because there is firmware fixes for all known bugs. 
Called microcode, the installer is smart enough to install the correct 
one for those cpu's that can be updated.

If the squeeze data is to be preserved, copy it to a big thumb drive, do 
the install, and copy it back.

The previous comments about SSD's are very valid advice. They are 
blazingly fast,

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





Re: Query

2022-02-07 Thread Greg Wooledge
On Mon, Feb 07, 2022 at 04:31:51PM -0500, Chuck Zmudzinski wrote:
> On 2/7/2022 10:50 AM, William Lee Valentine wrote:
> > I am wondering whether a current Debian distribution can be installed
> > and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)
> > 
> > The computer is
> > 
> >    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
> >    memory: 756 megabytes, running at 500 megahertz
> >    IDE disc drive: 60 gigabytes
> >    Debian partition: currently 42 gigabytes
> >    Debian 6.0: Squeeze
> 
> Based on what others are saying, it looks like a typical modern Debian
> desktop environment such as Gnome or Plasma KDE will not work well with such
> an old system. I suggest you look for a Distro that is tailored for old
> hardware.

Bah, silly.  Just use a traditional window manager instead of a bloated
Desktop Environment.  Problem solved.

But the *real* problem will come when they try to run a web browser.  That's
where the truly massive memory demand is.

756 MB is plenty of RAM for daily use of everything except a web browser.



Re: Query

2022-02-07 Thread Chuck Zmudzinski

On 2/7/2022 10:50 AM, William Lee Valentine wrote:

I am wondering whether a current Debian distribution can be installed
and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)

The computer is

   Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
   memory: 756 megabytes, running at 500 megahertz
   IDE disc drive: 60 gigabytes
   Debian partition: currently 42 gigabytes
   Debian 6.0: Squeeze


Based on what others are saying, it looks like a typical modern Debian 
desktop environment such as Gnome or Plasma KDE will not work well with 
such an old system. I suggest you look for a Distro that is tailored for 
old hardware. See, for example this page:


https://itsfoss.com/lightweight-linux-beginners/

A quick look at the 16 distros would make me try antiX-19 first:

http://download.tuxfamily.org/antix/docs-antiX-19/FAQ/index.html

and

https://antixlinux.com/blog/

It advertises support down to as low as Pentium II and uses Debian 
buster as the base. Perhaps a later version will be based on bullseye. 
Its 32-bit version does not need to use a pae kernel, and it is systemd 
free, and these are probably some of the hacks that are needed to keep 
such an old system working well with modern software.


There are also antiX 21 packages, but the blog page does not advertise 
version 21 as a release, perhaps it is a development or beta version 
based on bullseye.


Good luck,

Chuck



If I install Debian 11.2, will it run on this machine? Will it preserve
the files and directories that I have on Squeeze?

I am not subscribed to this mailing list. I would appreciate advices.

-- William Lee Valentine






Re: Query

2022-02-07 Thread Patrick Bartek
On Mon, 7 Feb 2022 08:50:36 -0700
William Lee Valentine  wrote:

> I am wondering whether a current Debian distribution can be installed
> and run on an older Pentium III computer. (I have Debian 11.2 on a
> DVD.)

And have something usable? With the default GNOME desktop? Probably
not. With a lightweight desktop like XFCE? Maybe.  With a window
manager only? Better chance, but still iffy.  Main problem is lack of
RAM and slow CPU. You'll need the 32-bit version of Debian.

Here's a real example with equivalent hardware from around 2004 or 5:
1GHz Duron (PIII equivalent), 1 GB or so RAM, Fedora Core 6, GNOME
desktop.  My system at the time. After numerous upgrades from FC2,
system had become sluggish, particularly with menus -- a second or so
pause before appearing. I was able to get a usable system for another
year or so by a very custom install of Debian Wheezy. Started with a
terminal-only install, then added a minimal X with a window manager
(Openbox), a few utilities and lastly apps. However, I doubt if
Debian 11 would run well on it, even if you abandoned a desktop and
went with a window manager.

All you can do is try and see what happens. Good luck.

> The computer is
> 
>     Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
>     memory: 756 megabytes, running at 500 megahertz
>     IDE disc drive: 60 gigabytes
>     Debian partition: currently 42 gigabytes
>     Debian 6.0: Squeeze
> 
> If I install Debian 11.2, will it run on this machine? Will it
> preserve the files and directories that I have on Squeeze?



Re: Query

2022-02-07 Thread Andrew M.A. Cater
On Mon, Feb 07, 2022 at 08:50:36AM -0700, William Lee Valentine wrote:
> I am wondering whether a current Debian distribution can be installed
> and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)
> 
> The computer is
> 
>    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
>    memory: 756 megabytes, running at 500 megahertz
>    IDE disc drive: 60 gigabytes
>    Debian partition: currently 42 gigabytes
>    Debian 6.0: Squeeze
> 

Debian 32 bit should run on this architecture: it will be slow - this 
is now a minimum of a 17 year old machine - the Pentium III Katmai
was discontinued in 2004.


> If I install Debian 11.2, will it run on this machine? Will it preserve
> the files and directories that I have on Squeeze?
> 

It should run. By default, it is likely to overwrite the previous partition
layout and thus overwrite Squeeze. Squeeze is well and truly out of support
by now and security patches are unavailable: Please do not connect the
machine to the internet until you have brought it up to date / installed
an up to date Debian on the machine..


> I am not subscribed to this mailing list. I would appreciate advices.
> 
> -- William Lee Valentine
> 
All the very best, as ever,

Andy Cater
> 
> -- 
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> 



Re: Query

2022-02-07 Thread Dan Ritter
William Lee Valentine wrote: 
> I am wondering whether a current Debian distribution can be installed
> and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)
> 
> The computer is
> 
>    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
>    memory: 756 megabytes, running at 500 megahertz
>    IDE disc drive: 60 gigabytes
>    Debian partition: currently 42 gigabytes
>    Debian 6.0: Squeeze
> 
> If I install Debian 11.2, will it run on this machine? Will it preserve
> the files and directories that I have on Squeeze?

I'm going to assume you already have squeeze installed.

You should be able to upgrade in place from 6 to 7 to 8 to 9 to
10 to 11. On a machine that old and slow, I suspect it would
take one day per upgrade.

However, it should work.

If you can find a SATA interface card and a cheap SSD, it will
improve performance immensely.

Depending on the part of the world you are in, you can probably
find a much faster machine being given away or sold second-hand
for under $100.

If this is your only machine, I recommend not upgrading it, but
finding a new one if at all possible, then installing on the new
one and transferring over data from the old one.

-dsr-



Re: Query

2022-02-07 Thread Bijan Soleymani

On 2022-02-07 10:50, William Lee Valentine wrote:

I am wondering whether a current Debian distribution can be installed
and run on an older Pentium III computer. (I have Debian 11.2 on a DVD.)

The computer is

    Dell Dimension XPS T500: Intel Pentium III processor (Katnai)
    memory: 756 megabytes, running at 500 megahertz
    IDE disc drive: 60 gigabytes
    Debian partition: currently 42 gigabytes
    Debian 6.0: Squeeze

If I install Debian 11.2, will it run on this machine? Will it preserve
the files and directories that I have on Squeeze?


My main worry would be performance if you use GUI applications. I don't 
know what apps you use, but browsers and desktop environments have 
probably gotten real greedy in terms of RAM since Squeeze and <1 GB is a 
very small amount of RAM these days.



I am not subscribed to this mailing list. I would appreciate advices.


I have BCC'd you but please follow your thread on the archives (or via 
one of the news relays):


https://lists.debian.org/debian-user/2022/02/threads.html
and
https://lists.debian.org/debian-user/2022/02/msg00187.html

Bijan



Re: Query regarding Debian 9.9 (stretch)

2020-12-11 Thread deloptes
didier gaumet wrote:

> By default Stretch seems too ancient to support your chip and you would
> need is install both the kernel and the firmware from Backports to support
> it

In any case the OP is asking also if this is on the installer, which it is
obviously not.
So th answer to actually both questions is NO.



Re: Query regarding Debian 9.9 (stretch)

2020-12-11 Thread didier gaumet
Le vendredi 11 décembre 2020 à 10:30:06 UTC+1, Pratiek N a écrit :
> Hello Team,
> 
> Greetings for the day!
> 
> I need your help regarding a query about Debian 9.9
> 
> Please help me understand if Intel Wi-Fi Module AC9260 supports Debian 9.9 ?
> 
> If it is supported then is the wifi driver part of the inbox driver for 
> Debian 9.9 iso?
> 
> Thank you for your time,
> 
> Regards,
> Pratiek N

Hello,

This is a user list, there is no Debian support team.

According to (1) AC9260 is supported by a Li,nux kernel from 4.14 on.
According to (2) Strecth has a 4.09 kernel but there is a 4.19 Backports kernel 
available.
According to (3) there is also a firmware for this chip in the Backports repo

By default Stretch seems too ancient to support your chip and you would need is 
install both the kernel and   
the firmware from Backports to support it

(1) 
https://www.intel.com/content/www/us/en/support/articles/05511/network-and-i-o/wireless.html
(2) 
https://packages.debian.org/search?suite=all=all=any=names=linux-image-amd64
(3) 
https://packages.debian.org/search?suite=all=all=any=names=iwlwifi

If you do not know how to use Backports, there is a page in the wiki:
 https://wiki.debian.org/Backports



Re: Query regarding Debian 9.9 (stretch)

2020-12-11 Thread tomas
On Fri, Dec 11, 2020 at 02:42:38PM +0530, Pratiek N wrote:
> Hello Team,
> 
> Greetings for the day!
> 
> I need your help regarding a query about Debian 9.9
> 
> Please help me understand if Intel  Wi-Fi Module AC9260 supports Debian 9.9
> ?
> 
> If it is supported then is the wifi driver part of the inbox driver for
> Debian 9.9 iso?

I can't vouch for it firsthand, but at least there seems to be firmware
for it -- at least this seems promising:

  tomas@trotzki:~$ apt-file search -x "firmware.*9260"
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-34.ucode
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-38.ucode
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-41.ucode
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode

But perhaps someone else is using that hardware right
now.

Good luck
 - t


signature.asc
Description: Digital signature


Re: Re: query about kernel, download options, sessions

2020-09-09 Thread _ nenu
On Tue 08 Sep 2020 at 14:29:02 (-0700), David Christensen wrote:
> On 2020-09-08 03:45, nenu crok wrote:

> > i have read somewhere using ctrl alt f2 option to start new session. is 
> > word session correct ? by jumping using above option will log out from 
> > existing session.
> 
> That sounds like the Linux "virtual terminals" feature:
> 
> https://www.linux.org/threads/virtual-terminals.4135/
> 
> Switching between virtual terminals does not log you out.
> 
> Most graphical environments support a "terminal" application and the
> ability to run multiple programs inside windows on your screen.  One
> advantage over virtual terminals is that you can see multiple windows
> at the same time, and can copy-and-paste information between them.

> You should be able to copy-and-paste between virtual terminals (or
virtual consoles) too. Agreed, you can't see them both at the same
time, 

> and another disadvantage is that whenever you switch consoles,
the lines of output above the top of the screen can no longer be
reached by scrolling up.

thanks for heads up.

_ nenu



Re: query about kernel, download options, sessions

2020-09-09 Thread David Wright
On Tue 08 Sep 2020 at 14:29:02 (-0700), David Christensen wrote:
> On 2020-09-08 03:45, nenu crok wrote:

> > i have read somewhere using ctrl alt f2 option to start new session. is 
> > word session correct ? by jumping using above option will log out from 
> > existing session.
> 
> That sounds like the Linux "virtual terminals" feature:
> 
> https://www.linux.org/threads/virtual-terminals.4135/
> 
> Switching between virtual terminals does not log you out.
> 
> Most graphical environments support a "terminal" application and the
> ability to run multiple programs inside windows on your screen.  One
> advantage over virtual terminals is that you can see multiple windows
> at the same time, and can copy-and-paste information between them.

You should be able to copy-and-paste between virtual terminals (or
virtual consoles) too. Agreed, you can't see them both at the same
time, and another disadvantage is that whenever you switch consoles,
the lines of output above the top of the screen can no longer be
reached by scrolling up.

Cheers,
David.



Re: query about kernel, download options, sessions

2020-09-09 Thread nenu crok
>  i am privacy freak, hence not using android. however, after seeing size of 
> libreoffice, is there any way an option to download only small portion. i 
> have overheard aboout similar option in our os debian. this is must, only 
> metered ethernet or wifi connections in my area. i am specifically interested 
> about disadvantages compared to full package or normal update or upgrade.

just now i found correct words: delta update - on android or express updates 
-on windows. do we have similar option ?

> you can purchase Debian DVDs and have them sent to you in the mail

where can i find more info about debian dvd contents.

> the important thing is to choose a mail storage format that supports that.

> Maildir is the most useful. Any program that supports Maildir should also 
> support multiple sessions.

i will check which package supports.

> By "seti', do you mean:
> https://seti.org/
> I do not understand how mail and SETI are related (?). Please clarify.

there is no relation between both of them. i dont want to miss my important 
emails while using or checking other work.

> You should only run two instances of any program if that program is designed 
> for concurrent operation. Otherwise, the two instances could both write to 
> the same file, losing or corrupting data.

thank you for heads up. i will prepare a list of packages and ask package 
coders about it or search package help manual.

> Most graphical environments support a "terminal" application and the ability 
> to run multiple programs inside windows on your screen.

i am trying to avoid accidental closing or quitting package.

> That sounds like the Linux "virtual terminals" feature:

i will do more research about "virtual terminals".

> I added an alias to my .profile so that --no-install-recommends is always 
> set: 2020-09-08 13:45:56 root@tinkywinky ~ # grep 'no-install-recommends' 
> .profile* .profile:alias apt-get='apt-get --no-install-recommends'

> You may wish to add this to your apt configuration file(s), /etc/apt/apt.conf 
> or /etc/apt/apt.conf.d/*, instead, like so: APT::Install-Recommends "false"; 
> That should apply to apt-get, (I believe) aptitude, and synaptic, as well as 
> apt, should you decide to use one of those.

i have added excellent suggestion to my must to-do list.

regards,
_ nenu


Re: query about kernel, download options, sessions

2020-09-08 Thread David Christensen

On 2020-09-08 15:04, Charles Curley wrote:

On Tue, 8 Sep 2020 13:48:03 -0700
David Christensen  wrote:


I added an alias to my .profile so that --no-install-recommends is
always set:

2020-09-08 13:45:56 root@tinkywinky ~
# grep 'no-install-recommends' .profile*
.profile:alias apt-get='apt-get --no-install-recommends'


You may wish to add this to your apt configuration
file(s), /etc/apt/apt.conf or /etc/apt/apt.conf.d/*, instead, like so:

APT::Install-Recommends "false";

That should apply to apt-get, (I believe) aptitude, and synaptic, as
well as apt, should you decide to use one of those.


Interesting possibility.  Thanks for the suggestion.  :-)


David



Re: query about kernel, download options, sessions

2020-09-08 Thread Charles Curley
On Tue, 8 Sep 2020 13:48:03 -0700
David Christensen  wrote:

> I added an alias to my .profile so that --no-install-recommends is 
> always set:
> 
> 2020-09-08 13:45:56 root@tinkywinky ~
> # grep 'no-install-recommends' .profile*
> .profile:alias apt-get='apt-get --no-install-recommends'

You may wish to add this to your apt configuration
file(s), /etc/apt/apt.conf or /etc/apt/apt.conf.d/*, instead, like so:

APT::Install-Recommends "false";

That should apply to apt-get, (I believe) aptitude, and synaptic, as
well as apt, should you decide to use one of those.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: query about kernel, download options, sessions

2020-09-08 Thread David Christensen

On 2020-09-08 03:45, nenu crok wrote:

hello debian users,


Hello.  :-)



after bit of research, i have decided to install debian. it is rock solid.

i have few queries. please be simple. english is not my native language.

i assumed kernel is most important for system security. do we have tweaked 
kernel packages. i dont mind a little of sluggishness or loss of performance.


Understand that Debian "stable" implies older kernels and software, 
which can be a double-edged sword with respect to "security".



i am privacy freak, hence not using android. 


I have not heard of privacy problems with the base Debian installation.


But, it is possible to have your privacy compromised on any platform by 
installing privacy-violating software, plug-in's, etc., and/or by using 
privacy-violating Internet services.




however, after seeing size of libreoffice, is there any way an option to 
download only small portion. i have overheard aboout similar option in our os 
debian. this is must, only metered ethernet or wifi connections in my area. i 
am specifically interested about disadvantages compared to full package or 
normal update or upgrade.


Consider purchasing a set of installation discs or an installation USB 
flash drive.



Study your package installation tool to see how you can control what 
packages get downloaded and why.  With sufficient effort, you should be 
able to limit downloads to only security patches.  (This could be as 
simple as only including security.debian.org in /etc/apt/sources.list).



to me email is important. i have decided to contribute bit similar to seti. 


By "seti', do you mean:

https://seti.org/


I do not understand how mail and SETI are related (?).  Please clarify.


can i run mail in two terminals. 


You should only run two instances of any program if that program is 
designed for concurrent operation.  Otherwise, the two instances could 
both write to the same file, losing or corrupting data.




i have read somewhere using ctrl alt f2 option to start new session. is word 
session correct ? by jumping using above option will log out from existing 
session.


That sounds like the Linux "virtual terminals" feature:

https://www.linux.org/threads/virtual-terminals.4135/

Switching between virtual terminals does not log you out.


Most graphical environments support a "terminal" application and the 
ability to run multiple programs inside windows on your screen.  One 
advantage over virtual terminals is that you can see multiple windows at 
the same time, and can copy-and-paste information between them.



David



Re: query about kernel, download options, sessions

2020-09-08 Thread David Christensen

On 2020-09-08 10:27, Marko Randjelovic wrote:

On Tue, 8 Sep 2020 10:45:41 +
nenu crok  wrote:


i am privacy freak, hence not using android. however, after seeing size of 
libreoffice, is there any way an option to download only small portion. i have 
overheard aboout similar option in our os debian. this is must, only metered 
ethernet or wifi connections in my area. i am specifically interested about 
disadvantages compared to full package or normal update or upgrade.


You can download only parts of libreoffice that you need, e.g.

apt install libreoffice-writer libreoffice-calc

Also, you can use --no-install-recommends option:

apt-get --no-install-recommends install libreoffice-writer libreoffice-calc


+1


I added an alias to my .profile so that --no-install-recommends is 
always set:


2020-09-08 13:45:56 root@tinkywinky ~
# grep 'no-install-recommends' .profile*
.profile:alias apt-get='apt-get --no-install-recommends'


David



Re: query about kernel, download options, sessions

2020-09-08 Thread Marko Randjelovic
On Tue, 8 Sep 2020 10:45:41 +
nenu crok  wrote:

> i am privacy freak, hence not using android. however, after seeing size of 
> libreoffice, is there any way an option to download only small portion. i 
> have overheard aboout similar option in our os debian. this is must, only 
> metered ethernet or wifi connections in my area. i am specifically interested 
> about disadvantages compared to full package or normal update or upgrade.

You can download only parts of libreoffice that you need, e.g.

apt install libreoffice-writer libreoffice-calc

Also, you can use --no-install-recommends option:

apt-get --no-install-recommends install libreoffice-writer libreoffice-calc

Regards,
Marko



Re: query about kernel, download options, sessions

2020-09-08 Thread riveravaldez
On 9/8/20, nenu crok  wrote:
> On Tue, 8 Sep 2020 10:45:41 +
> nenu crok  wrote:
>
>> after seeing size of libreoffice, is there any way an option to
>> download only small portion.
>
>> Consider other office software instead: ABIword, gnumeric, etc.

I always recommend AbiWord: it's not just much more small and
lightweight but also much more simple to use.

The same goes for GNUmeric.

Only thing I couldn't find still is an alternative to Impress...

Best luck.



Re: query about kernel, download options, sessions

2020-09-08 Thread nenu crok
On Tue, 8 Sep 2020 10:45:41 +
nenu crok  wrote:

> after seeing size of libreoffice, is there any way an option to
> download only small portion.

> Consider other office software instead: ABIword, gnumeric, etc.

i will certainly consider your suggestion.

_ nenu


Re: query about kernel, download options, sessions

2020-09-08 Thread Charles Curley
On Tue, 8 Sep 2020 10:45:41 +
nenu crok  wrote:

> after seeing size of libreoffice, is there any way an option to
> download only small portion.

Consider other office software instead: ABIword, gnumeric, etc.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: query about kernel, download options, sessions

2020-09-08 Thread Dan Ritter
nenu crok wrote: 
> i have few queries. please be simple. english is not my native language.

That's true for lots of people here. 

> i assumed kernel is most important for system security. do we have tweaked 
> kernel packages. i dont mind a little of sluggishness or loss of performance.

The kernel is updated regularly, and the debian-security team is
generally on top of things. You should subscribe to
debian-security-announce 

> i am privacy freak, hence not using android. however, after seeing size of 
> libreoffice, is there any way an option to download only small portion. i 
> have overheard aboout similar option in our os debian. this is must, only 
> metered ethernet or wifi connections in my area. i am specifically interested 
> about disadvantages compared to full package or normal update or upgrade.

Options:

LibreOffice is about 600MB if you don't choose all the language
packs and dictionaries. There are 179 component packages, but
you only need a few.

- you can download packages to a USB stick at a library or
  university or internet cafe, then take them home and install
  them.

- you can purchase Debian DVDs and have them sent to you in the
  mail


> to me email is important. i have decided to contribute bit similar to seti. 
> can i run mail in two terminals. i have read somewhere using ctrl alt f2 
> option to start new session. is word session correct ? by jumping using above 
> option will log out from existing session.

ctrl-alt-F1 through F6 are usually set up as independent virtual
terminals. Changing to one or another should not log you out of
the one you were in, but only offer you a chance to log in to a
new one.

If you want to run mail in 2 sessions at the same time, the
important thing is to choose a mail storage format that supports
that. Maildir is the most useful. Any program that supports
Maildir should also support multiple sessions.

-dsr-



Re: Query about possible impact of leap second on Debian Linux

2015-05-23 Thread Bob Proulx
Bret Busby wrote:
 And, with Debian 6 LTS, in /etc/apt/sources.list, I have, apart from
 the commented out lines,
 
 deb http://http.debian.net/debian/ squeeze main contrib non-free
 deb-src http://http.debian.net/debian/ squeeze main contrib non-free
 deb http://http.debian.net/debian squeeze-lts main contrib non-free
 deb-src http://http.debian.net/debian squeeze-lts main contrib non-free

I am only commenting for the archive to confirm that those should be
good.  Here are references for those reading later and wish to check
for updated information.

  https://wiki.debian.org/LTS

  https://wiki.debian.org/LTS/Using

Bob


signature.asc
Description: Digital signature


Re: Query about possible impact of leap second on Debian Linux

2015-05-22 Thread Bob Proulx
Bret Busby wrote:
 ... so, upon checking (using Synaptic) the tzdata package(s), and
 finding they needed updating, apparently without depending on the
 kernel update(s), I have now updated the tzdata packages. There are
 tzdata and tzdata-java, both of which had updates available.

The tzdata package is updated through the stable-updates section, not
to be confused with the security stable/updates section.  They are
similarly named but different update channels.  The stable-updates
path is the one time named volatile section for those that remember
it.  It is for updates that by their nature must update more often
than the Debian Stable release and point release cycle.

Packages such as tzdata are updated when governments change the
timezones.  This happens outside of distribution release cycles.

For Debian Stable Jessie 8 the following shows all three sets of
sources that one should have in their sources.list in order to get all
of the updates they should be getting.[*] This is the main archive
where most packages exist, the updates source for packages such as
tzdata, and the security source for security upgrades.

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

Bob

[*] Note that httpredir.debian.org is the redirector and the same as
if one had the geographic alias ftp.XX.debian.org where XX is your
country code such as ftp.us.debian.org.  Either is okay.  I am using
the redirector in the documentation above so that it is generic.  If
you have the country code alias version that is fine too.


signature.asc
Description: Digital signature


Re: Query about possible impact of leap second on Debian Linux

2015-05-22 Thread Bret Busby
On 23/05/2015, Bob Proulx b...@proulx.com wrote:
 Bret Busby wrote:
 ... so, upon checking (using Synaptic) the tzdata package(s), and
 finding they needed updating, apparently without depending on the
 kernel update(s), I have now updated the tzdata packages. There are
 tzdata and tzdata-java, both of which had updates available.

 The tzdata package is updated through the stable-updates section, not
 to be confused with the security stable/updates section.  They are
 similarly named but different update channels.  The stable-updates
 path is the one time named volatile section for those that remember
 it.  It is for updates that by their nature must update more often
 than the Debian Stable release and point release cycle.

 Packages such as tzdata are updated when governments change the
 timezones.  This happens outside of distribution release cycles.

 For Debian Stable Jessie 8 the following shows all three sets of
 sources that one should have in their sources.list in order to get all
 of the updates they should be getting.[*] This is the main archive
 where most packages exist, the updates source for packages such as
 tzdata, and the security source for security upgrades.

 deb http://httpredir.debian.org/debian jessie main
 deb-src http://httpredir.debian.org/debian jessie main

 deb http://httpredir.debian.org/debian jessie-updates main
 deb-src http://httpredir.debian.org/debian jessie-updates main

 deb http://security.debian.org/ jessie/updates main
 deb-src http://security.debian.org/ jessie/updates main


And, with Debian 6 LTS, in /etc/apt/sources.list, I have, apart from
the commented out lines,


deb http://http.debian.net/debian/ squeeze main contrib non-free
deb-src http://http.debian.net/debian/ squeeze main contrib non-free

deb http://http.debian.net/debian squeeze-lts main contrib non-free

deb-src http://http.debian.net/debian squeeze-lts main contrib non-free


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8M7aGJG61sbjxqmMJG845+7gnE=kaaqxwchi4s9huu...@mail.gmail.com



Re: Query about possible impact of leap second on Debian Linux

2015-05-21 Thread Bob Proulx
Iain M Conochie wrote:
 Bret Busby wrote:
 I have today seen the news report below, and wonder whether it needs
 some kind of patch for Debian Linux, and, if so, whether it has
 already been done, or is pending.
 
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679882#87

Good to see that Debian has already implemented the patches through
Debian Squeeze LTS.

A reasonably good summary and description of the leapsecond issues
appears in the up-voted answer posted here:

  
http://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-during-a-leap-second

Bob


signature.asc
Description: Digital signature


Re: Query about possible impact of leap second on Debian Linux

2015-05-21 Thread Iain M Conochie



On 21/05/15 09:45, Bret Busby wrote:

Hello.

I have posted this message to the general Debian Users list, rather
than to only the LTS list, as, whilst my interest is limited to Debian
6 LTS, I believe that, if the issue involving any possible problem,
applies, then it would likely apply to all existing versions of Debian
Linux in use.

I have today seen the news report below, and wonder whether it needs
some kind of patch for Debian Linux, and, if so, whether it has
already been done, or is pending.


snip

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679882#87

Iain


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

Archive: https://lists.debian.org/555db416.1010...@thargoid.co.uk



Re: Query about possible impact of leap second on Debian Linux

2015-05-21 Thread Iain M Conochie



On 21/05/15 22:15, Bob Proulx wrote:

Iain M Conochie wrote:

Bret Busby wrote:

I have today seen the news report below, and wonder whether it needs
some kind of patch for Debian Linux, and, if so, whether it has
already been done, or is pending.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679882#87

Good to see that Debian has already implemented the patches through
Debian Squeeze LTS.
To be fair, this was implemented when squeeze was still stable, as 
according to the below link Wheezy was officially released over 7 months 
after this fix


https://www.debian.org/releases/wheezy/



A reasonably good summary and description of the leapsecond issues
appears in the up-voted answer posted here:

   
http://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-during-a-leap-second

Bob
Nice one Bob. This link also points out this was an issue with the NTP 
server software (although it seemed in 2012 the main issue was with the 
kernel)



Bret

 You may want to also check your version of NTP (if you are running the 
software). You may also want to check your version of the tzdata package 
if you are *not* running NTP. This should be 2015d-0+deb6u1


Iain



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

Archive: https://lists.debian.org/555e6616.2090...@thargoid.co.uk



Re: Query about possible impact of leap second on Debian Linux

2015-05-21 Thread Bret Busby
On 22/05/2015, Iain M Conochie i...@thargoid.co.uk wrote:


 On 21/05/15 22:15, Bob Proulx wrote:
 Iain M Conochie wrote:
 Bret Busby wrote:
 I have today seen the news report below, and wonder whether it needs
 some kind of patch for Debian Linux, and, if so, whether it has
 already been done, or is pending.
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679882#87
 Good to see that Debian has already implemented the patches through
 Debian Squeeze LTS.
 To be fair, this was implemented when squeeze was still stable, as
 according to the below link Wheezy was officially released over 7 months
 after this fix

 https://www.debian.org/releases/wheezy/


 A reasonably good summary and description of the leapsecond issues
 appears in the up-voted answer posted here:


 http://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-during-a-leap-second

 Bob
 Nice one Bob. This link also points out this was an issue with the NTP
 server software (although it seemed in 2012 the main issue was with the
 kernel)


 Bret

   You may want to also check your version of NTP (if you are running the
 software). You may also want to check your version of the tzdata package
 if you are *not* running NTP. This should be 2015d-0+deb6u1

 Iain


Hello.

Thank you for that, Iain.

Due to some of my web browsers not having the capability to save
sessions, and with them having multiple windows open, and with kernel
updates requiring a system reboot, each time, this system has not been
updated for a little while, so, upon checking (using Synaptic) the
tzdata package(s), and finding they needed updating, apparently
without depending on the kernel update(s), I have now updated the
tzdata packages. There are tzdata and tzdata-java, both of which had
updates available.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8okafljsqgcqdxjuxnqdiqyro2a6xam_9rxc+w4lyv...@mail.gmail.com



Re: Query about GRUB comand line functionality

2015-02-25 Thread Brian
On Wed 25 Feb 2015 at 16:55:07 +0800, Bret Busby wrote:

 My query is this; given the specified version of GRUB, and, given that
 the computer does not have an operable operating system, does the GRUB
 command line that is present, have the functionality of being able to
 mount (and then, later, to unmount) a USB thumb drive, and then create
 a file on the thumb drive, and, from a start point to an end point,
 write all commands entered, and the respective output responses, so as
 to be able to save to the file, text that can be conveyed to a mailing
 list, showing exactly what commands are entered, and the response for
 each command entered, for seeking a solution to restore and repair the
 system?

No.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/25022015101202.05e54aaef...@desktop.copernicus.demon.co.uk



Re: Query: Deprecated libsystemd0 items, initramfs-1.18 bugs

2014-12-08 Thread Andrei POPESCU
On Du, 07 dec 14, 18:51:53, David Baron wrote:
 On Sunday 07 December 2014 13:30:35 Andrei POPESCU wrote:
  On Du, 07 dec 14, 12:52:06, David Baron wrote:
  
   2. 1.18 has been the current intramf-tools version for quite a while and
   several serious or worse bugs are open.
  
  And the question is?
 
 Is 1.18 safe to upgrade or wait and play it safe?

Works for me, but then I have a pretty simple setup (only /home and swap 
on separate partitions, no LVM or MD, standard kernels, etc.)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: Query: Deprecated libsystemd0 items, initramfs-1.18 bugs

2014-12-07 Thread Andrei POPESCU
On Du, 07 dec 14, 12:52:06, David Baron wrote:
 1. I noticed that several of these are listed as deprecated. What replaces 
 them or are they used at all? (Do not want to risk and unbootable, or 
 unloginable [SIC] system by simply removing them :-)

I'm guessing you mean libsystemd-daemon0, libsystemd-login0, etc.

As per the package description, their functionality has been integrated 
in libsystemd0, so it is safe to remove them (I don't have them 
installed).

As a general trick, that should work on any package: mark them as 
automatically installed and use autoremove

apt-mark auto libsystemd-daemon0
apt-get --purge autoremove
 
 2. 1.18 has been the current intramf-tools version for quite a while and 
 several serious or worse bugs are open. 

And the question is?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: Query: Deprecated libsystemd0 items, initramfs-1.18 bugs

2014-12-07 Thread David Baron
On Sunday 07 December 2014 13:30:35 Andrei POPESCU wrote:
 On Du, 07 dec 14, 12:52:06, David Baron wrote:
  1. I noticed that several of these are listed as deprecated. What replaces
  them or are they used at all? (Do not want to risk and unbootable, or
  unloginable [SIC] system by simply removing them :-)
 
 I'm guessing you mean libsystemd-daemon0, libsystemd-login0, etc.
 
 As per the package description, their functionality has been integrated
 in libsystemd0, so it is safe to remove them (I don't have them
 installed).

So will remove them
 
  2. 1.18 has been the current intramf-tools version for quite a while and
  several serious or worse bugs are open.
 
 And the question is?

Is 1.18 safe to upgrade or wait and play it safe?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5105901.yT5k488Fbr@dovidhalevi



Re: Query: Deprecated libsystemd0 items, initramfs-1.18 bugs

2014-12-07 Thread Sven Hartge
David Baron d_ba...@012.net.il wrote:
 On Sunday 07 December 2014 13:30:35 Andrei POPESCU wrote:
 On Du, 07 dec 14, 12:52:06, David Baron wrote:

 2. 1.18 has been the current intramf-tools version for quite a while
 and several serious or worse bugs are open.
 
 And the question is?

 Is 1.18 safe to upgrade or wait and play it safe?

If you have /usr on a different MD or LV than /, you should stick with
0.116.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/0b74olbmq...@mids.svenhartge.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-20 Thread lee
B lazyvi...@gmx.com writes:

 On Sun, 14 Sep 2014 15:53:50 +0200
 lee l...@yun.yagibdah.de wrote:

 Have you actually tested (with hot-pluggable disks) what happens when
 one of the partitions the system is swapping to suddenly becomes
 unavailable or difficult to access and what happens when the data (on
 one of the swap-partitions) becomes corrupted?

 Not recently, I had a swap disk failure 2 times, 15 years ago,
 I found the machine completely stucked, ~12-13 years ago,
 processes were killed and the machine was still running.

Huh? It was stuck but running?

How do you suppose that, when a disk to which the system has swapped out
the contents of emacs' buffers you've been working on fails, the system
shall obtain this data so that you can save your changes before shutting
down the system to replace the failed disk?  (And don't say use
hot-pluggable disks.)


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/871tr6nzk0@yun.yagibdah.de



Re: Query about .xsession-errors file

2014-09-15 Thread Bret Busby
On 15/09/2014, Chen Wei weichen...@icloud.com wrote:
 On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
 .xsession-errors, which is currently sitting at about 740MB, and has
 been growing in the last hour.

 entries from before the current boot session) entries, so as to reduce
 the file size to content that is necessary to retain for debugging?


 If debugging is not required, redirect xsession error to /dev/null is
 another option.

 in /etc/X11/Xsession, find the line:

 exec $ERRFILE 21

 change it to:

 exec /dev/null 21

 --
 Chen Wei



Hello.

At this time, after doing what I had done, that I had previously
stated, the file is still at zero bytes, so I think that it is
probably better, to leave the error handling as it is, and, monitor it
daily, to detect any change, and then, act on any changes to the file.

However, thank you for the suggestion, which I shall retain for future
consideration.


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8OHzm+2cgRzd0s4VocQCtOWjmeTbLJ=+nzqxcw0eqk...@mail.gmail.com



Re: Query about .xsession-errors file

2014-09-15 Thread Paul Trevethan
On Mon, 15 Sep 2014 15:07:48 +0800
Bret Busby bret.bu...@gmail.com wrote:

 On 15/09/2014, Chen Wei weichen...@icloud.com wrote:
  On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
  .xsession-errors, which is currently sitting at about 740MB, and
  has been growing in the last hour.
 
  entries from before the current boot session) entries, so as to
  reduce the file size to content that is necessary to retain for
  debugging?
 
 
  If debugging is not required, redirect xsession error to /dev/null
  is another option.
 
  in /etc/X11/Xsession, find the line:
 
  exec $ERRFILE 21
 
  change it to:
 
  exec /dev/null 21
 
  --
  Chen Wei
 
 
 
 Hello.
 
 At this time, after doing what I had done, that I had previously
 stated, the file is still at zero bytes, so I think that it is
 probably better, to leave the error handling as it is, and, monitor it
 daily, to detect any change, and then, act on any changes to the file.
 
 However, thank you for the suggestion, which I shall retain for future
 consideration.
 
 

If you do not want it to disappear altogether, you can just prune it. I
have this in my ¨/home/user/.bash_profile¨ file:

# prune the ~/.xsession-errors file if it grows beyond 1Mb
if [ $(du -b ~/.xsession-errors | cut -f1) -gt 1048576 ]; then
  KEEP_LINES=$(tail -n 100 ~/.xsession-errors)
  echo $KEEP_LINES  ~/.xsession-errors
fi

Keeps it under control but still usable.

cheers,
greywolf


-- 
It is about the Dragons - it was always about the Dragons!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140916123918.17f58b2c@babylon



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-14 Thread lee
B lazyvi...@gmx.com writes:

 On Sat, 13 Sep 2014 23:09:58 +0200
 lee l...@yun.yagibdah.de wrote:

  Does swapping to partitions use
 checksumming for data integrity? 

 Not that I know of (but I always make a looong destructive test
 before use, either on regular partitions and swaps).

Have you actually tested (with hot-pluggable disks) what happens when
one of the partitions the system is swapping to suddenly becomes
unavailable or difficult to access and what happens when the data (on
one of the swap-partitions) becomes corrupted?


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87wq96s3yp@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-14 Thread lee
B lazyvi...@gmx.com writes:

 On Sat, 13 Sep 2014 22:56:48 +0200
 lee l...@yun.yagibdah.de wrote:

 Multiplication is an algorithmic operation.

 Well, technically speaking, it is additions.

In any case, some algorithm is used :)


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/871tretiv8@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-14 Thread Bzzzz
On Sun, 14 Sep 2014 15:53:50 +0200
lee l...@yun.yagibdah.de wrote:

 Have you actually tested (with hot-pluggable disks) what happens when
 one of the partitions the system is swapping to suddenly becomes
 unavailable or difficult to access and what happens when the data (on
 one of the swap-partitions) becomes corrupted?

Not recently, I had a swap disk failure 2 times, 15 years ago,
I found the machine completely stucked, ~12-13 years ago,
processes were killed and the machine was still running.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140914174806.50be0694@msi.defcon1



Re: Query about .xsession-errors file

2014-09-14 Thread Chen Wei
On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
 .xsession-errors, which is currently sitting at about 740MB, and has
 been growing in the last hour.
 
 entries from before the current boot session) entries, so as to reduce
 the file size to content that is necessary to retain for debugging?
 

If debugging is not required, redirect xsession error to /dev/null is
another option.

in /etc/X11/Xsession, find the line:

exec $ERRFILE 21

change it to:

exec /dev/null 21

-- 
Chen Wei


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140915003617.GA6856@localhost



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread lee
B lazyvi...@gmx.com writes:

 On Thu, 11 Sep 2014 20:22:01 +0200
 lee l...@yun.yagibdah.de wrote:

 Why would you say that?

 root denied access to sysctl keys (that doesn't even exist on my
 systems).

I got some denied, too, and some didn't exist.


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87bnqjw894@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread lee
Curt cu...@free.fr writes:

 On 2014-09-12, Jonathan Dowland j...@debian.org wrote:

 Possibly because nobody has stepped up to write a new algorithm.


 Seems more like simple multiplication than algorithmic calculation to me.

Multiplication is an algorithmic operation.


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/877g17w86n@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread lee
Don Armstrong d...@debian.org writes:

 On Thu, 11 Sep 2014, lee wrote:
 Go down can have various meanings. When you run a server and a
 server process (like an MTA or an IMAP or web server) is killed
 because the system runs out of memory, the server is effectively down.

 This is why you use things like systemd or similar which are capable of
 tracking processes and restarting them when they are killed or fail for
 whatever reason.

Do these systems check or somehow predict whether there is enough memory
available to restart the processes that were killed?  Unless they do
that, they may very well make the problem worse.

 It may not be unstable (though I consider a system without an
 operational MTA as non-functional), yet you never know what process
 will be killed.

 You're trading having a few processes killed off (often, the very
 process which is consuming too much memory) with thrashing, and all
 processes either being just slow (if you're lucky) or so slow that they
 hit timeouts. If it's thrashing swap that badly, it might as well be
 down.

There's always the chance that the system recovers.  If I can intervene,
that chance is really good.

 Worse, when a machine is thrashing that badly, it's often impossible to
 see what is happening with the machine at all, because even starting a
 shell (or launching processes) requires swap. All you can do is use
 magic sysrq and hope that it will give you enough information about what
 is going on for you to kill something off.

I haven't run into this problem yet.

 You could have ZFS with fuse, and what prevents such processes from
 being killed?

 You can inform the OOM killer which processes should not be killed
 fairly trivially. [Things like fuse, sshd, and similar should already be
 informing the OOM killer that they should not be killed;[1] if not,
 that's a bug.]

 1: For ssh this is already the case.

That's a good thing :)

What would you rather have:  A smoke alarm or something that actually
prevents the fire, unless it's a really big fire?


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87fvfvw8a6@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread lee
The Wanderer wande...@fastmail.fm writes:

 On 09/12/2014 at 12:25 PM, Bret Busby wrote:

 On 12/09/2014, The Wanderer wande...@fastmail.fm wrote:
 
 On 09/10/2014 at 04:00 AM, Bret Busby wrote:
 
 So, whether or not the swap partition is bigger than needed,
 should not influence the inability of the system, to use the swap 
 partition, and, thence, whether or not the swap partition is too
 big, has no bearing on the problem.
 
 Correct?

 Sounds right to me.

 Unless I'm missing a twist somewhere, the only effects of having a
 too-big swap partition should be:

 * Wasted disk space, which could otherwise be used for other purposes.

 * Inordinately large likelihood that the system will at some point swap
 important processes out, thereby slowing down normal system operation,
 because it thinks it needs to keep some huge static data in active RAM.

What or how has the size of the swap partition to do with what the
system figures which data needs to be kept in RAM?

The amount of RAM seems to have a much greater influence on how much RAM
is being used than the size of the swap partition.  I've seen seamonkey
with 2GB RAM usage when 8GB was available.  Now it's running on a VM
that has only 2GB RAM, and seamonkey needs only 1GB.


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/8738bvw7sv@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread lee
B lazyvi...@gmx.com writes:

 On Thu, 11 Sep 2014 20:32:08 +0200
 lee l...@yun.yagibdah.de wrote:

 Mounting swap partitions with the same priority does not provide
 redundancy.

 As RAID doesn't provide data integrity w/ regular RAM.

RAID doesn't provide data integrity even with ECC RAM.

It only provides redundancy (with some RAID levels).  Use ECC RAM and a
file system that does checksumming for data integrity --- might be a bit
difficult for swap, though.  Does swapping to partitions use
checksumming for data integrity?  If not, you can always swap to files.


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87y4tnut09@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread Bzzzz
On Sat, 13 Sep 2014 22:56:48 +0200
lee l...@yun.yagibdah.de wrote:

 Multiplication is an algorithmic operation.

Well, technically speaking, it is additions.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140914001350.3e64da65@msi.defcon1



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-13 Thread Bzzzz
On Sat, 13 Sep 2014 23:09:58 +0200
lee l...@yun.yagibdah.de wrote:

 RAID doesn't provide data integrity even with ECC RAM.

You still have much more chances to avoid writing a bad byte w/ ECC
than with regular RAM, though.
 
 It only provides redundancy (with some RAID levels).  Use ECC RAM and a
 file system that does checksumming for data integrity --- might be a
 bit difficult for swap, though.

That's why I like this FS, which is now more usable with powerful 
chipsets/CPUs.

  Does swapping to partitions use
 checksumming for data integrity? 

Not that I know of (but I always make a looong destructive test
before use, either on regular partitions and swaps).

 If not, you can always swap to files.

This isn't a good idea, perfs are much degraded using that.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140914002430.6b21785f@msi.defcon1



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread Jonathan Dowland
On Wed, Sep 10, 2014 at 05:07:32PM +, Curt wrote:
 Then why do the (net)installer(s) apply an obsolete principle when you
 accept a/the default partioning scheme(s) (well, at least the Squeeze
 netinstaller I used way back when did so).

Possibly because nobody has stepped up to write a new algorithm.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912130038.gb5...@bryant.redmars.org



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/10/2014 at 04:00 AM, Bret Busby wrote:

 On 10/09/2014, B lazyvi...@gmx.com wrote:
 
 On Wed, 10 Sep 2014 03:30:40 +0800 Bret Busby 
 bret.bu...@gmail.com wrote:
 
 Alright, then; it is doing token swapping - with 99% of 16GB 
 memory usage, and, swapping only 4% of (about) 40GB swap 
 capacity, you can't seriously tell me that the swapping is 
 working as it should be.
 
 Anyway, a swap of 40GB is too much for a RAM of 16GB (should be 
 around 16-20GB), unless you perform operations that generates a
 lot of intermediary results).
 
 I had understood the rule to be that swap space size should be at 
 least double the size of the RAM.

The rule (more guideline) as I learned it is that swap capacity should
be at *most* double the size of RAM.

On systems with 8GB of RAM or more, I usually try to aim for about equal
to the size of RAM. On systems with less, I go higher, to be
sufficiently sure I won't OOM with normal use of the system.

On my current system, with 24GB of RAM, the swap partition is (according
to lvdisplay) 22.75GB.

 When the system was originally installed, the RAM was (I think)
 8GB.
 
 If the double the size of the RAM, is still applicable, then 40GB 
 should be okay.
 
 But, the question is, does the system say Ooh that is too much
 for me - I can not cope - I will not venture out into that?
 
 Does Debian Linux have a swap size limit, beyond which, swapping
 is disabled, or, choked?

No. It's just a question of how much makes sense to have, beyond which
the naturally emergent behavior is one which does not make sense.

Because the question of what makes sense can be a fairly subjective one,
this is not a question to which there necessarily is a definitive
answer. But there does tend to be a consensus one in practice.

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUEvJmAAoJEASpNY00KDJrwRwQAJUu2VZqvoHGTLlunrlNLG9t
+whtPwJFrlnJHgP2kZRVsN6rtS7vEis0gxnIH0wzROQ5Qpb2cjnzJf0sKV/l/5tU
1AJpzZzeenbyEiataMSu5Pl7DtDInYB5wMI4s7X9w1SEvXZ8RKz7N2o/hgcRzlzt
bBhgfQPKO38iPLot+s1tmQG7eG2v0exVyjCRf54D+gULcdcBIiBC6JxrdYiwPQLo
e0S2bigMFdaNFcvOcu5uzQZ2vM7dynM/vMBlTy8pLxOzI45xRzHmZDQIJt1SL415
rIY3kmDRQHjMxwudt0Q7AbwZdf+JeCWMzVB0bHY/drdkpzfdk6R+6XjFDPhXwuG1
L+h37wUrtWz1MSds8sy2t2OjsO4IZJHno4vNcfY/Bo6Ykcp6AaetNVUijHZ6a26B
loEQb8PPr9VGXDDs/edlAjWJNAnS0+iUv0azqVxGbnmWaPYBVObJcSiM2H0FxNwG
r2U8vR7fJgpxcsF3jXAjpEz+RQQ39Fdx2dwrdT+ahNDVV4LSfZ/AR/AQQU7S7ZDV
b0OtMpsjghGNazNQXCzTRoPf7lVGfe8YVapuG6HHxXEJ1tAvPnVMgD4Oxm9FgIpb
jhxJy9Ot0rofv/6PD46wv8Jb0nM3qj+o91nKwc1xyKwwzMosMVKj28PWbjlzP+mx
mfrfR1ioQrod976VcMQ5
=c5AM
-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: https://lists.debian.org/5412f267.9080...@fastmail.fm



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread Bret Busby
On 12/09/2014, The Wanderer wande...@fastmail.fm wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 On 09/10/2014 at 04:00 AM, Bret Busby wrote:

 On 10/09/2014, B lazyvi...@gmx.com wrote:

 On Wed, 10 Sep 2014 03:30:40 +0800 Bret Busby
 bret.bu...@gmail.com wrote:

 Alright, then; it is doing token swapping - with 99% of 16GB
 memory usage, and, swapping only 4% of (about) 40GB swap
 capacity, you can't seriously tell me that the swapping is
 working as it should be.

 Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
 around 16-20GB), unless you perform operations that generates a
 lot of intermediary results).

 I had understood the rule to be that swap space size should be at
 least double the size of the RAM.

 The rule (more guideline) as I learned it is that swap capacity should
 be at *most* double the size of RAM.

 On systems with 8GB of RAM or more, I usually try to aim for about equal
 to the size of RAM. On systems with less, I go higher, to be
 sufficiently sure I won't OOM with normal use of the system.

 On my current system, with 24GB of RAM, the swap partition is (according
 to lvdisplay) 22.75GB.

 When the system was originally installed, the RAM was (I think)
 8GB.

 If the double the size of the RAM, is still applicable, then 40GB
 should be okay.

 But, the question is, does the system say Ooh that is too much
 for me - I can not cope - I will not venture out into that?

 Does Debian Linux have a swap size limit, beyond which, swapping
 is disabled, or, choked?

 No.

Okay.

So, whether or not the swap partition is bigger than needed, should
not influence the inability of the system, to use the swap partition,
and, thence, whether or not the swap partition is too big, has no
bearing on the problem.

Correct?

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8m9wzjdbf_mypftyvyhelenrx1a4hpyps4_gho-ybh...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread Curt
On 2014-09-12, Jonathan Dowland j...@debian.org wrote:

 Possibly because nobody has stepped up to write a new algorithm.


Seems more like simple multiplication than algorithmic calculation to me.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm1694k.2o1.cu...@einstein.electron.org



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/12/2014 at 12:25 PM, Bret Busby wrote:

 On 12/09/2014, The Wanderer wande...@fastmail.fm wrote:
 
 On 09/10/2014 at 04:00 AM, Bret Busby wrote:

 I had understood the rule to be that swap space size should be 
 at least double the size of the RAM.
 
 The rule (more guideline) as I learned it is that swap
 capacity should be at *most* double the size of RAM.
 
 On systems with 8GB of RAM or more, I usually try to aim for
 about equal to the size of RAM. On systems with less, I go
 higher, to be sufficiently sure I won't OOM with normal use of
 the system.
 
 On my current system, with 24GB of RAM, the swap partition is 
 (according to lvdisplay) 22.75GB.
 
 When the system was originally installed, the RAM was (I
 think) 8GB.
 
 If the double the size of the RAM, is still applicable, then 
 40GB should be okay.
 
 But, the question is, does the system say Ooh that is too
 much for me - I can not cope - I will not venture out into
 that?
 
 Does Debian Linux have a swap size limit, beyond which,
 swapping is disabled, or, choked?
 
 No.
 
 Okay.
 
 So, whether or not the swap partition is bigger than needed,
 should not influence the inability of the system, to use the swap 
 partition, and, thence, whether or not the swap partition is too
 big, has no bearing on the problem.
 
 Correct?

Sounds right to me.

Unless I'm missing a twist somewhere, the only effects of having a
too-big swap partition should be:

* Wasted disk space, which could otherwise be used for other purposes.

* Inordinately large likelihood that the system will at some point swap
important processes out, thereby slowing down normal system operation,
because it thinks it needs to keep some huge static data in active RAM.

It certainly shouldn't affect whether or not, or at what points, the
system actually makes use of the available swap. That logic is handled
entirely in the kernel AFAIK, although the last discussion I read on how
the kernel handles it was a long time ago - I think 2009 or maybe 2010.

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUEzU0AAoJEASpNY00KDJrVAcP/RMou81VJYc4HI7Xxnpk0boP
rVBI9ImAfTAb/19DFItNpIFwfu/EpeOrrVYQ1O9ChUbs3ZKCd4i8quTsByT2Ui8Q
Ef6ngpsOlTFGxPnzmSFRv1DL/YcozTKStPEe/3SUIfH5YJS8PHwedJAADxk61R3W
IVR9cd71510WMJlEFSjFbvZCW+K18EUtab6WLuXPCorj22BJ9zDPdyG6eMgwbRad
DYFYUEl1n+YC4DCK7IObXHzjIUqgFaTUODDtFKar3DbPtde30fxjol9OzJHLYY83
z+OIyxI08ykTDywt/BL6gGoibO6TLx3F9qR3j1fCIC+dz+PPUBmBcFtN2i4fljt6
fg2nGBh7oAtMBUnDKJ57OWC4V9YjlFNL68xmBUqQ4/rhHgE2jAv/PXaKC2zwvrBO
yphOkZZ8KajMifW/X/Z12oaZzg3Sn6h8HEUET6OsA2pwyoFKOsD1dCnXsky8mXfg
Po/CVuAVrC7E+SzGCGZvrw+OSeF1P2HUwoq5ZPe0nExUJeC8xAISlTlfLDQ/Dp8t
+2/jKefcn5yoiMoSgkoDXyM8huUX3YJByYnZZO27VBJn0TLtcZ9kG/mHcXRy6ZAI
bALkIQM+j2CByVZJOwcvT1S788liQpAnMwHvC0ChgFvwbFzWAB8HNEhI0Yb11gLh
jVrQ0KONIChvR7TA1NPq
=+gjR
-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: https://lists.debian.org/54133534.1010...@fastmail.fm



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-11 Thread lee
B lazyvi...@gmx.com writes:

 On Wed, 10 Sep 2014 15:34:42 +0800
 Bret Busby bret.bu...@gmail.com wrote:

 :~# sysctl -a|grep swap
 vm.swappiness = 90
 error: Invalid argument reading key fs.binfmt_misc.register
 error: permission denied on key 'net.ipv4.route.flush'
 error: permission denied on key 'net.ipv6.route.flush'

 You're system's messed up (how  when are the questions).

Why would you say that?


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/8761gu10hi@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-11 Thread lee
B lazyvi...@gmx.com writes:

 On Tue, 09 Sep 2014 22:21:07 +0200
 lee l...@yun.yagibdah.de wrote:

 To prevent an undesirable state of the system due to insufficient
 memory, you can use (a large amount of) swap space on a slow medium
 because that may give you a chance to do something before processes are
 being killed.

 Re-read what Don has explained…

He claims that the system will not go down when it runs out of memory.
That simply isn't true.

 Always use redundancy (like RAID) also for swap because you don't want
 your system to go down when a disk fails.

 From what I know of, the failing of a swap only kills apps that
 reside on it; and the 'like RAID' is already included into swaps
 (same priority of 2 or more swaps ~ RAID0).

You think the system won't go down when memory contents are corrupted or
unobtainable?  I suppose you might be lucky in some cases and not in
others.

Mounting swap partitions with the same priority does not provide
redundancy.


-- 
Knowledge is volatile and fluid.  Software is power.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/871tri100n@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-11 Thread Bzzzz
On Thu, 11 Sep 2014 20:32:08 +0200
lee l...@yun.yagibdah.de wrote:

 Mounting swap partitions with the same priority does not provide
 redundancy.

As RAID doesn't provide data integrity w/ regular RAM.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140911204919.55c4c4bf@msi.defcon1



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-11 Thread Bzzzz
On Thu, 11 Sep 2014 20:22:01 +0200
lee l...@yun.yagibdah.de wrote:

 Why would you say that?

root denied access to sysctl keys (that doesn't even exist on my
systems).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140911205116.6ceb580a@msi.defcon1



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-11 Thread Don Armstrong
On Thu, 11 Sep 2014, lee wrote:
 Go down can have various meanings. When you run a server and a
 server process (like an MTA or an IMAP or web server) is killed
 because the system runs out of memory, the server is effectively down.

This is why you use things like systemd or similar which are capable of
tracking processes and restarting them when they are killed or fail for
whatever reason.

 It may not be unstable (though I consider a system without an
 operational MTA as non-functional), yet you never know what process
 will be killed.

You're trading having a few processes killed off (often, the very
process which is consuming too much memory) with thrashing, and all
processes either being just slow (if you're lucky) or so slow that they
hit timeouts. If it's thrashing swap that badly, it might as well be
down.

Worse, when a machine is thrashing that badly, it's often impossible to
see what is happening with the machine at all, because even starting a
shell (or launching processes) requires swap. All you can do is use
magic sysrq and hope that it will give you enough information about what
is going on for you to kill something off.

 You could have ZFS with fuse, and what prevents such processes from
 being killed?

You can inform the OOM killer which processes should not be killed
fairly trivially. [Things like fuse, sshd, and similar should already be
informing the OOM killer that they should not be killed;[1] if not,
that's a bug.]

1: For ssh this is already the case.
-- 
Don Armstrong  http://www.donarmstrong.com

The major difference between a thing that might go wrong and a thing
that cannot possibly go wrong is that when a thing that cannot
possibly go wrong goes wrong it usually turns out to be impossible to
get at or repair.
 -- Douglas Adams  _Mostly Harmless_


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140911192827.gg32...@teltox.donarmstrong.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-11 Thread Reco
On Thu, 11 Sep 2014 20:51:16 +0200
B lazyvi...@gmx.com wrote:

 On Thu, 11 Sep 2014 20:22:01 +0200
 lee l...@yun.yagibdah.de wrote:
 
  Why would you say that?
 
 root denied access to sysctl keys (that doesn't even exist on my
 systems).

No, sysctl works the way it should:

$ ls -al /proc/sys/fs/binfmt_misc/register \ 
/proc/sys/net/ipv4/route/flush \
/proc/sys/net/ipv6/route/flush 
--w--- 1 root root 0 Sep  5 18:42 /proc/sys/fs/binfmt_misc/register
--w--- 1 root root 0 Sep 12 00:06 /proc/sys/net/ipv4/route/flush
--w--- 1 root root 0 Sep 12 00:06 /proc/sys/net/ipv6/route/flush

Those are write-only kernel tunables. Even root cannot read a tunable
that should flush a routing table, that's meaningless.

Interpreting those kernel tunables as sysctl keys is somewhat stupid,
of course, but:

a) Is not a bug per se.
b) Won't be fixed by reinstalling.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140912001042.4bdb569867747d76fb7ad...@gmail.com



Re: Query about .xsession-errors file

2014-09-10 Thread Bret Busby
On 10/09/2014, Chris Bannister cbannis...@slingshot.co.nz wrote:
 On Wed, Sep 10, 2014 at 12:36:42AM +0800, Bret Busby wrote:
 Before seeing the above message, after someone previously saying that
 deleting the file would not cause any (extra) problems, but would not
 free up disc space, I deleted the file, then ran Empty Trash Can,
 but, no disc space was freed, then, subsequently, I observed that a
 new file had been created;
 .xsession-errors.old
 with a size of about 33kB, and so I overwrote that, as described
 above, and that reduced its size to zero, but, I now do not have the
 original file with which to do that, and, I have about 750MB of
 missing disc space.

 I have had to move files off the HDD, to make it usable (it does not
 work with no free space, which is what the file did to it).

 Does a way exist, for me to reclaim the vanished disc space, without
 having to reboot the computer?

 So you are saying that with the .xsession-errors at zero size hasn't
 reclaimed the disk space?

 What does df -h show?


I think that the problem has now been disappeared.

A number of things have happened since (I think that it is since) I
last posted about this problem, which, I believe, render the df -h
output that would be produced now, inapplicable to the problem as it
was.

One of those things, is that, in further investigating the problem of
having run out of disc space, and the progressive consumption of the
disc space, in examining the files in my home directory, in order of
Date modified, including hidden files, I found that .opera/logs
contained 47647 files, and thence, took up about 5.5GB of disc space,
and, the directory seemed to contain only files of the name
crashtimestamp0..9.txt, which appeared to be redundant (some being
from 2012), so I removed all of the files in that directory, then,
emptied the trash, and, that all took a while (an hour or so, I
think), and it freed up 5.5GB of space in my /home partition.

Another thing that happened, is in relation to the xsyetm-errors file, itself.

I think that I had mentioned, previously, that, upon my deleting that
file, whilst the space was not freed, a new file appeared;
xsystem-errors.old, which got up to about 33kB, and then it went back
down to zero. That file was described, in the Type column of File
Browser, as a backup file.

So, I thought, in the context of what had been said, about open
applications that had been using the xsystem-errors file, not
releasing it, after it had been deleted, so it still existed, but was
invisible to the user, I simply renamed the xsystem-errors.old file,
to xsystem-errors (deleted the file extension .old), to find whether
that would fix the problem.

After a few hours sleep, when I checked the system, during daylight
hours, the free space now shows as 6.1GB.

So, I believe (unttil and unless, advised otherwise) that the
deleteing the file (which did not free up the disc space, in itself),
and then, renaming the xsystem-errors.old file, to xsystem-errors,
appears to have disappeared the problem, which, if I had known
earlier, could perhaps have been accomplished by the command 
xsystem-errors, which, I assume, would have had the same effect.

One of the things that could have helped, and, I have raised the
suggestion on the LTS list (I have no idea, whether so doing, was
appropriate), regarding the .opera/logs directory, is for the File
Browser, in the Size column, to include the space used by each of the
directories listed, rather than just the number of items contained, in
each of the directories listed, in the Size column.

I raised the suggestion on that list, as the File Browser is part (I
believe) of GNOME2 (which has been abandoned by the GNOME people)
running on Debian 6.

I have no idea whether anyone on that list, is maintaining GNOME2, or,
especially, the File Browser of GNOME2, and thence, whether it could
be implemented for this operating system, but, I believe that it is
something that could help with system administration, expecially, when
disc space is found to progressively be consumed without knowing why
it is progressively being consumed.


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8OTqUsT5UHE4zafk7jfKNnZrcstv5=annywpvnfuj4...@mail.gmail.com



Re: Query about .xsession-errors file

2014-09-10 Thread Bret Busby
On 10/09/2014, david...@ling.ohio-state.edu
david...@ling.ohio-state.edu wrote:
 On Tue, 9 Sep 2014, Jonathan Dowland wrote:

 On Wed, Sep 10, 2014 at 01:54:08AM +0800, Bret Busby wrote:
 The file has (kind of) gone, now (it is no longer accessible, but,
 appears to still exist, in the ether of the unknown; still taking up
 disc space, whilst, in theory, non-existent),

 A file continues to use up disk space until all open file handles are
 closed.
 Quite likely Xorg still has the file open, even though you've removed all
 the
 hard links (paths) to it on the filesystem. If you still have the system
 up in
 the same state, you might see it in /proc/$(pidof Xorg)/fd (or it might
 be
 another process other than Xorg, or I might be wrong entirely)

 if you have lsof installed, you can find out what processes are still
 using the deleted file quite easily:

   $ lsof |grep '\.xsession-errors'

 might produce lines like

   xterm 2237 busbyenator 1w REG 8,1 0 359981
 /home/busbyenator/.xsession-errors (deleted)
   xterm 2237 busbyenator 2w REG 8,1 0 359981
 /home/busbyenator/.xsession-errors (deleted)

 the second field is the pid.  the fourth field is the file descriptor
 (in this case suffixed with 'w', indicating the process has write
 access).

 the lines above indicate that the xterm process with pid 2237 is
 writing its standard output (fd 1) and standard error (fd 2) to a file
 formerly known to the filesystem as .xsession-errors, and which can
 still be accessed at /proc/2237/fd/1 (and at /proc/2237/fd/2).

 so, in the case above,

   $ cat /proc/2237/fd/1

 will output the contents of the file formerly known to the filesystem
 as .xsession-errors, and

   $ cp /proc/2237/fd/1 preciousss_xsession-errors

 saves them for posterity.

 please note, obviously, that pid 2237 is just an example.

 -wes




What I get now, is


:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)


Running ls -l, gives


:~$ ls -l .xsession-errors
-rw--- 1 bret bret 0 Sep 10 00:23 .xsession-errors


So, I assume that, for the present, all is well with it, as it
(amongst other things) has read and write access, and, that nothing
more should be done, at this time, about the particular file, unless I
am advised otherwise.

I note that, with that file that is being accessed by Nautilus,
assuming that the number 1169162 , is the size of the file, I have
tried, but, apparently, can not reduce that to zero, as that number
does not change, with my attempts.


:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)
bret@bret-dd-workstation:~$ cp .xsession-errors
.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
bret@bret-dd-workstation:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)
bret@bret-dd-workstation:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)
bret@bret-dd-workstation:~$ 
.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
bret@bret-dd-workstation:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)
bret@bret-dd-workstation:~$ 
.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX (deleted)
bash: syntax error near unexpected token `('


However, in having closed all windows in the File Browser (as I had
assumed that that was the Nautilus, that was accessing the file,
before the above commands, which appears to have not ceased the
accessing of the file), and, then, after running the above commands,
opening the File Browser, and, examining the file information, it
shows the filesize to be zero, and, ls -l gives


:~$ ls -l .local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
-rw--- 1 bret bret 0 Sep 10 15:09
.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX


so, I do not know what that number 1169162, shown in the lsof output,
represents.

But, apart from what that number represents, as I have said, the
problem appears to have been disappeared.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? 

Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bret Busby
On 10/09/2014, B lazyvi...@gmx.com wrote:
 On Wed, 10 Sep 2014 03:30:40 +0800
 Bret Busby bret.bu...@gmail.com wrote:

 Alright, then; it is doing token swapping - with 99% of 16GB memory
 usage, and, swapping only 4% of (about) 40GB swap capacity, you can't
 seriously tell me that the swapping is working as it should be.

 Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
 around 16-20GB), unless you perform operations that generates
 a lot of intermediary results).

 As I already said, 95% of JS scripts are written with feet;
 and it is not unusual to find either infinite loops or
 anything from the whole panel of programming malpractices
 into them…

 What is this command returning? sysctl -a|grep swap



:~# sysctl -a|grep swap
vm.swappiness = 90
error: Invalid argument reading key fs.binfmt_misc.register
error: permission denied on key 'net.ipv4.route.flush'
error: permission denied on key 'net.ipv6.route.flush'




-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8owi-0kvaikcxyzkyvwh4tpdwch-dqnc+byvicfkh+...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bret Busby
On 10/09/2014, B lazyvi...@gmx.com wrote:
 On Wed, 10 Sep 2014 03:30:40 +0800
 Bret Busby bret.bu...@gmail.com wrote:

 Alright, then; it is doing token swapping - with 99% of 16GB memory
 usage, and, swapping only 4% of (about) 40GB swap capacity, you can't
 seriously tell me that the swapping is working as it should be.

 Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
 around 16-20GB), unless you perform operations that generates
 a lot of intermediary results).


I had understood the rule to be that swap space size should be at
least double the size of the RAM.

When the system was originally installed, the RAM was (I think) 8GB.

If the double the size of the RAM, is still applicable, then 40GB
should be okay.

But, the question is, does the system say Ooh that is too much for me
- I can not cope - I will not venture out into that?

Does Debian Linux have a swap size limit, beyond which, swapping is
disabled, or, choked?

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8oav1svgwiz2+-8fzeamyqihrofuuiscjq2colpl0d...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Curt
On 2014-09-09, Don Armstrong d...@debian.org wrote:

 Generally speaking, you want enough swap so that infrequently used
 memory can be offloaded to disk, but not so much swap that your computer
 stops being responsive when you begin to run out of free memory.


Is there a basic formula you could share with the studio audience?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm101bc.22b.cu...@einstein.electron.org



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bret Busby
On 10/09/2014, Steve Litt sl...@troubleshooters.com wrote:
 On Tue, 9 Sep 2014 21:51:35 +0200
 B lazyvi...@gmx.com wrote:

 On Wed, 10 Sep 2014 03:30:40 +0800
 Bret Busby bret.bu...@gmail.com wrote:

  Alright, then; it is doing token swapping - with 99% of 16GB memory
  usage, and, swapping only 4% of (about) 40GB swap capacity, you
  can't seriously tell me that the swapping is working as it should
  be.

 Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
 around 16-20GB), unless you perform operations that generates
 a lot of intermediary results).

 The reason I agree with you is that if you need to swap anywhere near
 40GB of swap, your computer will be crawling to the point where you
 might as well abort the guilty program (if you can navigate to do so),
 or reboot the compute.

 That said, I just found out my swap partition is 44GB for a 16GB
 semiconductor RAM.


So, does swapping work on your system?

Does your RAM usage go above 50%, without swapping, and, above 90%,
with less than 5% of the swap capacity being used?

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8mdkeohzrxu2hfatfj4hkr_qum5nsjegtwxnqgeh4m...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bret Busby
On 10/09/2014, Steve Litt sl...@troubleshooters.com wrote:
 On Wed, 10 Sep 2014 02:21:14 +0800
 Bret Busby bret.bu...@gmail.com wrote:


 
 :~$ vmstat -S M
 procs ---memory-- ---swap-- -io -system--
 cpu r  b   swpd   free   buff  cache   si   sobibo
 in   cs us sy id wa 15  0   1725 88 85   134801
 71121 13  1 86  0 


 
 :~$ vmstat -S M -a
 procs ---memory-- ---swap-- -io -system--
 cpu r  b   swpd   free  inact active   si   sobibo
 in   cs us sy id wa 12  0   1725 86   2194  1323301
 71121 13  1 86  0 

 H,

 Run htop, press F6 for sortby, sort by mem, and see what you get. LOL,
 I got about 20 iceweasels each taking 2.9%.


I did that, got about 10 instances of opera accessing something that
had been closed, each instance using about 5GB (?) or, listed as using
that much, and, so, I killed each of those processes, which killed
opera, so I reloaded opera, and now it does not show as accessing
those URL's, and, with 9 opeera windows open, it shows as 8 instances
of Opera, each using about 4GB of virtual memory.

As Opera is javascript enabled, I assume that it is that.

I also see listed, eleven instances of gnome mplayer, each using about
427MB, and, no instances of mplayer, are running (well, they think
they are running, obviously, but, none are supposed to be running,
and, no instances show in the taskbar).

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8pcmok0e7upgcjn7xkof1bbmjkxiqnxdhrs2fbl1uh...@mail.gmail.com



Re: Query about .xsession-errors file

2014-09-10 Thread davidson

On Wed, 10 Sep 2014, Bret Busby wrote:


On 10/09/2014, david...@ling.ohio-state.edu wrote:

On Tue, 9 Sep 2014, Jonathan Dowland wrote:


On Wed, Sep 10, 2014 at 01:54:08AM +0800, Bret Busby wrote:

The file has (kind of) gone, now (it is no longer accessible, but,
appears to still exist, in the ether of the unknown; still taking up
disc space, whilst, in theory, non-existent),


A file continues to use up disk space until all open file handles are
closed.
Quite likely Xorg still has the file open, even though you've removed all
the
hard links (paths) to it on the filesystem. If you still have the system
up in
the same state, you might see it in /proc/$(pidof Xorg)/fd (or it might
be
another process other than Xorg, or I might be wrong entirely)


if you have lsof installed, you can find out what processes are still
using the deleted file quite easily:

  $ lsof |grep '\.xsession-errors'

might produce lines like

  xterm 2237 busbyenator 1w REG 8,1 0 359981
/home/busbyenator/.xsession-errors (deleted)
  xterm 2237 busbyenator 2w REG 8,1 0 359981
/home/busbyenator/.xsession-errors (deleted)

the second field is the pid.  the fourth field is the file descriptor
(in this case suffixed with 'w', indicating the process has write
access).

the lines above indicate that the xterm process with pid 2237 is
writing its standard output (fd 1) and standard error (fd 2) to a file
formerly known to the filesystem as .xsession-errors, and which can
still be accessed at /proc/2237/fd/1 (and at /proc/2237/fd/2).

so, in the case above,

  $ cat /proc/2237/fd/1

will output the contents of the file formerly known to the filesystem
as .xsession-errors, and

  $ cp /proc/2237/fd/1 preciousss_xsession-errors

saves them for posterity.

please note, obviously, that pid 2237 is just an example.

-wes



What I get now, is


:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)



Looks like your 750M error log is truly gone, then.  The file listed
above is probably some kind of meta-info your file manager
wants/wanted to keep track of.  I wouldn't mess with it.

Just fyi, here's some interpretation of your shell commands:


Running ls -l, gives


:~$ ls -l .xsession-errors
-rw--- 1 bret bret 0 Sep 10 00:23 .xsession-errors



Okay, an empty file.  No relation to the lsof output.


So, I assume that, for the present, all is well with it, as it
(amongst other things) has read and write access, and, that nothing
more should be done, at this time, about the particular file, unless I
am advised otherwise.


Sure, I don't see anything to be done at this point.

Next time though, as Chris suggested, it might be interesting to read
the error messages.


I note that, with that file that is being accessed by Nautilus,
assuming that the number 1169162 , is the size of the file,


Yes, that is the size of the file *formerly* referred to as

 /home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX

and *still* (at least at this point) referred to as

 /proc/2366/fd/54


I have tried, but, apparently, can not reduce that to zero, as that
number does not change, with my attempts.


Well, I believe you *could*, but I wouldn't.


:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)
bret@bret-dd-workstation:~$ cp .xsession-errors
.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX


Erm, fyi, the cp command immediately above just created a new file.
An empty one.


bret@bret-dd-workstation:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)


Nothing surprising here.  The file used by nautilus, *formerly* linked
to by the name .xsession-errors.trashinfo.H87KLX, was not affected by
your cp command.

had you wanted to refer to that file, currently opened by nautilus for
reading and writing, you would have had to refer to it by
'/proc/2366/fd/54', rather than its former name.

But, like I said, I wouldn't have messed with it anyway.


bret@bret-dd-workstation:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)
bret@bret-dd-workstation:~$ 
.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX


Nothing happens.

The command immediately above just truncated a file which was already
empty.


bret@bret-dd-workstation:~$ lsof |grep '\.xsession-errors'
nautilus   2366bret   54u  REG8,8
01169162 
/home/bret/.local/share/Trash/info/.xsession-errors.trashinfo.H87KLX
(deleted)


Again, no surprises.


bret@bret-dd-workstation:~$ 

Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Steve Litt
On Wed, 10 Sep 2014 16:00:18 +0800
Bret Busby bret.bu...@gmail.com wrote:

 On 10/09/2014, B lazyvi...@gmx.com wrote:
  On Wed, 10 Sep 2014 03:30:40 +0800
  Bret Busby bret.bu...@gmail.com wrote:
 
  Alright, then; it is doing token swapping - with 99% of 16GB memory
  usage, and, swapping only 4% of (about) 40GB swap capacity, you
  can't seriously tell me that the swapping is working as it should
  be.
 
  Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
  around 16-20GB), unless you perform operations that generates
  a lot of intermediary results).
 
 
 I had understood the rule to be that swap space size should be at
 least double the size of the RAM.

I think that made a lot more sense back in the days when 128MB of RAM
was standard. If you have 16GB of RAM, and you're not using KDE nor a
lot of VMs, are you ever going to really need all that RAM?

As far as having the virtual memory provide a time window in which you
can either kill the offending application or shut down in a half way
decent manner, I'd think that given the slowness of swapping, 8GB would
be enough for that purpose.

Of course, all this is hypocritical for me to say, because I have 16GB
of semiconductor RAM, and a 44GB swap partition :-)

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140910103854.37f18...@mydesq2.domain.cxm



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread John Hasler
Brett writes:
 I had understood the rule to be that swap space size should be at
 least double the size of the RAM.

That has been obsolete for at least a decade and may never have applied
to Linux.  IIRC it had to do with specific characteristics of BSD
kernels.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87lhprpl74@thumper.dhh.gt.org



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Steve Litt
On Wed, 10 Sep 2014 16:04:46 +0800
Bret Busby bret.bu...@gmail.com wrote:

 On 10/09/2014, Steve Litt sl...@troubleshooters.com wrote:
  On Tue, 9 Sep 2014 21:51:35 +0200
  B lazyvi...@gmx.com wrote:
 
  On Wed, 10 Sep 2014 03:30:40 +0800
  Bret Busby bret.bu...@gmail.com wrote:
 
   Alright, then; it is doing token swapping - with 99% of 16GB
   memory usage, and, swapping only 4% of (about) 40GB swap
   capacity, you can't seriously tell me that the swapping is
   working as it should be.
 
  Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
  around 16-20GB), unless you perform operations that generates
  a lot of intermediary results).
 
  The reason I agree with you is that if you need to swap anywhere
  near 40GB of swap, your computer will be crawling to the point
  where you might as well abort the guilty program (if you can
  navigate to do so), or reboot the compute.
 
  That said, I just found out my swap partition is 44GB for a 16GB
  semiconductor RAM.
 
 
 So, does swapping work on your system?
 
 Does your RAM usage go above 50%, without swapping, and, above 90%,
 with less than 5% of the swap capacity being used?

Hi Bret,

I can't answer your question in English, because I've never really
understood Linux memory usage. There's an algorithm to figure out how
much RAM to use in order to cache disk accesses, and another algorithm
to figure out how much swap partition to use to substitute for RAM, and
it just twirls my head.

So the best thing I can do is show the results of a couple commands:

slitt@mydesq2:~$ vmstat -SM
procs ---memory-- ---swap-- -io 
 r  b   swpd   free   buff  cache   si   sobibo 
 0  0  0   7113682   5172001420 
slitt@mydesq2:~$ free -h
   total   used   free  shared buffers  cached
Mem: 14G   8.0G   6.9G  0B682M5.1G
-/+ buffers/cache: 2.2G12G
Swap:44G 0B44G
slitt@mydesq2:~$ ps avx k -%mem --cols 70 | less
  PID TTY  STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
 5206 tty1 Sl85:2919990 1469065 537184  3.4 iceweasel
 3684 tty7 Ss+  164:46 53 0 292516 185980  1.1 /usr/bin/X 
10843 tty1 Sl 0:24  2  3208 620275 152020  0.9 /scratch/ex
15930 tty1 SLl  194:54  175 570556 100924  0.6 /usr/lib/ic
14880 tty1 Sl 5:48113   606 561065 68632  0.4 bluefish
 2384 ?Ssl0:13  3 0 172692 37200  0.2 /sbin/zfs-fu
10303 tty1 SL12:00  0  4001 329142 36720  0.2 /usr/bin/mpl
30977 tty1 Sl 5:39  0  2392 246343 31864  0.2 smplayer
12107 tty1 Sl 3:17 33   627 374508 28320  0.1 xchat
 3733 tty1 Sl 0:00 45  2392 230091 26132  0.1 /usr/bin/pyt
 3731 tty1 S  0:00 44  2392 183983 22568  0.1 /usr/bin/pyt
12124 tty1 Sl 0:06 15   169 436406 19080  0.1 xfterm
10416 ?Ss 0:00  3  2255 449748 18680  0.1 gvim
20935 pts/14   SL+3:42  2  4001 358522 18392  0.1 mplayer -loo
 3717 tty1 S  0:23 66   333 156834 14088  0.0 /usr/bin/ope
22826 tty1 Sl 0:01  049 300502 12172  0.0 lxt
 3734 tty1 Sl 0:00 2812 369919 11604  0.0 /usr/lib/x86
 3246 ?Sl 0:00 96 0 362952 11032  0.0 /usr/lib/x86

Bret, I just remembered, I use the xxxterm browser a lot, and sometimes
when I use it a lot, all of a sudden the RAM consumed by X goes up to
about 99% and the system slows to a crawl, and I have to start killing
xxxterms. As a matter of fact, that's why I'm starting to use more
iceweasel and less xxxterm. xxxterm is a touch typist's dream browser,
but it gets out of control sometimes.

By the way, I'm using Openbox for a windowmanager/desktop. The commands
I gave you represent a typical usage for me, except I have less than
normal xxxterms running.

Anyway, I hope this helps.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140910110735.2e47e...@mydesq2.domain.cxm



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Jochen Spieker
Steve Litt:
 On Wed, 10 Sep 2014 16:00:18 +0800
 
 I had understood the rule to be that swap space size should be at
 least double the size of the RAM.
 
 I think that made a lot more sense back in the days when 128MB of RAM
 was standard. If you have 16GB of RAM, and you're not using KDE nor a
 lot of VMs, are you ever going to really need all that RAM?

ACK. Until a few months ago I ran my laptop with 4GB RAM and no swap at
all. I didn't have any problems, although I have to admit that I mostly
run a slim window manager (Awesome WM), Iceweasel and a few terminals.
Sometimes I browse/edit photos, but not very heavily.

J.
-- 
Tony Blair is a hypnotised self-seeking scarecrow just like all the
rest.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bzzzz
On Wed, 10 Sep 2014 10:08:31 -0500
John Hasler jhas...@newsguy.com wrote:

 That has been obsolete for at least a decade and may never have
 applied to Linux.  IIRC it had to do with specific characteristics
 of BSD kernels.

IIRC it was 1.5xRAM.

Today, the only obligation is to have as swap as ram
if you plan to hibernate; otherwise, swap isn't even
mandatory.

-- 
Seya There's a guy here asking me if I'm bi, how shall I take it?
Michel From behind…


signature.asc
Description: PGP signature


Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Curt
On 2014-09-10, John Hasler jhas...@newsguy.com wrote:

 That has been obsolete for at least a decade and may never have applied
 to Linux.  IIRC it had to do with specific characteristics of BSD
 kernels.

Then why do the (net)installer(s) apply an obsolete principle when you
accept a/the default partioning scheme(s) (well, at least the Squeeze
netinstaller I used way back when did so).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm111ak.22b.cu...@einstein.electron.org



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Martin Read

On 10/09/14 18:07, Curt wrote:

Then why do the (net)installer(s) apply an obsolete principle when you
accept a/the default partioning scheme(s) (well, at least the Squeeze
netinstaller I used way back when did so).


My first guess would be because it's not so bad an idea that anyone in 
a position to change it cares about changing it.



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

Archive: https://lists.debian.org/54109bb1.6080...@zen.co.uk



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Ric Moore

On 09/10/2014 03:34 AM, Bret Busby wrote:

On 10/09/2014, B lazyvi...@gmx.com wrote:

On Wed, 10 Sep 2014 03:30:40 +0800
Bret Busby bret.bu...@gmail.com wrote:


Alright, then; it is doing token swapping - with 99% of 16GB memory
usage, and, swapping only 4% of (about) 40GB swap capacity, you can't
seriously tell me that the swapping is working as it should be.


Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
around 16-20GB), unless you perform operations that generates
a lot of intermediary results).

As I already said, 95% of JS scripts are written with feet;
and it is not unusual to find either infinite loops or
anything from the whole panel of programming malpractices
into them…

What is this command returning? sysctl -a|grep swap




:~# sysctl -a|grep swap
vm.swappiness = 90
error: Invalid argument reading key fs.binfmt_misc.register
error: permission denied on key 'net.ipv4.route.flush'
error: permission denied on key 'net.ipv6.route.flush'


Previously I had upgraded from Wheezy to Jessie, It worked fine for 
awhile until I messed with tmpfs. Then things like audio and video were 
stuttering. Some programs were running with higher than normal cpu 
usage. I backed up, and re-installed from DVD clean. No more problems. Ric




--
My father, Victor Moore (Vic) used to say:
There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome. R.I.P. Dad.
Linux user# 44256


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

Archive: https://lists.debian.org/54109d3a.3020...@gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Lisi Reisz
On Wednesday 10 September 2014 19:42:57 Martin Read wrote:
 On 10/09/14 18:07, Curt wrote:
  Then why do the (net)installer(s) apply an obsolete principle when you
  accept a/the default partioning scheme(s) (well, at least the Squeeze
  netinstaller I used way back when did so).

 My first guess would be because it's not so bad an idea that anyone in
 a position to change it cares about changing it.

Anyway, that was a long time ago.  What about Jessie?

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201409101951.03848.lisi.re...@gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bzzzz
On Wed, 10 Sep 2014 15:34:42 +0800
Bret Busby bret.bu...@gmail.com wrote:

 :~# sysctl -a|grep swap
 vm.swappiness = 90
 error: Invalid argument reading key fs.binfmt_misc.register
 error: permission denied on key 'net.ipv4.route.flush'
 error: permission denied on key 'net.ipv6.route.flush'

You're system's messed up (how  when are the questions).

I'm afraid you'll have to follow Ric's suggestion (reinstall),
but before, I would boot on a memtest86+ image and let it
thoroughly test the RAM (@ least 3 complete cycles).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140910205843.7068b533@msi.defcon1



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Ric Moore

On 09/10/2014 02:51 PM, Lisi Reisz wrote:

On Wednesday 10 September 2014 19:42:57 Martin Read wrote:

On 10/09/14 18:07, Curt wrote:

Then why do the (net)installer(s) apply an obsolete principle when you
accept a/the default partioning scheme(s) (well, at least the Squeeze
netinstaller I used way back when did so).


My first guess would be because it's not so bad an idea that anyone in
a position to change it cares about changing it.


Anyway, that was a long time ago.  What about Jessie?


I just did a fresh install of Jessie, and while my existing swap 
partition was noted and initialized during install, I don't see if being 
mounted/used with 16 gig of ram. Ric



--
My father, Victor Moore (Vic) used to say:
There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome. R.I.P. Dad.
Linux user# 44256


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

Archive: https://lists.debian.org/5410a0e1.1000...@gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Bret Busby
On 10/09/2014, Steve Litt sl...@troubleshooters.com wrote:
 On Wed, 10 Sep 2014 16:04:46 +0800
 Bret Busby bret.bu...@gmail.com wrote:

 On 10/09/2014, Steve Litt sl...@troubleshooters.com wrote:
  On Tue, 9 Sep 2014 21:51:35 +0200
  B lazyvi...@gmx.com wrote:
 
  On Wed, 10 Sep 2014 03:30:40 +0800
  Bret Busby bret.bu...@gmail.com wrote:
 
   Alright, then; it is doing token swapping - with 99% of 16GB
   memory usage, and, swapping only 4% of (about) 40GB swap
   capacity, you can't seriously tell me that the swapping is
   working as it should be.
 
  Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
  around 16-20GB), unless you perform operations that generates
  a lot of intermediary results).
 
  The reason I agree with you is that if you need to swap anywhere
  near 40GB of swap, your computer will be crawling to the point
  where you might as well abort the guilty program (if you can
  navigate to do so), or reboot the compute.
 
  That said, I just found out my swap partition is 44GB for a 16GB
  semiconductor RAM.
 

 So, does swapping work on your system?

 Does your RAM usage go above 50%, without swapping, and, above 90%,
 with less than 5% of the swap capacity being used?

 Hi Bret,

 I can't answer your question in English, because I've never really
 understood Linux memory usage. There's an algorithm to figure out how
 much RAM to use in order to cache disk accesses, and another algorithm
 to figure out how much swap partition to use to substitute for RAM, and
 it just twirls my head.

 So the best thing I can do is show the results of a couple commands:

 slitt@mydesq2:~$ vmstat -SM
 procs ---memory-- ---swap-- -io
  r  b   swpd   free   buff  cache   si   sobibo
  0  0  0   7113682   5172001420
 slitt@mydesq2:~$ free -h
total   used   free  shared buffers  cached
 Mem: 14G   8.0G   6.9G  0B682M5.1G
 -/+ buffers/cache: 2.2G12G
 Swap:44G 0B44G

Hello.

I believe that, whilst you did not state the answer, the answer is
shown, in part, above.

With my limited understanding, what I deduce from the output of the
free -h command above, is that your system is shown as having 14GB (?)
of RAM, and, at the time of the command being run, 8GB of that (almost
60%, for 14GB, or, half, for 16GB) is being used, and, at that rate of
usage of the RAM, no swapping is occurring.

What output do you get for the free -h command, when =90% of your RAM
is being used?

And, what is your swappiness setting?

I am putting these questions to youu, as you seem to have the same (or
similar) RAM and swap capacities, as my desktop system, that is this
system that I am using, in which I have the problem with the lack of
swapping.

At present, I have


bret@bret-dd-workstation:~$ free -h
free: invalid option -- 'h'
usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V]
  -b,-k,-m,-g show output in bytes, KB, MB, or GB
  -l show detailed low and high memory statistics
  -o use old format (no -/+buffers/cache line)
  -t display total for RAM + swap
  -s update every [delay] seconds
  -c update [count] times
  -V display version information and exit
bret@bret-dd-workstation:~$ free -g
 total   used   free sharedbuffers cached
Mem:15 14  0  0  0  1
-/+ buffers/cache: 12  2
Swap:   40  1 39


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8p7hsftbc1ya_awo7r_cfydptkbz4hidn9b7rgzt51...@mail.gmail.com



Re: Query about .xsession-errors file

2014-09-10 Thread lee
Bret Busby bret.bu...@gmail.com writes:

 I note that, with that file that is being accessed by Nautilus,
 assuming that the number 1169162 , is the size of the file, I have
 tried, but, apparently, can not reduce that to zero, as that number
 does not change, with my attempts.

On a side note:  You could try nemo instead of nautilus.


PS: You could try seamonkey instead of opera.  It behaves remarkably
well.


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/878ulr2j0u@yun.yagibdah.de



Re: Query about .xsession-errors file

2014-09-10 Thread lee
Bret Busby bret.bu...@gmail.com writes:

 So, I believe (unttil and unless, advised otherwise) that the
 deleteing the file (which did not free up the disc space, in itself),
 and then, renaming the xsystem-errors.old file, to xsystem-errors,
 appears to have disappeared the problem, which, if I had known
 earlier, could perhaps have been accomplished by the command 
 xsystem-errors, which, I assume, would have had the same effect.

Hm, I would assume that this might be a (temporary) workaround and not a
fix for the problem --- the problem being that a rather large error log
is being created by some process(es).

Next time you start the process(es), they'll probably re-create the log
file, or another one.  I'd recommend that you keep your eyes on it and
try to actually fix the problem.  Fixing it might involve filing a bug
report along the lines of some process(es) writing to a log file in such
a way that it grows indefinitely.

In case you discover an endlessly growing log file again, you could
change ownership to root and make it writable for root only in order to
see whether some process complains or crashes.


Generally, when you run out of disk space, you should get error messages
like no space left on device, and the process that tries to create a
file would terminate eventually.  However, I've seen running USB disks
out of disk space which in turn became un-un-mountable, and the system
(Ubuntu LTS) would even hang on reboot and had to be switched off (which
IMO is a bug somewhere).


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/874mwf2i8z@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread lee
Don Armstrong d...@debian.org writes:

 On Tue, 09 Sep 2014, lee wrote:
 Why would 40GB be too much?

 It's probably too much, unless you have processes which allocate lots of
 memory and then use it very infrequently or you have incredibly fast
 disks.

It works fine, only can slow the system down very much --- which is the
purpose.  It doesn't matter much when a bit of the swap space is used in
terms of performance, that's normal operation.  But when some
process(es) suddenly require lots of memory, I *really* prefer it
becoming slow over it going down or becoming unstable.

When you have incredibly fast disks, you want to have only a
relatively small part of your swap on those (like 8GB, for example)
because the swap space on them can also fill up incredibly fast.  I
would put the remaining 56GB on slow disks.  (You can set priorities for
swap partitions.  First use the fast ones, then the slow ones.  That
does work fine.)

 I have 8/64 so I can use swapping to slow down the downfall of the
 system.

 The system won't go down unless you've disabled the OOM killer or
 discovered a kernel bug. [Granted, processes will be killed off, but
 that's to be expected.]

Yes, and the killing can result in the system becoming unstable, or it
might go down.

Go down can have various meanings.  When you run a server and a server
process (like an MTA or an IMAP or web server) is killed because the
system runs out of memory, the server is effectively down.  It may not
be unstable (though I consider a system without an operational MTA as
non-functional), yet you never know what process will be killed.  You
could have ZFS with fuse, and what prevents such processes from being
killed?  I have seen it happen, long ago, that my system became unstable
because it ran out of memory.

 Generally speaking, you want enough swap so that infrequently used
 memory can be offloaded to disk, but not so much swap that your
 computer stops being responsive when you begin to run out of free
 memory.

It doesn't work that way.  When your system just begins to run out of
memory, it will swap out a bit as needed, no matter how much swap space
you have, unless you have none.  What is swapped out at that point may
be infrequently used data.

The system doesn't swap out more than otherwise when you have more swap
space (see below).  At some point, you either still have enough swap, or
the system may go down.  With 64GB of swap (see below), it's less likely
to run out, and before it does, it becomes so slow that I will notice
(when I'm using it) and have a chance to do something about it before it
does run out.  When I'm not using it, the 64GB may yet be enough for the
system not to run out of memory.

Doing something may take a while because the system will be slow when it
swaps out lots of data.  It's nice to have a cushion because it may
(will) continue to fill the swap space while I'm trying to do something.
(I start to notice when something between 7 and 12GB are actually used
in total.  My disks are rather slow.)


[~] uptime ; free -m
 01:30:55 up 5 days,  6:00,  3 users,  load average: 0.04, 0.04, 0.09
 total   used   free sharedbuffers cached
Mem:  7982   5303   2679  0 82   3790
-/+ buffers/cache:   1430   6552
Swap:65535 67  65468


This is from a VM, and you can see how it kinda gets tight already:


root@gulltop:~# uptime ; free
 01:31:24 up 4 days,  4:38,  2 users,  load average: 0.06, 0.03, 0.05
 total   used   free sharedbuffers cached
Mem:   20505962003600  46996  0  60084 855408
-/+ buffers/cache:1088108 962488
Swap:   975860   2604 973256
root@gulltop:~# 


The system and all the VMs are on rather small disks, or they would have
more swap (the server should have more RAM, too).  Those are 2x15k RPM
SAS disks in a hardware RAID-1, which is fast and thus does fill fast.
The web browser (seamonkey) running on this VM (display is on my
desktop) just eats ridiculous amounts of memory.  Yet it takes only 1/2
second to start :))

Open too many tabs, and the VM --- or least the web browser --- will go
down --- *before you notice*.


-- 
Knowledge is volatile and fluid.  Software is power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87zje711v0@yun.yagibdah.de



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-10 Thread Joel Rees
2014/09/11 0:31 B lazyvi...@gmx.com:

 On Wed, 10 Sep 2014 10:08:31 -0500
 John Hasler jhas...@newsguy.com wrote:

  That has been obsolete for at least a decade and may never have
  applied to Linux.  IIRC it had to do with specific characteristics
  of BSD kernels.

 IIRC it was 1.5xRAM.

 Today, the only obligation is to have as swap as ram
 if you plan to hibernate; otherwise, swap isn't even
 mandatory.

The rule was, big enough for a memory dump if you have to dump the whole of
RAM, but not so big that finding a swapped out page takes a whole time
slice.

And, yes, fifteen years ago it still applied to Linux.

There are a variety of swap strategies. MSWindows tends to keep some of the
working set swapped out, aiming to eliminate the hysteresis when going from
all-in-RAM to using swap. (Or some such attempt to help the user not notice
tha real hardware and software have limits.) Mac OS swaps to files,
assuming it can keep enough of the file system defragged to be able to
allocate page file blocks without fragmentation, and it actually sort-of
works. BTW, on a Mac with less than 2G of RAM, swap partitions 3 to 5 times
RAM size made sense on systems being used for heavy video and audio work.

Swapping in Linux tends to depend on the distro, and debian, as I
understand it, has (until this last year or so) had a variety of tools to
change and tune the swapping strategy. The default has, however, been the
simple sgrategy under which, until we started seeing common RAM sizes over
2G, gave the old rule meaning. It's still not really wrong, although we are
seeing RAM sizes that make hibernating not nearly as simple as just taking
a snapshot of RAM.

Anyway, I'm inclined to lean towards the idea that the problems that
started this thread are derived from hardware issues. Maybe.

Joel Rees

Computer memory is just fancy paper,
CPUs just fancy pens.
All is a stream of text
flowing from the past into the future.


Re: Query about .xsession-errors file

2014-09-09 Thread Reco
 Hi.

On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
 Does some uttility or command (with switches) exist, that can purge
 the file of redundant (for example, entries over a week old, or,
 entries from before the current boot session) entries, so as to reduce
 the file size to content that is necessary to retain for debugging?

xsession-errors should be re-created when a new session starts (see
/etc/X11/Xsession for the details). Long-running X session can produce
annoyingly large .xsession-errors indeed.
The solution to this problem comes in the form of logrotate:

$ cat /etc/logrotate.d/xsession-errors 
/home/reco/.xsession-errors {
size 1k
rotate 1
copytruncate
missingok
compress
}


 I am concerned that, should I simply delete the file, the system will
 crash or otherwise damage to the boot session, would occur.

While deleting it won't harm anything, it also does not release disk
space, as this file is open with all X clients.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140909073922.ga12...@d1696.int.rdtex.ru



Re: Query about .xsession-errors file

2014-09-09 Thread Raffaele Morelli
On 09/09/14 at 03:29pm, Bret Busby wrote:
 Hello.
 
 In trying to work out why my disk space gets progressively consumed so
 that I repeatedly run out of disc space without any known reason, in
 examining my hidden files in my home directory, I found the file
 .xsession-errors, which is currently sitting at about 740MB, and has
 been growing in the last hour.
 
 Does some uttility or command (with switches) exist, that can purge
 the file of redundant (for example, entries over a week old, or,
 entries from before the current boot session) entries, so as to reduce
 the file size to content that is necessary to retain for debugging?
 
 I am concerned that, should I simply delete the file, the system will
 crash or otherwise damage to the boot session, would occur.
 
 Thank you in anticipation.

A cron job should fit your needs, though I would investigate to prevent such
errors...

/r


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140909074000.ga10...@gmail.com



Re: Query about .xsession-errors file

2014-09-09 Thread Chris Bannister
On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
 Hello.
 
 I am concerned that, should I simply delete the file, the system will
 crash or otherwise damage to the boot session, would occur.

I very much doubt that any such damage would occur by deleting it, but
the following incantation is one answer:

tal% ls -alh .xsession-errors
-rw--- 1 chrisb chrisb 33K Sep  9 17:40 .xsession-errors

tal% : .xsession-errors
tal% ls -alh .xsession-errors
-rw--- 1 chrisb chrisb 0 Sep  9 21:25 .xsession-errors

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140909092653.GA2878@tal



Re: Query about .xsession-errors file

2014-09-09 Thread Bret Busby
On 09/09/2014, Chris Bannister cbannis...@slingshot.co.nz wrote:
 On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
 Hello.

 I am concerned that, should I simply delete the file, the system will
 crash or otherwise damage to the boot session, would occur.

 I very much doubt that any such damage would occur by deleting it, but
 the following incantation is one answer:

 tal% ls -alh .xsession-errors
 -rw--- 1 chrisb chrisb 33K Sep  9 17:40 .xsession-errors

 tal% : .xsession-errors
 tal% ls -alh .xsession-errors
 -rw--- 1 chrisb chrisb 0 Sep  9 21:25 .xsession-errors


Well, that kind of works.

Before seeing the above message, after someone previously saying that
deleting the file would not cause any (extra) problems, but would not
free up disc space, I deleted the file, then ran Empty Trash Can,
but, no disc space was freed, then, subsequently, I observed that a
new file had been created;
.xsession-errors.old
with a size of about 33kB, and so I overwrote that, as described
above, and that reduced its size to zero, but, I now do not have the
original file with which to do that, and, I have about 750MB of
missing disc space.

I have had to move files off the HDD, to make it usable (it does not
work with no free space, which is what the file did to it).

Does a way exist, for me to reclaim the vanished disc space, without
having to reboot the computer?

Maybe this is why, as I posted some time ago, resources repeatedly got
progressively consumed, until no free resources were available, so the
system required rebooting every couple of weeks or so (a bit like
Win95, I think it was, but, I believe that Win95 generally lasted for
about four weeks, before needing rebooting), or, it simply crashed.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8OeQTge42z9ah2sDQ08mR=ki5rm4fvzzo2epiwwen8...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-09 Thread Don Armstrong
On Wed, 10 Sep 2014, Bret Busby wrote:
 At present, with 16GB of RAM, on this computer, and, 91% in use by
 programs and 8% in use as cache (even though, I set cache off, in
 each of the web browsers),

Cache has nothing to do with the browsers, and everything to do with the
kernel.

The output of free (and for your browsers, their internal memory report
(about:memory for both chromium and iceweasel) will be useful.


Free RAM is wasted RAM. http://www.linuxatemyram.com/ (and similar
sites) might be useful.

-- 
Don Armstrong  http://www.donarmstrong.com

This message brought to you by weapons of mass destruction related
program activities, and the letter G.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140909171009.gg7...@rzlab.ucr.edu



Re: Query about .xsession-errors file

2014-09-09 Thread Bret Busby
On 10/09/2014, Bret Busby bret.bu...@gmail.com wrote:
 On 09/09/2014, Chris Bannister cbannis...@slingshot.co.nz wrote:
 On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
 Hello.

 I am concerned that, should I simply delete the file, the system will
 crash or otherwise damage to the boot session, would occur.

 I very much doubt that any such damage would occur by deleting it, but
 the following incantation is one answer:

 tal% ls -alh .xsession-errors
 -rw--- 1 chrisb chrisb 33K Sep  9 17:40 .xsession-errors

 tal% : .xsession-errors
 tal% ls -alh .xsession-errors
 -rw--- 1 chrisb chrisb 0 Sep  9 21:25 .xsession-errors


 Well, that kind of works.

 Before seeing the above message, after someone previously saying that
 deleting the file would not cause any (extra) problems, but would not
 free up disc space, I deleted the file, then ran Empty Trash Can,
 but, no disc space was freed, then, subsequently, I observed that a
 new file had been created;
 .xsession-errors.old
 with a size of about 33kB, and so I overwrote that, as described
 above, and that reduced its size to zero, but, I now do not have the
 original file with which to do that, and, I have about 750MB of
 missing disc space.

 I have had to move files off the HDD, to make it usable (it does not
 work with no free space, which is what the file did to it).

 Does a way exist, for me to reclaim the vanished disc space, without
 having to reboot the computer?

 Maybe this is why, as I posted some time ago, resources repeatedly got
 progressively consumed, until no free resources were available, so the
 system required rebooting every couple of weeks or so (a bit like
 Win95, I think it was, but, I believe that Win95 generally lasted for
 about four weeks, before needing rebooting), or, it simply crashed.



Just out of interest, top shows the system as having been up for 21
days, so, the xsession-errors file grew to 743MB, in 21 days. I saw,
at the top of that file, before I deleted it, reference to 21 August,
so, the file apparently, grows quite fast.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8p54xsm1ef__uqsidymiu-go_l6m2neaqimjpjphhf...@mail.gmail.com



Re: Query about .xsession-errors file

2014-09-09 Thread Brian
On Wed 10 Sep 2014 at 01:24:24 +0800, Bret Busby wrote:

 Just out of interest, top shows the system as having been up for 21
 days, so, the xsession-errors file grew to 743MB, in 21 days. I saw,
 at the top of that file, before I deleted it, reference to 21 August,
 so, the file apparently, grows quite fast.

This machine has been up for about the same length of time.

  brian@desktop:~$ ls -l .xsession-errors 
  -rw--- 1 brian brian 165780 Aug 24 08:39 .xsession-errors

Has it dawned on you that an investigation of the file's contents
might be indicated?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/09092014183657.c13f8c6fa...@desktop.copernicus.demon.co.uk



Re: Query about .xsession-errors file

2014-09-09 Thread Bret Busby
On 10/09/2014, Brian a...@cityscape.co.uk wrote:
 On Wed 10 Sep 2014 at 01:24:24 +0800, Bret Busby wrote:

 Just out of interest, top shows the system as having been up for 21
 days, so, the xsession-errors file grew to 743MB, in 21 days. I saw,
 at the top of that file, before I deleted it, reference to 21 August,
 so, the file apparently, grows quite fast.

 This machine has been up for about the same length of time.

   brian@desktop:~$ ls -l .xsession-errors
   -rw--- 1 brian brian 165780 Aug 24 08:39 .xsession-errors

 Has it dawned on you that an investigation of the file's contents
 might be indicated?



The file has (kind of) gone, now (it is no longer accessible, but,
appears to still exist, in the ether of the unknown; still taking up
disc space, whilst, in theory, non-existent), but, when I did briefly
examine the contents, hundreds of lines referring to QPaint problems,
were shown.


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8pbpc_ssc5uy1whuyrgnaws+kpqy8noc0xpvotqbin...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-09 Thread Steve Litt
On Wed, 10 Sep 2014 00:59:29 +0800
Bret Busby bret.bu...@gmail.com wrote:

 
 At present, with 16GB of RAM, on this computer, and, 91% in use by
 programs and 8% in use as cache (even though, I set cache off, in
 each of the web browsers), it is a system riddled with bloatware, and,
 like a cow with bloat, where it keeps getting bigger and bigger, it
 needs for the gas to be released.

What command gave you that 91% and 8% information? Are you by any
chance using KDE? Do you have several VM hosts running?

Here's my vmstat for my 16GB machine:

slitt@mydesq2:~$ vmstat -S M
procs ---memory-- ---swap-- -io 
 r  b   swpd   free   buff  cache   si   sobibo 
 0  0  0   8313607   4509002322 
slitt@mydesq2:~$ vmstat -S M -a
procs ---memory-- ---swap-- -io 
 r  b   swpd   free  inact active   si   sobibo 
 0  0  0   8313   3643   2201002322 
slitt@mydesq2:~$ 

You'll notice I truncated the right hand output, in Vim, so it wouldn't
wordwrap.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140909140414.456db...@mydesq2.domain.cxm



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-09 Thread Bret Busby
On 10/09/2014, Don Armstrong d...@debian.org wrote:
 On Wed, 10 Sep 2014, Bret Busby wrote:
 At present, with 16GB of RAM, on this computer, and, 91% in use by
 programs and 8% in use as cache (even though, I set cache off, in
 each of the web browsers),

 Cache has nothing to do with the browsers, and everything to do with the
 kernel.

 The output of free (and for your browsers, their internal memory report
 (about:memory for both chromium and iceweasel) will be useful.


 Free RAM is wasted RAM. http://www.linuxatemyram.com/ (and similar
 sites) might be useful.

 --
 Don Armstrong  http://www.donarmstrong.com

 This message brought to you by weapons of mass destruction related
 program activities, and the letter G.




:~$ free
 total   used   free sharedbuffers cached
Mem:  16333856   16242704  91152  0  867841384384
-/+ buffers/cache:   147715361562320
Swap: 428603401764372   41095968


I do not run chromium, and I am not at present running iceweasel.

I am at present running (in web browsers)

javascript enabled
Opera
Epiphany

javascript disabled
Arora
konqueror
rekonq

Whilst that may seem alot, I have previously run Arora, with
javascript disabled, with 106 browser windows open, using less than
half of the RAM.


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8p9faf4m3evfkvma1u6nukzn6nymbqe1cv_cbdvqw-...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-09 Thread Bret Busby
On 10/09/2014, Steve Litt sl...@troubleshooters.com wrote:
 On Wed, 10 Sep 2014 00:59:29 +0800
 Bret Busby bret.bu...@gmail.com wrote:


 At present, with 16GB of RAM, on this computer, and, 91% in use by
 programs and 8% in use as cache (even though, I set cache off, in
 each of the web browsers), it is a system riddled with bloatware, and,
 like a cow with bloat, where it keeps getting bigger and bigger, it
 needs for the gas to be released.

 What command gave you that 91% and 8% information? Are you by any
 chance using KDE? Do you have several VM hosts running?


I do not use kde (as the window manager or display manager, or,
however the functionality is named).

I use GNOME2 (on this computer - Debian 6).

The RAM usage information is from the GNOME 2 System Monitor 2.30.0
graphs applet in the panel.

 Here's my vmstat for my 16GB machine:

 slitt@mydesq2:~$ vmstat -S M
 procs ---memory-- ---swap-- -io
  r  b   swpd   free   buff  cache   si   sobibo
  0  0  0   8313607   4509002322
 slitt@mydesq2:~$ vmstat -S M -a
 procs ---memory-- ---swap-- -io
  r  b   swpd   free  inact active   si   sobibo
  0  0  0   8313   3643   2201002322
 slitt@mydesq2:~$

 You'll notice I truncated the right hand output, in Vim, so it wouldn't
 wordwrap.

 SteveT




:~$ vmstat -S M
procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa
15  0   1725 88 85   134801 71121 13  1 86  0




:~$ vmstat -S M -a
procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free  inact active   si   sobibo   in   cs us sy id wa
12  0   1725 86   2194  1323301 71121 13  1 86  0




-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8NSq1D_qpKtGVOV=9aQ9CA=5==2qudhs8zur-gjws1...@mail.gmail.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-09 Thread Bzzzz
On Wed, 10 Sep 2014 00:59:29 +0800
Bret Busby bret.bu...@gmail.com wrote:

 could run a command, and, RAM that is not currently in use by programs
 that are running, is freed?

No, as the 'unused' RAM is in fact used for system caches.

But you can change the swapping threshold:
http://linux.cloudibee.com/2007/11/linux-performance-tuning-vm-swappiness/
(permanent changes are to be written into /etc/sysctl.conf; also note
that is counts backward, a value of 10 meaning: do not swap until
free RAM is more than 10% of the whole).

 At present, with 16GB of RAM, on this computer, and, 91% in use by
 programs and 8% in use as cache (even though, I set cache off, in
 each of the web browsers),

Disabling RAM cache in browsers is a bad idea unless you have very
fast HDz (SSDz).

 it is a system riddled with bloatware, and,
 like a cow with bloat, where it keeps getting bigger and bigger, it
 needs for the gas to be released.

Fart a bit, you're all red ;-p)

 If browser windows are shut, the RAM is still occupied and unusable,

No, it is usable, but it doesn't show as free.

 and, the parasitic javascript progressively consumes the RAM, until it
 takes it all, so, a means of relieving the pressure, would be useful.

As 95% of JS scripts aren't correctly written, this ain't a big
surprise; but this should normally be ended when closing the page
tab.

 Once again, it would be better to be able to fix the problem
 (deflating the bloat), rather than being required to shut the system
 down (kill the animal).

Normally, if you _really_ reach the system RAM limit, init begins
killing the least used programs/daemons (well, this WAS true with
a good init, such as the sysV one…)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140909204251.3eb802a7@msi.defcon1



  1   2   3   4   >