From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 441DFA00C3 for ; Sun, 11 Sep 2022 19:55:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCF72400D4; Sun, 11 Sep 2022 19:55:48 +0200 (CEST) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by mails.dpdk.org (Postfix) with ESMTP id 1E9814003F for ; Sun, 11 Sep 2022 19:55:47 +0200 (CEST) Received: by mail-yb1-f178.google.com with SMTP id 198so4637789ybc.1 for ; Sun, 11 Sep 2022 10:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=tV5pzzYCCsSskRHF/7uSTrH8pUV1pWWoOWsj+YJ+EXs=; b=aIoaxxf99cxLVMQxAhSRJpE+6jpLiVvJvxNgF1LTSZzn68jwnIeeszNb0aUEgE6DMC iMwomgh/PiBAlKJRGC9EXVAcROOaTGjQE5Y5+I2yEeQVKZh/lizRRdvDSktxuHPaepd7 PyibprwTQUIpUoP2OjxchFs15UZYzl1vfyP0pIhzrrvv47M1l+LU9GAOaAmDZ3g0E37z pGGML/E8eO0ivF0gmTbfTtrhytb/60Zy6MWy6DueTdO/mOy+hkBOxi+ZSj+/vlqY9ju+ +H/LM3eEQovbvbCLHcuGV81lKZEHsih7TpP0nKRA03xjjaGwu1ticEtJ+qgn6Xfau96L rUKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=tV5pzzYCCsSskRHF/7uSTrH8pUV1pWWoOWsj+YJ+EXs=; b=Ih4JtXmaF/sDC7F7gS6S37hmObKCKwyFB9zg2nf1aIveRNz2IZNzNLhhT9rNToElAF 1oudhVZmvCwLfCnrkYeJJgptB7kR3TjOObYYXHopb901vKJ7cQ1GsqDY4KX/dXSsJBQ7 4C2Omc/rWBpnYWRYnGJqy3WyP8rlyifBN7DKoMOR9QJhWNAuI9Z7xnGssXKuDUu6iw+r BTq911mAwJTx/I7fymvmoLntUnN/TZBvf680mLCmgG+yVkyQ8sUFnaPKvEXTxMF2mfp+ J9p/4NwM/fFcIledAdjiRParXPNKgzd7plPNHSdFG8Wk/sASuJxLrI35Rgg7/Xq8TQjk Aj0w== X-Gm-Message-State: ACgBeo0yZrLUUQZas9XGDaPSaRnkk6W69nmrmmraeKX/U5O/XMaMpgmn 59w6WqjugiS74RUzJc2G5TrC68skR936RGAvjIUTKxIPyYs= X-Google-Smtp-Source: AA6agR60IBCZ3fKRb7VxvuI3FbCh6wuv0SRKcxf7s29g10GhJ0qakyVtbsRV8hRrTcMh954jQiLfl3oN4ZJw69BvyG4= X-Received: by 2002:a5b:aca:0:b0:6ae:269b:5dc1 with SMTP id a10-20020a5b0aca000000b006ae269b5dc1mr15315128ybr.521.1662918946235; Sun, 11 Sep 2022 10:55:46 -0700 (PDT) MIME-Version: 1.0 From: Antonio Di Bacco Date: Sun, 11 Sep 2022 19:55:35 +0200 Message-ID: Subject: Launching a new primary process from a primary To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org I know, because I was told by Anatoly Burakov (DPDK developer), that it is possible to launch a new primary from within a primary using system() syscall or fork but a few FDs should be closed. Do you know of a DPDK example that exemplifies such a procedure? If you don't follow the exact procedure you can generate a deadlock. This is what I've been told: There is a way to launch a primary process from another primary in our test app - if you check the code, it closes a bunch of fd's before launching the process - that's most likely what you need to do as that would be what causes the deadlocks (concurrent access from multiple processes who think they're primaries). Do you know where can I find the "test app". Thx.