From nobody@FreeBSD.org  Wed Feb 26 10:55:45 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 21F93FE8
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Feb 2014 10:55:45 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id E7A451A43
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Feb 2014 10:55:44 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1QAtiZE003678
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Feb 2014 10:55:44 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1QAtifK003677;
	Wed, 26 Feb 2014 10:55:44 GMT
	(envelope-from nobody)
Message-Id: <201402261055.s1QAtifK003677@cgiserv.freebsd.org>
Date: Wed, 26 Feb 2014 10:55:44 GMT
From: RK <hsn@sendmail.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: swapoff runs too early during shutdown
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187081
>Category:       conf
>Synopsis:       swapoff runs too early during shutdown
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 26 11:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     RK
>Release:        10.0
>Organization:
>Environment:
>Description:
swapoff runs too early during system shutdown. it runs before other memory intensive daemons are stopped. For example trafficserver or varnish.

swapoff fails with out of memory error - system cant run without swap at that time. shutdown seems to continue normally even with swap still enabled.
>How-To-Repeat:

>Fix:


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