Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 06:59:40 -0800 (PST)
From:      elian@xs4all.nl
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/25062: uid0 processes get killed after getswapspace failed caused by normal user process
Message-ID:  <200102131459.f1DExeM17860@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25062
>Category:       kern
>Synopsis:       uid0 processes get killed after getswapspace failed caused by normal user process
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 13 07:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Elian de Jager
>Release:        FreeBSD 4.2-RELEASE #0
>Organization:
Recess Metro
>Environment:
FreeBSD recess.metro 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Jan  2 12:22:00 CET 2001     eli@recess.metro:/usr/src/sys/compile/METRO  i386
>Description:
Several processes were killed apparently by running out of swapspace. The application used was "convert" from the "ImageMagick" package which we use for tiff>pdf translation. This process ran under normal uid. 

A summery from systctl -a:
[...]
machdep.msgbuf: swap_pager_getswapspace: failed
swap_pager_getswapspace: failed  (repeated several times}
<3>pid 67939 (john), uid 1003, was killed: out of swap space
swap_pager_getswapspace: failed
<3>pid 69085 (top), uid 0, was killed: out of swap space
swap_pager_getswapspace: failed
<3>pid 173 (libhttpd.ep), uid 0, was killed: out of swap space
swap_pager_getswapspace: failed
<3>pid 93 (syslogd), uid 0, was killed: out of swap space
swap_pager_getswapspace: failed
<3>pid 75699 (convert), uid 1003, was killed: out of swap space
swap_pager_getswapspace: failed (repeated several times}
swap_pager_getswapspace: failed
<3>pid 75766 (top), uid 0, was killed: out of swap space
swap_pager_getswapspace: failed
<3>pid 44146 (dnetc), uid 1005, was killed: out of swap space
swap_pager_getswapspace: failed
<3>pid 75771 (cron), uid 0, was killed: out of swap space
<3>pid 75771 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75769 (cron), uid 0, was killed: out of swap space
<3>pid 75769 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75770 (cron), uid 0, was killed: out of swap space
<3>pid 75771 (cron), uid 0, was killed: out of swap space
<3>pid 75765 (convert), uid 1003, was killed: out of swap space
<3>pid 75771 (cron), uid 0, was killed: out of swap space
swap_pager_getswapspace: failed
swap_pager_getswapspace: failed [...]


I dont know if this is normal behaviour under *BSD but I think it would be nicer to kill just that particular memory absorbing process instead of syslogd or any other process not run by that user [etc.]


>How-To-Repeat:
run the batch convert again


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102131459.f1DExeM17860>