From owner-freebsd-questions@freebsd.org Thu Nov 3 22:03:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6B90C2E921 for ; Thu, 3 Nov 2016 22:03:27 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound2.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id 79A9918F9 for ; Thu, 3 Nov 2016 22:03:26 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from [192.168.0.49] (5ec0d668.skybroadband.com [94.192.214.104]) (authenticated bits=0) by outbound.ifdnrg.com (8.15.2/8.15.2) with ESMTPSA id uA3LYLn3017934 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 3 Nov 2016 21:34:22 GMT (envelope-from paul@ifdnrg.com) X-Authentication-Warning: outbound.ifdnrg.com: Host 5ec0d668.skybroadband.com [94.192.214.104] claimed to be [192.168.0.49] To: freebsd-questions@freebsd.org From: Paul Macdonald Subject: snapshots on production best practice Message-ID: Date: Thu, 3 Nov 2016 21:34:26 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 22:03:27 -0000 Hi, We're recently come across an issue where server performance seems very tied to the number of ZFS snapshots on the box. (deleting some snapshots has an instant effect on web server load times for example) This is a system with 2 ZFS jails so likely exacerbated, however we tend to prune quite often, keeping for example (per zfs-jail) last 30 days, then weeklys perhaps going back 3-4 months, which doesn't seem outrageous. Obviously this is all largely dependent on what actual disk IO is going on, but i'd be interested to hear what others recommend. We also keep snapshots ( quite a lot) on the backup boxes which do no other work, without issue and thats maybe the answer right there, the convenience of local snapshots and the trivialness of creation has led us to let snapshots build up even on production boxes as we've seen no real general issues, but clearly there is work going on behind the scenes and performance must suffer. Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from £100.00pm ----------------------------------------------------