Displaying 20 results from an estimated 43 matches for "oom_adj".
2013 Sep 21
2
[Bug 2156] New: Fix oom_adj on Linux after sshd reload
https://bugzilla.mindrot.org/show_bug.cgi?id=2156
Bug ID: 2156
Summary: Fix oom_adj on Linux after sshd reload
Product: Portable OpenSSH
Version: 6.2p1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org...
2011 May 30
1
Fwd: Re: Fwd: cgroup OOM killer loop causes system to lockup (possible fix included) - now pinpointed to openssh-server
Just did some testing..
root at vicky:~# cat /var/log/auth.log | grep "Set"
May 30 21:41:05 vicky sshd[1568]: Set /proc/self/oom_adj from -17 to -17
May 30 21:41:07 vicky sshd[1574]: Set /proc/self/oom_adj to -17
root at vicky:~# ps faux | grep 1574
root 1574 0.0 0.0 70488 3404 ? Ss 21:41 0:00 \_
sshd: root at pts/1
root at vicky:~# ps faux | grep "1568"
root 1568 0.0 0.0 49168 1152 ?...
2011 May 30
0
Fwd: cgroup OOM killer loop causes system to lockup (possible fix included)
...ay 30, 2011 at 9:03 PM
Subject: Re: cgroup OOM killer loop causes system to lockup (possible fix
included)
To: debian-kernel at lists.debian.org, debian-user at lists.debian.org
More strangeness..
If I keep the kernel module loaded, but disable the entry in
/etc/network/interfaces for eth0, the oom_adj problem disappears. But then
ofc, I'm left with no network interface. I then tried binding
/etc/ssh/sshd_config to only listen on 127.0.0.1.. effectively bypassing the
eth0 interface, whilst still allowing it to be loaded. But the problem still
happens.
As a last ditch attempt, I tried restart...
2013 Sep 21
1
[PATCH] Fix oom_adj on Linux after sshd reload
Currently, on linux sshd attempts to remove itself from the influence of
oom-killer by modifying the oom_adj parameter for itself in proc to -17.
This is controlled via two functions; oom_adjust_setup() and
oom_adjust_restore().
Setup saves the old score (typically zero on initialization) and sets sshd
to -17 whilst oom_adjust_restore places the saved value from initialization
back into the running sshd...
2010 Nov 16
14
[Bug 1838] New: /proc/self/oom_adj needs to use /proc/self/oom_score_adj
https://bugzilla.mindrot.org/show_bug.cgi?id=1838
Summary: /proc/self/oom_adj needs to use
/proc/self/oom_score_adj
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: unassigned...
2008 May 25
19
[Bug 1470] New: adjust Linux out-of-memory killer to stop sshd being killed
...to be more accurate).
It is useful to instruct the OOM killer never to kill sshd, since
almost everyone wants it to keep on running so that they have a chance
of dealing with the problem remotely. Originally I implemented this in
an init script, by getting sshd's pid and writing to
/proc/$pid/oom_adj, but Vaclav Ovsik pointed out in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480020 that that ends
up immortalising child processes too.
The attached patch is based on Vaclav's, though I tidied it up and
moved chunks of it into openbsd-compat/port-linux. The use of an
environment variable...
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 27974, UID 27, (mysqld) total-vm:3804672kB,
> anon-rss:2890828kB, file-rss:3324kB
>
> rsync whines he wants more RAM and... mysql get...
2011 May 13
3
XEN Dom 0 boot and Out of Memory issue
...omodeset
module /initrd-2.6.38.4.img
The machine boots normally in CenOS (2.6.38.4).
I am also attaching the log of the serial console. A snippet from the log file:
CentOS release 5.5 (Final)
Kernel 2.6.38.4 on an x86_64
xen109.itpl login: Xorg invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0, oom_score_adj=0
Pid: 2826, comm: Xorg Not tainted 2.6.38.4 #13
Call Trace:
[<ffffffff810ad565>] ? dump_header+0x7d/0xae
[<ffffffff810ad911>] ? oom_kill_process+0x46/0x151
[<ffffffff810adabe>] ? select_bad_process+0xa2/0x110
[<ffffffff810adc92>] ? out_of_memory+0x166/0...
2014 Feb 03
3
Memory leak - how to investigate
...st crash I got a long error message on the console.
"Oom-killer" was called repeatedly by httpd and named.
I paste below the first error message, which is long. There were several
long entries like this. I
- Jussi
[root at ns1 ~]# httpd invoked oom-killer: gfp_mask=0x280da, order=0,
oom_adj=0, oom_score_adj=0
httpd cpuset=/ mems_allowed=0
Pid: 2962, comm: httpd Not tainted 2.6.32-358.23.2.el6.x86_64 #1
Call Trace:
[<ffffffff810cb641>] ? cpuset_print_task_mems_allowed+0x91/0xb0
[<ffffffff8111ce40>] ? dump_header+0x90/0x1b0
[<ffffffff810e930e>] ? __delayacct_free...
2011 May 13
2
XEN Dom 0 boot and Out of Memory issue
...deset
module /initrd-2.6.38.4.img
The machine boots normally in CenOS (2.6.38.4).
I am not ale to attach the log of the serial console. A snippet from the log file:
CentOS release 5.5 (Final)
Kernel 2.6.38.4 on an x86_64
xen109.itpl login: Xorg invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0, oom_score_adj=0
Pid: 2826, comm: Xorg Not tainted 2.6.38.4 #13
Call Trace:
[<ffffffff810ad565>] ? dump_header+0x7d/0xae
[<ffffffff810ad911>] ? oom_kill_process+0x46/0x151
[<ffffffff810adabe>] ? select_bad_process+0xa2/0x110
[<ffffffff810adc92>] ? out_of_memory+0x166/0...
2011 Sep 05
5
Bug#640500: xen-hypervisor-4.0-amd64: xend invokes oomkiller and reboots machine when creating DomU's
...stream
When creating Xen DomU's, at some point xend invokes the oom-killer and
the entire machine restarts:
Sep 5 12:04:59 arbiter kernel: [259697.101212] __ratelimit: 136
callbacks suppressed
Sep 5 12:04:59 arbiter kernel: [259697.101218] xend invoked oom-killer:
gfp_mask=0x200da, order=0, oom_adj=0
Sep 5 12:04:59 arbiter kernel: [259697.101225] xend cpuset=/
mems_allowed=0
Sep 5 12:04:59 arbiter kernel: [259697.101230] Pid: 1841, comm: xend
Not tainted 2.6.32-5-xen-amd64 #1
Sep 5 12:06:23 arbiter kernel: imklog 4.6.4, log source = /proc/kmsg
started.
Sep 5 12:06:23 arbiter rsyslogd: [or...
2016 May 12
0
Kernel 2.6.32-573.22.1.el6.x86_64, higher than usual load
...flected by the individual CPU numbers within top, I now have a spattering of occasional daemon crashes that the vservers have historically never had. Such as, here is the start of a nameserver blowing up in my logs:
May 12 04:03:41 XXX kernel: named invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0 : #
May 12 04:03:41 XXX kernel: named cpuset=/ mems_allowed=0 : #
May 12 04:03:41 XXX kernel: Pid: 2208, comm: named Not tainted 2.6.32-573.26.1.el6.x86_64 #1 : #
May 12 04:03:41 XXX kernel: Call Trace: : #
This nameserver has never had a problem with its memory. And, there...
2014 Mar 21
0
(no subject)
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 27974, UID 27, (mysqld) total-vm:3804672kB, anon-rss:2890828kB, file-rss:3324kB
rsync whines he wants more RAM and... mysql gets killed...
That makes me a bit sad!
An...
2014 Jan 10
0
Suggestion for "known issues and debugging" additional content
...9.296889] Out of memory: Kill process 11810 (rsync) score 2 or sacrifice child
Jan? 9 19:54:45 ubuntu kernel: [371329.296946] Killed process 11810 (rsync) total-vm:66120kB, anon-rss:0kB, file-rss:4kB
Jan? 9 20:30:58 ubuntu kernel: [373501.815163] sshd invoked oom-killer: gfp_mask=0x201da,
order=0, oom_adj=0, oom_score_adj=0
Root cause: sshd was killing it's child rsync because the OS was out of
RAM.? This may be an uncommon occurrence, but I thought I'd toss it into the mix and let you decide if you want to include a tip covering this
cause of failure.? I only allocated 1G RAM to it bec...
2013 Feb 08
1
GlusterFS OOM Issue
Hello,
I am running GlusterFS version 3.2.7-2~bpo60+1 on Debian 6.0.6. Today, I
have experienced a a glusterfs process cause the server to invoke
oom_killer.
How exactly would I go about investigating this and coming up with a fix?
--
Steve King
Network/Linux Engineer - AdSafe Media
Cisco Certified Network Professional
CompTIA Linux+ Certified Professional
CompTIA A+ Certified Professional
2011 Sep 25
0
sshd 5.6p1 does not accept connections in fips mode
...ype RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /local/fips/etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/local/fips/sbin/sshd'
debug1: rexec_argv[1]='-Dedddp2222'
debug3: oom_adjust_setup
Set /proc/self/oom_adj from 0 to -17
debug2: fd 3 setting O_NONBLOCK
debug3: sock_set_v6only: set socket 3 IPV6_V6ONLY
debug1: Bind to port 2222 on ::.
Server listening on :: port 2222.
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 2222 on 0.0.0.0.
Server listening on 0.0.0.0 port 2...
2013 Oct 28
2
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
...rtc0)
Initializing network drop monitor service
Freeing unused kernel memory: 1456k freed
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 1052k freed
Freeing unused kernel memory: 1740k freed
dracut: dracut-004-303.el6
udev: starting version 147
udevd (61): /proc/61/oom_adj is deprecated, please use /proc/61/oom_score_adj instead.
dracut: Starting plymouth daemon
dracut Warning: No root device "block:/dev/hda1" found
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
dracut Warning: Signal caught!
dra...
2014 Jan 30
0
Announce: OpenSSH 6.5 released
...d using the
--without-stackprotect configure option.
* sshd(8): Add support for pre-authentication sandboxing using the
Capsicum API introduced in FreeBSD 10.
* Switch to a ChaCha20-based arc4random() PRNG for platforms that do
not provide their own.
* sshd(8): bz#2156: restore Linux oom_adj setting when handling
SIGHUP to maintain behaviour over retart.
* sshd(8): bz#2032: use local username in krb5_kuserok check rather
than full client name which may be of form user at REALM.
* ssh(1), sshd(8): Test for both the presence of ECC NID numbers in
OpenSSL and that they actual...
2013 Dec 22
5
[Bug 72978] New: nouveau E[ PFIFO][0000:01:00.0] CACHE_ERROR
...E_ERROR - ch 7
[Anna[7914]] subc 0 mthd 0x0060 data 0xbeef0201
[ 7151.678580] warning: process `MetroLL' used the deprecated sysctl system
call with 10.1.
[ 7152.408808] MetroLL[8098]: segfault at 0 ip 08f1a809 sp bff37510 error 4 in
MetroLL[8048000+1336000]
[ 7208.835103] fm (8122): /proc/8177/oom_adj is deprecated, please use
/proc/8177/oom_score_adj instead.
[ 7283.219248] nouveau E[ PFIFO][0000:01:00.0] DMA_PUSHER - ch 4
[gnome-shell[1368]] get 0x0020080cf4 put 0x0020081678 ib_get 0x000001c2 ib_put
0x000001c3 state 0x80000024 (err: INVALID_CMD) push 0x00406040
[ 7283.222138] nouveau E[ PGR...
2018 Jul 17
2
Samba 4.8.3 out of memory error
...da samba[1472]: [2018/07/16 14:12:29.374518, 0]
../source4/dsdb/kcc/kcc_periodic.c:693(samba_kcc_done)
Jul 16 14:12:30 soda samba[1472]:
../source4/dsdb/kcc/kcc_periodic.c:693: Failed samba_kcc -
NT_STATUS_IO_TIMEOUT
Jul 16 14:14:35 soda kernel: samba invoked oom-killer:
gfp_mask=0x200da, order=0, oom_adj=0, oom_score_adj=0
Jul 16 14:14:36 soda kernel: samba cpuset=/ mems_allowed=0
Jul 16 14:14:36 soda kernel: Pid: 27742, comm: samba Not tainted
2.6.32-696.30.1.el6.x86_64 #1
Jul 16 14:14:36 soda kernel: Call Trace:
Jul 16 14:14:36 soda kernel: [<ffffffff81134630>] ? dump_header+0x90/0x1b0
Jul...