From owner-freebsd-geom@FreeBSD.ORG Tue Mar 27 14:04:00 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2595710656AC for ; Tue, 27 Mar 2012 14:04:00 +0000 (UTC) (envelope-from eric.saintetienne@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id C2FF98FC08 for ; Tue, 27 Mar 2012 14:03:59 +0000 (UTC) Received: by vcmm1 with SMTP id m1so7362416vcm.13 for ; Tue, 27 Mar 2012 07:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vc+9nCnReIUqrR9DTSu9oRXbvOur87bW+uqotVDZzaw=; b=bDHkUj9se0Jyoi1RmsV+/wMDmPaS3U5MxX1OksC1xqtw4MFCd99NReCaigmcE+ydOX gBxnJuSEJfHAQ9IMDwIXUgQtdp9KivyHWXDeyD/V2e3JzrhjeiIDTDtNYzsduAE5ydYy gPCxGI/MsLkGHCJQTaVO7LyMyPHIHWrWOrAitASESnOQPp/ZkVO8Sn27oOJWtYtqZywj xW18/g4DH7ZUDvAauqJbTpLOPMAxCCM0FPOaWpbkfRiQTnUSVe8TtL/kMM7wDwODNZmP j8vu0KB2EGOCqO2zru1wxyGTY51mfOFgWejmwxoMjnbfGjXgtKWKWY0WAhE5quwW8ZKl yXHQ== Received: by 10.52.29.244 with SMTP id n20mr10081899vdh.22.1332857038994; Tue, 27 Mar 2012 07:03:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.149.9 with HTTP; Tue, 27 Mar 2012 07:03:27 -0700 (PDT) In-Reply-To: References: From: Eric Saint-Etienne Date: Tue, 27 Mar 2012 15:03:27 +0100 Message-ID: To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: geom gate freezes the system X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 14:04:00 -0000 > I have no clue of what's happening. > Could someone experienced in geom have a look please? sysctl show buffers seems exhausted: vfs.maxbufspace: 90013696 vfs.bufspace: 89292800 After the filesystem lockage, these values have changed : vfs.ufs.dirhash_mem: 70984 90573 vfs.devfs.generation: 101 103 vfs.getnewbufcalls: 1135 31152 vfs.numfreebuffers: 5478 4839 vfs.numdirtybuffers: 16 245 vfs.recursiveflushes: 2 4766 vfs.bufreusecnt: 875 5450 vfs.bufmallocspace: 8192 6144 vfs.bufspace: 14336000 89292800 vfs.runningbufspace: 65536 5679104 vfs.cache.numfullpathfound: 36 253 vfs.cache.numfullpathcalls: 36 253 vfs.cache.nchstats: 29755 2576 38 0 2291 0 18 141 89820 3947 262 0 4187 0 48 253 vfs.cache.numneghits: 2576 3947 vfs.cache.numnegzaps: 10 184 vfs.cache.numposhits: 29755 89821 vfs.cache.numposzaps: 28 78 vfs.cache.nummisszap: 11 41 vfs.cache.nummiss: 2280 4146 vfs.cache.numchecks: 32742 94133 vfs.cache.dotdothits: 17 367 vfs.cache.dothits: 178 1208 vfs.cache.numcalls: 34854 99788 vfs.cache.numcache: 624 1259 vfs.cache.numneg: 39 61 vfs.reassignbufcalls: 310 10896 vfs.freevnodes: 53 197 vfs.numvnodes: 638 1403 (on the left, the original value, on the right the new value) for info the whole output before running /bin/cp on the mounted ggate0: vfs.ufs.dirhash_reclaimage: 5 vfs.ufs.dirhash_lowmemcount: 0 vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 90573 vfs.ufs.dirhash_maxmem: 2097152 vfs.ufs.dirhash_minsize: 2560 vfs.devfs.rule_depth: 1 vfs.devfs.generation: 103 vfs.nfs.downdelayinitial: 12 vfs.nfs.downdelayinterval: 30 vfs.nfs.skip_wcc_data_onerr: 1 vfs.nfs.nfs3_jukebox_delay: 10 vfs.nfs.reconnects: 0 vfs.nfs.bufpackets: 4 vfs.nfs.defect: 0 vfs.nfs.iodmax: 20 vfs.nfs.iodmin: 0 vfs.nfs.iodmaxidle: 120 vfs.nfs.diskless_rootpath: vfs.nfs.diskless_valid: 0 vfs.nfs.nfs_ip_paranoia: 1 vfs.nfs.nfs_directio_allow_mmap: 1 vfs.nfs.nfs_directio_enable: 0 vfs.nfs.clean_pages_on_close: 1 vfs.nfs.nfsv3_commit_on_close: 0 vfs.nfs.prime_access_cache: 0 vfs.nfs.access_cache_timeout: 60 vfs.pfs.trace: 0 vfs.pfs.vncache.misses: 0 vfs.pfs.vncache.hits: 0 vfs.pfs.vncache.maxentries: 0 vfs.pfs.vncache.entries: 0 vfs.flushwithdeps: 0 vfs.notbufdflashes: 0 vfs.flushbufqtarget: 100 vfs.getnewbufrestarts: 0 vfs.getnewbufcalls: 31152 vfs.hifreebuffers: 620 vfs.lofreebuffers: 310 vfs.numfreebuffers: 4839 vfs.dirtybufthresh: 1253 vfs.hidirtybuffers: 1393 vfs.lodirtybuffers: 696 vfs.numdirtybuffers: 245 vfs.recursiveflushes: 4766 vfs.altbufferflushes: 0 vfs.bdwriteskip: 0 vfs.dirtybufferflushes: 0 vfs.hirunningspace: 1048576 vfs.lorunningspace: 524288 vfs.bufdefragcnt: 0 vfs.buffreekvacnt: 0 vfs.bufreusecnt: 5450 vfs.hibufspace: 89358336 vfs.lobufspace: 89292800 vfs.maxmallocbufspace: 4467916 vfs.bufmallocspace: 6144 vfs.maxbufspace: 90013696 vfs.bufspace: 89292800 vfs.runningbufspace: 5679104 vfs.vmiodirenable: 1 vfs.cache.numfullpathfound: 253 vfs.cache.numfullpathfail4: 0 vfs.cache.numfullpathfail2: 0 vfs.cache.numfullpathfail1: 0 vfs.cache.numfullpathcalls: 253 vfs.cache.nchstats: 89820 3947 262 0 4187 0 48 253 vfs.cache.numupgrades: 1 vfs.cache.numneghits: 3947 vfs.cache.numnegzaps: 184 vfs.cache.numposhits: 89821 vfs.cache.numposzaps: 78 vfs.cache.nummisszap: 41 vfs.cache.nummiss: 4146 vfs.cache.numchecks: 94133 vfs.cache.dotdothits: 367 vfs.cache.dothits: 1208 vfs.cache.numcalls: 99788 vfs.cache.numcache: 1259 vfs.cache.numneg: 61 vfs.ncsizefactor: 2 vfs.ncnegfactor: 16 vfs.read_max: 8 vfs.write_behind: 1 vfs.lookup_shared: 1 vfs.usermount: 0 vfs.worklist_len: 5 vfs.timestamp_precision: 0 vfs.reassignbufcalls: 10896 vfs.vlru_allow_cache_src: 0 vfs.freevnodes: 197 vfs.wantfreevnodes: 13222 vfs.numvnodes: 1403 vfs.nfs_common.realign_count: 0 vfs.nfs_common.realign_test: 0 vfs.nfsrv.nfs_privport: 0 vfs.nfsrv.fha.bin_shift: 18 vfs.nfsrv.fha.max_nfsds_per_fh: 8 vfs.nfsrv.fha.max_reqs_per_nfsd: 4 vfs.nfsrv.fha.fhe_stats: No file handle entries. vfs.nfsrv.commit_miss: 0 vfs.nfsrv.commit_blks: 0 vfs.nfsrv.async: 0 vfs.nfsrv.gatherdelay_v3: 0 vfs.nfsrv.gatherdelay: 10000 vfs.nfsrv.minthreads: 1 vfs.nfsrv.maxthreads: 1 vfs.nfsrv.threads: 0 vfs.nfsrv.request_space_used: 0 vfs.nfsrv.request_space_used_highest: 0 vfs.nfsrv.request_space_high: 12877824 vfs.nfsrv.request_space_low: 8585216 vfs.nfsrv.request_space_throttled: 0 vfs.nfsrv.request_space_throttle_count: 0 vfs.ffs.doreallocblks: 1 vfs.ffs.doasyncfree: 1 vfs.ffs.compute_summary_at_mount: 0 vfs.fuse.kernelabi_minor: 8 vfs.fuse.kernelabi_major: 7 vfs.fuse.maxtickets: 0 vfs.fuse.iov_credit: 16 vfs.fuse.iov_permanent_bufsize: 524288 vfs.fuse.maxfreetickets: 1024 vfs.fuse.fuse4bsd_version: 0.3.9-pre1 vfs.fuse.sync_unmount: 1 vfs.fuse.enforce_dev_perms: 0 vfs.fuse.init_backgrounded: 1 -eric