From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id E1DC122A88 for ; Mon, 22 Jan 2024 02:03:00 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705885380; b=N8xoqRZPcllosb+3xK14UAhYKxmbonQeMYOjKTqSoVzzsR+df7uuYd+wDphXGEbZaR03QIwqA/ URw2CfdsDt2iu3ve1n1XE5w4JCZhAJQH+kCrKWnZWwcFdL6IiLlnbJkZouMrLBs3juUmnWtDev +Co/CqytAfibbQMgP6nGjl9/sWxR11S7+4hXD0100hfStbXAX2LRvp1DkRYYVH6fgX/AZYGGcq e+QcxTU+srmGhFWYep8fFz4vvwteqkUFrYkvpMJcCnabtqd0zbO/1I/tRqq0E/njaSNHLXsZ0T KSVKAWzPvdDuotF9r4fO4C55+9s5cmZxUl7YZNY68450Mg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f52.google.com) smtp.remote-ip=209.85.167.52; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1705885380; bh=F3RbRz5fJGHBVdQfp9/phi+DSTYdgcB61GQPaj6R1ng=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=lRSofuA6qte5JAmT4D5qPTG/kiJmmby/BNvsRRjVBxA0faRCc1P5gnqbVB5TrJNc55QX26ss0w Amto2xaqwk+YNao7XiYInvFRzBYHO3BWbX/hzYL3gzet5eZXW9wVsaI9mDjjuQIYUTgNJEphj7 wncjPGjPWHyef3vSVG/++E/Rih21eVpQWTaPqraZL3YSgoSeW3wBRUBx2wC+18Jys8oBDNNHAW 6P7p276STrx3hSaGkLgg5XWinhYmYeXIX9w0OnsrXoT2fP+bT4Dn/MeBHED+LIXGdsUy2v+F8R mdEqKPQWDKj5afL9XlrLDumsV1CqmgImlLUMUOeb8JRVOA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=CRtXZiW5Sn47Msxrby7BkRj6Pt/GYg3NmSF131SAtR0=; b=lSO9+jzytWSNeUyv96n7Lty5wP 5SV9G9qfq25lSLdrdvd/7qbYVXhasret1v+SMQbLEg+hNVr/0lNMwH49yokw+ldNZ0cHgK0X1C5t9 uhpUMuQjAzgDIRwO0plxXyrjRtCdgOwBsNbJgEm5qUDe2X90D4qfYPOsaAoUqRypeLvBDdT1b3yw5 F+vN+MRKlFoek5jnSLCnHWiBZYRCxmEos7/dKSwBZIduz81UI21hRunm+Vyd2PFeKWI4jtksshuXf tGIFUTEaW1TxlfYfXlfDdtjCyH9UizRRi+m02jFMco6Fw74tnNTHEb3ARMaLxKytJG6Ekz3pE8u1L jE8gGXPQ==; Received: by zero.zsh.org with local id 1rRiiJ-000KMY-PS; Mon, 22 Jan 2024 01:02:59 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f52.google.com) smtp.remote-ip=209.85.167.52; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-lf1-f52.google.com ([209.85.167.52]:52458) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rRihm-000JcV-V4; Mon, 22 Jan 2024 01:02:28 +0000 Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-50eac018059so3358230e87.0 for ; Sun, 21 Jan 2024 17:02:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20230601.gappssmtp.com; s=20230601; t=1705885346; x=1706490146; darn=zsh.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CRtXZiW5Sn47Msxrby7BkRj6Pt/GYg3NmSF131SAtR0=; b=puG71MCN86erLu66X4HCmS3VulbRWN9G8s0cIZYLqGInz9I/R3SwRyf0x7DDpSSvgT 8PU4D3Gq6+lsmqCSiSwciF5zNScEiiAPvD+PsLwIjqA2v+c2o4wuGhkaV7yUwwzHiSdU 8SbnJzHBN80heKGUgiCtUhY/bhZzM1KN00NeYXJNaNC1G3Tee4GzApgKdAbxzMRwuUAf TKCQVkz8umJRAHC37mRs1MkZ2PmRGhyZGRIvQoImS1hdb14Zsu/M//KDrJ5aNtE6x3vS 8uHE8E/hfRixq/Lspg4q+5VFfLPMviq/Xlsxx/7UiYUehW5u9XGLs7XGyHwbjGp7f/fL sqdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705885346; x=1706490146; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CRtXZiW5Sn47Msxrby7BkRj6Pt/GYg3NmSF131SAtR0=; b=Sqb72m1oLA54un4VqMoq3BD5uEL50J9phWWi4ux7ROc6bWZT0+hYj0EIsjGe31Ym6k iIAUV6msJyp5riQm3DdFM/wWyu5WMNAjOb1Nh3vUT7O8pWCCOXQ144d9+bqsjXqHMVY/ mNPV3p0UiDkpbIt3xiK3WeXNvJydgSvteR4RJ9+cL1UASwHWGJLVUrGc4fWmhmDQfDN4 Djrc0o1T0L7uwrlXwo/Runo82Dp5jRu7sNPciySbIw+2k/IOD/xtP/JSF+wOo4YAwQBb rfgbeCnzJradCPAzCYLkR2DjbMf5wS7I9XYOfr35BV6WZ6b/MvbjA55h0SYKk9iAvgbY cYSg== X-Gm-Message-State: AOJu0YzZILIDXYQvxJosITik1jBw5L3b/9s4lvb+kpLZ4GVfa2DgZA80 ZnSqetgFGetwJ37+OUmu3oV/CxXudmf7XRHWDlK77ZvtAKvwqxkSCIxvCWBtWWZcR8wupRCk6FN m5YUlwOcPsZhsPkk8/bPSP91FGsopX10C10VC X-Google-Smtp-Source: AGHT+IGKjMvEXw+uXA7OCa7He0f1MeTGCa9v3+zbZq1+4vSqjMJ2EBcXXAKQPIexd8ORRc1pckjz4AhoNF35y5KfMS8= X-Received: by 2002:ac2:518c:0:b0:50e:699b:55f with SMTP id u12-20020ac2518c000000b0050e699b055fmr1366664lfi.66.1705885346012; Sun, 21 Jan 2024 17:02:26 -0800 (PST) MIME-Version: 1.0 References: <62da1cec-bcc9-49ed-8f5f-ad428fdd3f20@eastlink.ca> <134e5295-418e-4872-a251-1f9745afdd55@eastlink.ca> In-Reply-To: <134e5295-418e-4872-a251-1f9745afdd55@eastlink.ca> From: Bart Schaefer Date: Sun, 21 Jan 2024 17:02:14 -0800 Message-ID: Subject: Re: /proc slows % echo /**/*/etc/r*(/N) To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29540 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Sun, Jan 21, 2024 at 4:07=E2=80=AFPM Ray Andrews wrote: > > Shouldn't there be an error msg in such cases? Are you sure there wasn't, somewhere above all that output? As far as I can tell there's no way it actually could have finished. If it didn't run out of memory, the lengths of some of the generated paths must have exceeded the system PATH_MAX and stopped the descent that way. > Some message would have alerted me to the reality of the loop. A symlink loop is not detectable without extraordinary measures such as recording and testing the inode number of every directory visited.