[opensuse] fyi only - out of memory with 128GB of RAM!
All, I just thought this was worth sharing. I've got the 128GB RAM PC I built up last spring (much discussion on this list). I don't have a swap space setup because who could ever use that much RAM. The OOM background tool just kicked in and killed one of my tasks! Top agrees and says I only have 10GB of RAM free (after killing my task). Setting up swap space now! Greg -- Greg Freemyer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Weird...what does free say? Just curious because we've got a fileserver with 64GB of memory, and it'll use maybe 1-2GB for actual applications, and then turn the rest of it into cache. So, top will say it's got like 700M free, but it's basically all just used as buffers and cache. With that said -- my server at home routinely "runs out of memory" after a few months of uptime, even though it has plenty of memory free. I've always wondered if it maybe has issues with memory fragmentation or something like that(?)
Greg Freemyer <greg.freemyer@gmail.com> 01/18/17 2:24 PM >>> All,
I just thought this was worth sharing. I've got the 128GB RAM PC I built up last spring (much discussion on this list). I don't have a swap space setup because who could ever use that much RAM. The OOM background tool just kicked in and killed one of my tasks! Top agrees and says I only have 10GB of RAM free (after killing my task). Setting up swap space now! Greg -- Greg Freemyer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Jan 18, 2017 at 3:36 PM, Christopher Myers <cmyers@mail.millikin.edu> wrote:
Weird...what does free say? Just curious because we've got a fileserver with 64GB of memory, and it'll use maybe 1-2GB for actual applications, and then turn the rest of it into cache. So, top will say it's got like 700M free, but it's basically all just used as buffers and cache.
==== This machine was booted within the hour. Running openSUSE 13.1 from a boot DVD. I've now added a 200GB swapfile (plus 128GB or RAM). I'm not sure I trust "top"s numbers. It says they are in KiB, but the math doesn't work. It says I have a total of 1461804 KiB RAM and 33554428 KiB SWAP. Reality should be 128GB of RAM and 200GB of swap. top shows "87368 free" for Mem and "227284 used" for swap. In theory that is 87 MB free and 227 MB of swap in use. I think is is closer to 8.8 GB of free RAM with about 23 GB of swap in use. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Greg Freemyer <greg.freemyer@gmail.com> 01/18/17 2:56 PM >>> top shows "87368 free" for Mem and "227284 used" for swap.
In theory that is 87 MB free and 227 MB of swap in use.
I think is is closer to 8.8 GB of free RAM with about 23 GB of swap in use.
Sorry, by "free", I meant the free command, eg. - cmyers@chrismyers:/> free -h total used free shared buffers cached Mem: 7.6G 6.9G 693M 125M 79M 1.0G -/+ buffers/cache: 5.8G 1.7G Swap: 2.0G 130M 1.9G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Jan 18, 2017 at 4:01 PM, Christopher Myers <cmyers@mail.millikin.edu> wrote:
Greg Freemyer <greg.freemyer@gmail.com> 01/18/17 2:56 PM >>> top shows "87368 free" for Mem and "227284 used" for swap.
In theory that is 87 MB free and 227 MB of swap in use.
I think is is closer to 8.8 GB of free RAM with about 23 GB of swap in use.
Sorry, by "free", I meant the free command, eg. -
cmyers@chrismyers:/> free -h total used free shared buffers cached Mem: 7.6G 6.9G 693M 125M 79M 1.0G -/+ buffers/cache: 5.8G 1.7G Swap: 2.0G 130M 1.9G
My mistake: ============ total used free shared buffers cached Mem: 1.4G 1.3G 93M 2.3M 1.8M 245M -/+ buffers/cache: 1.1G 340M Swap: 31G 217M 31G ============ That really makes no sense. Maybe my hardware is too new? But the swap file should definately be 200GB even if the RAM is wrong. I used fallocate to create the 200GB swapfile, mkswap to initialize it and swapon to put it in use. Unfortunately, I have to boot this machine back to Windows for the next 18 or so hours. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-18 22:26, Greg Freemyer wrote:
My mistake:
============ total used free shared buffers cached Mem: 1.4G 1.3G 93M 2.3M 1.8M 245M -/+ buffers/cache: 1.1G 340M Swap: 31G 217M 31G ============
That really makes no sense. Maybe my hardware is too new?
It clearly is not finding all the memory. You need to look at the log of the booting. You are not using 32bit 13.1, per chance?
But the swap file should definately be 200GB even if the RAM is wrong.
No, there is probably a limit to the amount of swap it can enable with so /little/ ram.
Unfortunately, I have to boot this machine back to Windows for the next 18 or so hours.
Pity. Save the logs first. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
"Carlos E. R." <robin.listas@telefonica.net> 01/18/17 3:33 PM >>> On 2017-01-18 22:26, Greg Freemyer wrote:
You are not using 32bit 13.1, per chance?
Ah, good thought -- That's what I'm running, but with a different kernel, and it's seeing my extra memory, so maybe a difference from the kernels? -- cmyers@chrismyers:/> cat /etc/SuSE-release openSUSE 13.1 (i586) VERSION = 13.1 CODENAME = Bottle # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead cmyers@chrismyers:/> uname -a Linux chrismyers.millikin.edu 3.12.62-52-desktop #1 SMP PREEMPT Wed Aug 10 18:37:26 UTC 2016 (069dc39) i686 i686 i386 GNU/Linux cmyers@chrismyers:/> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-18 22:37, Christopher Myers wrote:
"Carlos E. R." <> 01/18/17 3:33 PM >>> On 2017-01-18 22:26, Greg Freemyer wrote:
You are not using 32bit 13.1, per chance?
Ah, good thought -- That's what I'm running, but with a different kernel, and it's seeing my extra memory, so maybe a difference from the kernels? --
The default kernel can see all, I don't remember the limit. But there is a kernel that does not. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 2017-01-18 22:26, Greg Freemyer wrote:
My mistake:
============ total used free shared buffers cached Mem: 1.4G 1.3G 93M 2.3M 1.8M 245M -/+ buffers/cache: 1.1G 340M Swap: 31G 217M 31G ============
That really makes no sense. Maybe my hardware is too new?
It clearly is not finding all the memory. You need to look at the log of the booting.
You are not using 32bit 13.1, per chance?
With that size memory, it would be running a PAE kernel. -- Per Jessen, Zürich (-5.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Jan 19, 2017 at 2:49 AM, Per Jessen <per@computer.org> wrote:
Carlos E. R. wrote:
On 2017-01-18 22:26, Greg Freemyer wrote:
My mistake:
============ total used free shared buffers cached Mem: 1.4G 1.3G 93M 2.3M 1.8M 245M -/+ buffers/cache: 1.1G 340M Swap: 31G 217M 31G ============
That really makes no sense. Maybe my hardware is too new?
It clearly is not finding all the memory. You need to look at the log of the booting.
You are not using 32bit 13.1, per chance?
With that size memory, it would be running a PAE kernel.
Carlos was right, 32-bit. It was a boot DVD I made with SuseStudio a couple years ago with all my tools on it. Normally works fine, but this an unusual problem/task(for me). I'm going to abandon that effort. Bringing a different computer to the site today. 64GB ram and Leap 42.2 and my tools installed. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/19/2017 02:49 AM, Per Jessen wrote:
Carlos E. R. wrote:
On 2017-01-18 22:26, Greg Freemyer wrote:
My mistake:
============ total used free shared buffers cached Mem: 1.4G 1.3G 93M 2.3M 1.8M 245M -/+ buffers/cache: 1.1G 340M Swap: 31G 217M 31G ============
That really makes no sense. Maybe my hardware is too new?
It clearly is not finding all the memory. You need to look at the log of the booting.
You are not using 32bit 13.1, per chance?
With that size memory, it would be running a PAE kernel.
OMG! The PAE mechanism involves a mapping table for the 32-bit system to address more than 4G. I'll leave aside the issue of why anyone might need for than 4G when many of us run excellent systems in that or less. I believe Per Jensen mentioned a server that had been up for over 4 years with just 2G. I'm sure that more than 4G I have in my 64-bit desktop would be nice for my photo and video editing, but realistically I know that the real limitation is the framebuffer and rendering speed/capability of my graphics system. I need to throw money/technology at that first even though memory is cheaper, but to throw more memory I'd need a new mobo as well, so in reality a new GPU would be cheaper overall. Santa was kind in the camera department this year, not the computer department. If I were corporate and the LAN/SAN were the limit I'd see about gigabit networking or optical networking. But then again, all my machines, except for a few from the Closet of Anxieties with 800Mhz 32-bit/1GRAM are 64-bit. Yes there was always the argument that for a given RAM speed and datapath (remember the 8088, the 8086 with an 8-bit data path for 'backward compatibility' and the need for fewer TTL support components, which was why it was chosen for the original IBM-PC? well by the time it actually got into production the whole microprocessor/TTL landscape and pricing had changed to invalidate the original justification) that the smaller opcodes and reduced fetch time and the fact that most loops were small, requiring only an 8-bit counter and such blitherations meant that upgrade wasn't worth it? Heck,, I remember in the 1960 hearing a guy argue that stereo hi-fi wasn't worth it, the extra cost of components for the second channel, the extra loudspeaker, the more complicated pick-up on the record player, the more complex recording/mixing equipment, it was all a sale conspiracy to get us to spend more money. The along come LPs, cassettes and DVDs, each invalidating the previous technology ... But "-pae"? Even so, a processes address space remains at 32-bits, meaning it can only access a maximum of 4GB of memory. The OS however can access a 64GB address space, allocating 4GB chunks to processes. This is done via a mapping table. The size of the mapping table is going to depend on the actual amount of physical memory. so the more physical memory the bigger that table is. And that bale has to be in the space under the 4G boundary, in kernel space. I'm not sure I like the way this is going. If this were critical, if this were corporate, I'd seriously look at getting a new mobo and a 64-but processor. As a manager, I look at this way: the cost of time (that is, salary or consultant's fee) flutzing around with this, ongoing, compared to the one-time cost of a new mobo and CPU and the one-time cost of installing the same will almost certainly work out in favour of the latter. At home, on a hobby budget, things might be different. The hobby budget is competing with other household and family expenses. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-19 16:21, Anton Aylward wrote:
Heck,, I remember in the 1960 hearing a guy argue that stereo hi-fi wasn't worth it, the extra cost of components for the second channel, the extra loudspeaker, the more complicated pick-up on the record player, the more complex recording/mixing equipment, it was all a sale conspiracy to get us to spend more money. The along come LPs, cassettes and DVDs, each invalidating the previous technology ...
Well, now they sell very good quality sound systems that are mono. Sort of a tower that stands on the floor 1 metre tall and plays from a usb stick or memory card. I asked a friend and he said that currently stereo is questioned. You can add "effects" so that you see sound going from one side to the other, but this is artificial. Try on a recorded concert to differentiate where is the violin. There are things like phase differences that are not recorded. So, I don't know. (if you want to continue this OT subthread, please jump to the offtopic mail list) -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
That is definitely odd... Maybe try free -g ? On my laptop with 8G memory and 1G swap: cmyers@chrismyers:/> free -g total used free shared buffers cached Mem: 7 7 0 0 0 0 -/+ buffers/cache: 5 1 Swap: 1 0 1 On our ODA with 192G and 18G swap: [cmyers@muoda1 ~]$ free -g total used free shared buffers cached Mem: 192 144 47 0 2 26 -/+ buffers/cache: 116 76 Swap: 18 0 18 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/18/2017 03:55 PM, Greg Freemyer wrote:
I'm not sure I trust "top"s numbers. It says they are in KiB, but the math doesn't work.
I don't know the innards of 'top'[1], but if I wan the TRUE FACTS I look in: /proc/meminfo [1] actually I use 'htop'. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/18/2017 03:36 PM, Christopher Myers wrote:
Weird...what does free say? Just curious because we've got a fileserver with 64GB of memory, and it'll use maybe 1-2GB for actual applications, and then turn the rest of it into cache.
Well, lets face it, the original UNIX was designed for short-lived small programs, in sharp contrast to the mainframes of the day that ran huge, long lived monolithic programs that did everything all in one such as CICS The 'each thing does one thing and only one thing" ... and then disappears .. was the attitude that differentiated UNIX back then. Well, OK the shell (of that day) was logn lived, but it was basically a dispatcher and was much, much smaller than our current BASH. A file server, not least of all a "black box" NAS, isn't running an application suite as is a desktop. It isn't exactly running the huge monolithic CICS, but there isn't the 'churn' in the code space. Perhaps the turnover ion the file management in the kernel and the buffer space counts for something, but how much of NFS is in user space and how much in the kernel?
With that said -- my server at home routinely "runs out of memory" after a few months of uptime, even though it has plenty of memory free. I've always wondered if it maybe has issues with memory fragmentation or something like that(?)
Basically, Linux discovers all memory and tries to use it. I'm not sure that running a cache application in user space helps with memory management. I *do* know that the VM system is highly tunable and that out-of-the-box linux is tuned for the desktop. Somehow you need to tell it to use more space in the kernel. I'm not sure what you mean by "turning the rest of it into cache" without some more specifics. is that a cache application? *HOW* are you "turning it" into cache? https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm... -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-19 01:11, Anton Aylward wrote:
I'm not sure what you mean by "turning the rest of it into cache" without some more specifics. is that a cache application? *HOW* are you "turning it" into cache?
That is what the Linux kernel does. You don't need to do anything to activate. It just happens. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
On 01/18/2017 08:40 PM, Carlos E. R. wrote:
On 2017-01-19 01:11, Anton Aylward wrote:
I'm not sure what you mean by "turning the rest of it into cache" without some more specifics. is that a cache application? *HOW* are you "turning it" into cache?
That is what the Linux kernel does. You don't need to do anything to activate. It just happens.
That's what I thought. Never the less, for a file server I can imagine that you'd want to tune the vm characteristics, the number of NFS threads, and even, perhaps, the network MTU differently from a desktop. And since this is a NAS on the LAN, you can probably alter the rsize and wsize (provided you don't exceed the network MTU). Since this is a NAS, you probably want to alter the network buffer queue size as well, the kernel won't normally allocate enough memory there. Of course anything that you modify in /proc file system is temporary, because its the value that's stored in the RAM, which does not persist across reboots. You can make these entries permanent across reboots by making an entry in sysctl.conf. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Anton Aylward wrote:
Never the less, for a file server I can imagine that you'd want to tune the vm characteristics, the number of NFS threads, and even, perhaps, the network MTU differently from a desktop.
For regular fileserver traffic, there's little or no gain in using jumbo-frames vs. using NFSv4. For HPC and iSCSI, MTU 9000 does provide more throughput.
And since this is a NAS on the LAN, you can probably alter the rsize and wsize (provided you don't exceed the network MTU).
NFSv4 automagically does that. -- Per Jessen, Zürich (-5.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/19/2017 02:47 AM, Per Jessen wrote:
Anton Aylward wrote:
[big snip]
NFSv4 automagically does that.
Any other advantages/disadvantages to V4? What about crossing network boundaries, routers, bridges on a more extended corporate LAN? How does it compare to CIFS? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Anton Aylward wrote:
On 01/19/2017 02:47 AM, Per Jessen wrote:
Anton Aylward wrote:
[big snip]
NFSv4 automagically does that.
Any other advantages/disadvantages to V4?
Disadvantages - there was a slight hiccup with cooperation jfs<>nfs, but just a bug really. I think we also had some systems that had to be forced to use v3, can't remember why though. One major advantage for large sites is no doubt parallel NFS (NFS v4.1). We don't have a very big NFS setup, but I'm itching to play with it.
What about crossing network boundaries, routers, bridges on a more extended corporate LAN?
I don't know if there are any problems, I wouldn't expect any. It's just plain TCP traffic.
How does it compare to CIFS?
There are probably comparisons out there, I have not had reason to look at it myself. -- Per Jessen, Zürich (-3.7°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Jan 19, 2017 at 5:50 PM, Per Jessen <per@computer.org> wrote:
What about crossing network boundaries, routers, bridges on a more extended corporate LAN?
I don't know if there are any problems, I wouldn't expect any. It's just plain TCP traffic.
NFS v3 and below are using dynamic ports and several auxiliary protocols running over separate ports as well. So it was rather challenging to use across firewall/NAT. NFS v4 consolidates protocols and is using fixed port number. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-19 15:54, Andrei Borzenkov wrote:
On Thu, Jan 19, 2017 at 5:50 PM, Per Jessen <per@computer.org> wrote:
What about crossing network boundaries, routers, bridges on a more extended corporate LAN?
I don't know if there are any problems, I wouldn't expect any. It's just plain TCP traffic.
NFS v3 and below are using dynamic ports and several auxiliary protocols running over separate ports as well. So it was rather challenging to use across firewall/NAT. NFS v4 consolidates protocols and is using fixed port number.
Oh. This is very interesting. Could you point to some info link on how to configure the suse firewall for NFS v4? I have some problems with NFS not working after upgrading to 42.2 and this would help to review the configs. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On 19/01/17 14:58, Carlos E. R. wrote:
On 2017-01-19 15:54, Andrei Borzenkov wrote:
On Thu, Jan 19, 2017 at 5:50 PM, Per Jessen <per@computer.org> wrote:
What about crossing network boundaries, routers, bridges on a more extended corporate LAN?
I don't know if there are any problems, I wouldn't expect any. It's just plain TCP traffic.
NFS v3 and below are using dynamic ports and several auxiliary protocols running over separate ports as well. So it was rather challenging to use across firewall/NAT. NFS v4 consolidates protocols and is using fixed port number.
Oh. This is very interesting.
Could you point to some info link on how to configure the suse firewall for NFS v4?
I have some problems with NFS not working after upgrading to 42.2 and this would help to review the configs.
I would have thought YaST could do that for you in the Allowed Services tab. Basically, you need to open 111 and 2049 for both tcp and udp. HTH Bob -- Bob Williams System: Linux 4.4.36-8-default Distro: openSUSE 42.2 (x86_64) Desktop: KDE Frameworks: 5.26.0, Qt: 5.6.1 and Plasma: 5.8.2 -- Bob Williams System: Linux 4.4.36-8-default Distro: openSUSE 42.2 (x86_64) Desktop: KDE Frameworks: 5.26.0, Qt: 5.6.1 and Plasma: 5.8.2
On 2017-01-19 17:08, Bob Williams wrote:
On 19/01/17 14:58, Carlos E. R. wrote:
On 2017-01-19 15:54, Andrei Borzenkov wrote:
On Thu, Jan 19, 2017 at 5:50 PM, Per Jessen <per@computer.org> wrote:
What about crossing network boundaries, routers, bridges on a more extended corporate LAN?
I don't know if there are any problems, I wouldn't expect any. It's just plain TCP traffic.
NFS v3 and below are using dynamic ports and several auxiliary protocols running over separate ports as well. So it was rather challenging to use across firewall/NAT. NFS v4 consolidates protocols and is using fixed port number.
Oh. This is very interesting.
Could you point to some info link on how to configure the suse firewall for NFS v4?
I have some problems with NFS not working after upgrading to 42.2 and this would help to review the configs.
I would have thought YaST could do that for you in the Allowed Services tab.
Basically, you need to open 111 and 2049 for both tcp and udp.
YaST was already used, years ago. These are upgraded machines. I'll check if those ports are open, thanks. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
Andrei Borzenkov wrote:
On Thu, Jan 19, 2017 at 5:50 PM, Per Jessen <per@computer.org> wrote:
What about crossing network boundaries, routers, bridges on a more extended corporate LAN?
I don't know if there are any problems, I wouldn't expect any. It's just plain TCP traffic.
NFS v3 and below are using dynamic ports and several auxiliary protocols running over separate ports as well. So it was rather challenging to use across firewall/NAT.
I can imagine that - I've never had reason to do it, we've sometimes used NFS over a VPN, that's about as "advanced" it's been :-) -- Per Jessen, Zürich (-3.8°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Christopher Myers wrote:
Weird...what does free say? Just curious because we've got a fileserver with 64GB of memory, and it'll use maybe 1-2GB for actual applications, and then turn the rest of it into cache. So, top will say it's got like 700M free, but it's basically all just used as buffers and cache.
With that said -- my server at home routinely "runs out of memory" after a few months of uptime, even though it has plenty of memory free. I've always wondered if it maybe has issues with memory fragmentation or something like that(?)
I have systems running for years without stopping - bernina:~ # uptime 08:28 up 1513 days 23:57, 1 user, load average: 0.14, 0.11, 0.13 It runs a webserver, rbldnsd, postfix, mysql, vsftpd. 2Gb RAM, usually 1Gb used for buffers and filesystem cache. If a server runs of out of memory "after a while", there's a leak. -- Per Jessen, Zürich (-5.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* jdd <jdd@dodin.org> [01-18-17 16:55]:
Le 18/01/2017 à 21:23, Greg Freemyer a écrit :
Setting up swap space now!
make it in ram :-)
why have swap at all if you are going to have it in ram. Just limits your system's usage of free ram. I have 36g ram and *no* swap and no noticible need for it.
free -h total used free shared buff/cache available Mem: 35G 11G 279M 136M 23G 23G Swap: 0B 0B 0B
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/18/2017 05:50 PM, Patrick Shanahan wrote:
why have swap at all if you are going to have it in ram. Just limits your system's usage of free ram. I have 36g ram and *no* swap and no noticible need for it.
Yes, but what is your application suite? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Anton Aylward <opensuse@antonaylward.com> [01-18-17 21:37]:
On 01/18/2017 05:50 PM, Patrick Shanahan wrote:
why have swap at all if you are going to have it in ram. Just limits your system's usage of free ram. I have 36g ram and *no* swap and no noticible need for it.
Yes, but what is your application suite?
the *point* being "swap in ram" which sounds to me like defeating the reason for having more ram. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/18/2017 02:50 PM, Patrick Shanahan wrote:
* jdd <jdd@dodin.org> [01-18-17 16:55]:
Le 18/01/2017 à 21:23, Greg Freemyer a écrit :
Setting up swap space now!
make it in ram :-) why have swap at all if you are going to have it in ram.
Whoosh Patrick. Whoosh. Smiley face and all. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 18/01/2017 à 23:50, Patrick Shanahan a écrit :
* jdd <jdd@dodin.org> [01-18-17 16:55]:
Le 18/01/2017 à 21:23, Greg Freemyer a écrit :
Setting up swap space now!
make it in ram :-)
why have swap at all if you are going to have it in ram.
as the system is broken in some way, it could be a way to see if it manage swap and ram differently who knows where the defect is? not that I expect it to be there, but when you have already tried the normal things, try the unusual ones :-( jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-19 12:08, James Knott wrote:
On 01/18/2017 04:55 PM, jdd wrote:
Le 18/01/2017 à 21:23, Greg Freemyer a écrit :
Setting up swap space now!
make it in ram :-)
Or /dev/fd0. ;-)
LOL :-) Punched cards :-P -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
You can stop it from swapping by setting swappiness to zero. sysctl vm.swappiness=0 Then it will only swap if it runs out of memory. I just thought I would throw that into the mix in case no one has mentioned it already. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, I'm late on this (been on vacation :D), so sorry if I repeat stuf that has been mentioned already. But as I had a similar issue half a year ago I thought I might throw the word 'slab' in. In my case it had been a berzerk process acquiring more and more memory from the kernel slab without freeing it ever again. Check 'slabtop' and or /proc/slabinfo for huge usage. In my case it had been 'kmalloc-4096' Cheers, Pit Greg Freemyer wrote:
All,
I just thought this was worth sharing.
I've got the 128GB RAM PC I built up last spring (much discussion on this list).
I don't have a swap space setup because who could ever use that much RAM.
The OOM background tool just kicked in and killed one of my tasks!
Top agrees and says I only have 10GB of RAM free (after killing my task).
Setting up swap space now!
Greg -- Greg Freemyer
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8559 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Feb 20, 2017 at 5:59 AM, Peter Suetterlin <P.Suetterlin@royac.iac.es> wrote:
Hi,
I'm late on this (been on vacation :D), so sorry if I repeat stuf that has been mentioned already. But as I had a similar issue half a year ago I thought I might throw the word 'slab' in. In my case it had been a berzerk process acquiring more and more memory from the kernel slab without freeing it ever again. Check 'slabtop' and or /proc/slabinfo for huge usage. In my case it had been 'kmalloc-4096'
Cheers,
Pit
PIT, My issue was inadvertantly using a 32-bit kernel on a new generation CPU. Resolved now. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (13)
-
Andrei Borzenkov
-
Anton Aylward
-
Bob Williams
-
Carlos E. R.
-
Christopher Myers
-
Greg Freemyer
-
James Knott
-
jdd
-
John Andersen
-
Patrick Shanahan
-
Per Jessen
-
Peter Suetterlin
-
Richmond