DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ajay Khambadkone <ajayk@anovadata.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory)
Date: Thu, 25 Aug 2016 14:02:56 +0000	[thread overview]
Message-ID: <BN6PR11MB180973D7A5514D8CDB25E34AAAED0@BN6PR11MB1809.namprd11.prod.outlook.com> (raw)
In-Reply-To: <BN6PR11MB180989345A2B9D65D9BE2CD5AAEA0@BN6PR11MB1809.namprd11.prod.outlook.com>

Let me rephrase the question. 

I just started a skeleton app that uses dpdk, did the rte_eal_init.

After that I did a pthread_create that failed, why does this happen? 

How do I get around this?

-Ajay

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ajay Khambadkone
Sent: Wednesday, August 24, 2016 5:14 PM
To: dev@dpdk.org
Subject: [dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory)

I am running dpdk with my existing application and after rte_eal_init, other inits and rte_eal_remote_launch, It end up going through my existing app that starts some more threads.

I do see all the rte_* ran successfully. But the pthread_create calls from my existing app fails with the following logs,

VMM rlimit set to 16000000000
pthread_create: Cannot allocate memory
pthread_create: 11
movik_terminate called - program will exit


I have hugetables set up. I tried reducing the stack using ulimit -s 1024 and I still see the same issue.

Any idea?

-Ajay

      reply	other threads:[~2016-08-25 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 21:14 Ajay Khambadkone
2016-08-25 14:02 ` Ajay Khambadkone [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN6PR11MB180973D7A5514D8CDB25E34AAAED0@BN6PR11MB1809.namprd11.prod.outlook.com \
    --to=ajayk@anovadata.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).