From nobody Mon Jul 10 12:16:42 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R02zt26V1zZSyF for ; Mon, 10 Jul 2023 12:16:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R02zs6Jm5z3v2C for ; Mon, 10 Jul 2023 12:16:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688991401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p7Gt1C81oBhFtTmXTzgKGEW+vajY6OaaQxYFO6KTTRk=; b=Gss6DWYPRj67LeQv2bCTo2RBWjiYg549OvVYTvHf9BDXBAjDUzSaTLK3Aex7J6x5C/eaqs aFfrVdH5XIsqhB8/1Bn4HP1pgroO2BY47X4uHjsOOBGw6hh+Wax9D19hU2cUV00rK5DLMS eCArbsAKHUOMNgVGsMqmIiYR+laQMqwTbV4S7yr8qlttSA4/cDmmTx6tqfWsgi3fLcmYDD Z/FPM54D5vsx6W/D8FHaPKQYI9skaXdUO3gA+ra6SmRrpF8XRTbuJqessQYDCCHd0Io2ZF g3ha+5EGW2oTzpzU+MA7891HAS3b5/51NzFlJq340FlNqojR8qbM2FMU9Gjxjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688991401; a=rsa-sha256; cv=none; b=jm+ueK5e3mDNkeIzPRgXiVKjLGc8URVR9UYtezqLA6s04nAdFx6CcPaNcAYj9U7lR/NRDg MXn6mQZroBgbHqvFVQw1830wiCDHZ3GQSLflF0eBRMf8PEApFXFk0zd3g94ma9Wdk6ROlX EA0Vt7hhWeyRLIgs3lcpes7uNvhlH4oET0kOvAJxvb5NnoYHWCDH6SL6hBxfefkWV1HpA7 OG3ezj5A71qIGg3nEhtpvlyTY82A/CUaWDY8DfcHscJ1L1ih8q9jSXM/n9IqoVhly7+K0Q UYrv5xdMeAEcglOx8ptIO8339w/hTuYdlFlo9pWKymn1nTKdhRsEZ7kvqkahfA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R02zs5PvszkjB for ; Mon, 10 Jul 2023 12:16:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36ACGfO3058884 for ; Mon, 10 Jul 2023 12:16:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36ACGfw4058883 for bugs@FreeBSD.org; Mon, 10 Jul 2023 12:16:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272434] du and disk operations (like mv,cp,shutil.move/rmtree,os.rename) combination issues Date: Mon, 10 Jul 2023 12:16:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: meetshamsher@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272434 --- Comment #6 from shamsher --- Also just for info when replacing df from du then not seeing hang in any folder. Looks with df combination it's working fine but not with du combination. $ cat du.py=20 import os import time; while 1: os.system("du /") <<-- here replaced du with df time.sleep(5) note: dir1: subdir + file have been created inside /data/infra folder as be= low: $ cat createfiles.py=20 import os i =3D 0 import time while i < 50: j =3D 0 path =3D "/data/infra/dir1/dir" + str(i) os.makedirs(path) while j < 10: path1 =3D "/data/infra/dir1/dir" + str(i) + "/file" + str(j) # cmd =3D "touch " + path1 # os.system(cmd) f =3D open(path1,"w") f.write("Hit the issue") j +=3D 1 i+=3D1 Steps : 1- create dir : /data/infra 2- inside above folder execute "python createfiles.py" 3- run "python mode-move-delete.py >/dev/null & " 4- run "python du.py > /dev/null &" Wait for sometime issues will get hit in one of the folder. Sys config/resource- cpu:1, RAM:128M, Disk:250GB --=20 You are receiving this mail because: You are the assignee for the bug.=