Displaying 20 results from an estimated 30000 matches similar to: "Way to not page swap programs"
2008 Feb 01
3
swapping on centos 5.1
Hi all,
I used to use centos 4.5 on an AMD 4800+ with 2GIG ram.
Now I use centos 5.1 on AMD 6400+ with 4GIG RAM.
The system responsiveness is different between the two.
I noticed that centos 5.1 seems to be swapping programs out
of memory at times resulting in slowness (perceived by me).
I played with swappiness (/proc/sys/vm/) setting to 10, then 1 then 0.
Still resulted in the same perceived
2005 Oct 12
2
way to keep program in memory
Is there a way to specify that program X should be kep in memory and not
swap it out?
I have a program that takes some time to load and as long as you keep
using it its responsive
but if after sometime its not in use and now I use it it has a slow
response till it gets swapped back in.
The box in question has 1 GIG ram and its not running much else just
this program really. Just looking
for a
2008 Jan 30
6
rsync and swapping
hi all,
I use rsync to copy/backup ALL my stuff to another disk.
When I run this seems like my machine (4 GIG ram centos 5.1)
now begins to swap out more programs. Is there a way to reduce
that swapping? I am running with echo 1 > /proc/sys/vm/swappiness
I simply mount /dev/sdc1 /mnt/backup; mkdir /mnt/backup/month.day.year
then rsync -a /home /mnt/backup/mon.day.year
This is approximately
2013 Jul 23
2
How often is kernel "touching" swap partition?
Hello,
I am going to buy new laptop with two drives, one SSD and one HDD and I
want to place swap partition on HDD which will be most time unused and
therefore spinned down. Problem is, that I don't know, if or how often is
kernel touching swap space even if there is lot of free memory and thus
spinning HDD up.
Thank you in advance
2009 Nov 16
1
Why swap if there's still physical memory available
Dear CentOS people,
This is just a general question related to memory management, and there
may have been a thread or two about it before, but I'd like to post anyway.
A user was looking at top, whereby he found out that his two processes
were 10.2g and 4836m in VIRT. They were 6.4g and 4.6g in RES
respectively. 3445964k was free still. He was wondering why the system
didn't use
2007 Feb 27
5
Swap Considerations
I am considering installing CentOS 4.4, and am interested in
how best to set up. I have been using FC2 and helping administer
a Debian machine for a few years, but do not consider myself a
Linux guru.
My current set up uses a /swap partition which is 2x my memory
size
mem = 256 MB
$ sudo /sbin/fdisk -l
/dev/hda6 76506 77545 524128+ 82 Linux swap
I'm interested in the
2015 Dec 24
2
systemd-sysctl not running on boot
also in /etc/sysctl.d/
On Thu, Dec 24, 2015 at 8:58 AM, Gordon Messmer <gordon.messmer at gmail.com>
wrote:
> On 12/23/2015 05:08 AM, Ofer Hasson wrote:
>
>> By running "systemctl status systemd-sysctl" I also receive the same
>> output, but a simple "cat /proc/sys/vm/swappiness" returns the default
>> value, and not the one set by my conf file.
2006 Jun 20
2
Postpone/avoid swaping while there is still free RAM.
Hi people,
I got Centos 4.3 on a 1GB Pentium IV machine. The output of free
-------------------
$ free
total used free shared buffers cached
Mem: 1026896 573848 453048 0 2988 131712
-/+ buffers/cache: 439148 587748
Swap: 1052248 137568 914680
------------------
There is plenty of free ram, but the kernel
2010 Mar 16
2
What kernel params to use with KVM hosts??
Hi all,
I order to reach maximum performance on my centos kvm hosts I have use these params:
- On /etc/grub.conf:
kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=LABEL=/ elevator=deadline quiet
- On sysctl.conf
# Special network params
net.core.rmem_default = 8388608
net.core.wmem_default = 8388608
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
2006 Jun 05
3
Swap: typical rehash. Why?
I can't resist. Read the thread that was pointed to on lkml. ROTFLMAO.
*Real* UNIX addressed these problems long ago. I guess the "Gurus"
suffer from NIH (Not Invented Here) syndrome.
Given a "general purpose" system, tunability is a must. UNIX, as
delivered by USL in such examples as Sys V, had tunables that let admins
tune to their needs. A single "swappiness"
2006 Jul 21
3
why is this machine using swap space?
Mem: 2075040k total, 1331452k used, 743588k free, 50896k buffers
Swap: 2031608k total, 144k used, 2031464k free, 1191532k cached
SunFire X2100 running Centos 4.3.
Linux maytag1.texoma.net 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT
2006 i686 athlon i386 GNU/Linux
rgds/ldv
2015 Dec 23
2
systemd-sysctl not running on boot
You are correct, I'll refine my problem,
By running "systemctl status systemd-sysctl" I also receive the same
output, but a simple "cat /proc/sys/vm/swappiness" returns the default
value, and not the one set by my conf file.
But, if I run "/usr/lib/systemd/systemd-sysctl" the "cat
/proc/sys/vm/swappiness" does return the correct value.
Any idea ?
Does
2009 Mar 28
3
command line programs for ldap
Hi all. I am looking for some command line programs (pre made)
that will connect to an ldap server and list out the users in question
provided by the search argument given.
I found some mention of it from oracle but I did not see where they can
be downloaded.
Is something like this available and I just havent found them?
Thanks,
Jerry
2015 Dec 22
2
systemd-sysctl not running on boot
Hey all,
After upgrading to CentOS 7.2, non of my servers run systemd-sysctl on boot.
So far, I tried running manually /usr/lib/systemd/systemd-sysctl, it runs
smoothly and updates all the parameters.
I also ran sysctl --system, which also executes successfully.
I checked within systemd, and systemd-sysctl is wanted by the
sysinit.target which is wanted by the multi-user.target - the one I boot
2015 Jun 05
1
Effectiveness of CentOS vm.swappiness
Am 05.06.2015 um 17:40 schrieb Greg Lindahl:
> On Fri, Jun 05, 2015 at 12:29:04PM +0200, Markus "Shorty" Uckelmann wrote:
>
>> How can I further debug this
>> problem and find out what's the culprit?
>
> It's working as designed.
Sadly. It is just my first time I see this behaviour to this extent/on
so many servers. So you can say that I'm kind of a
2019 Jan 28
5
Samba 4.9.4 - high RAM usage - OOM killer
Hi,
We upgraded a legacy (NT4) domain from 3.6 series to 4.8 and then 4.9.4
samba version (using sernet subscription packages / debian stable)
The setup is composed of 4 DCs with each 2 CPU/16GB RAM.
We currently have ~700 user accounts / ~600 computers / ~150 groups
Our mail setup, SSO, ... query the 4 DCs constantly.
Every 5 to 10 days the RAM consumption and CPU usage (due to kswapd)
2015 Jun 05
2
Effectiveness of CentOS vm.swappiness
Am 05.06.2015 um 18:33 schrieb Gordon Messmer:
> On 06/05/2015 03:29 AM, Markus "Shorty" Uckelmann wrote:
>> some (probably unused) parts are swapped out. But, some of
>> those parts are the salt-minion, php-fpm or mysqld. All services which
>> are important for us and which suffer badly from being swapped out.
>
> Those two things can't really both be
2014 Mar 21
1
rsync triggers oomkiller
I added a subject so we can track this message on the list easier. ;)
On Fri, Mar 21, 2014 at 12:19 PM, John Doe <jdmls at yahoo.com> wrote:
> Hey,
>
> kernel: rsync invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=0,
> oom_score_adj=0
> ...
> kernel: Out of memory: Kill process 27974 (mysqld) score 361 or
> sacrifice child
> kernel: Killed process
2010 Aug 19
3
too many open files
I am getting an error about to many open files.
I tried to "echo 500000 > /proc/sys/fs/file-max"
The number is there now, but I continue to get the error.
Is there something else to do?
Jerry
2015 Dec 24
2
systemd-sysctl not running on boot
On 12/23/2015 11:12 PM, Ofer Hasson wrote:
> [root at web-devel-local-1 ~]# /usr/lib/systemd/systemd-sysctl
> [root at web-devel-local-1 ~]# cat /proc/sys/vm/swappiness
> 10
So... you know that it works when you run it from a root shell, but not
during boot. Is the file labeled properly? Anything in audit.log?