* [dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory)
@ 2016-08-24 21:14 Ajay Khambadkone
2016-08-25 14:02 ` Ajay Khambadkone
0 siblings, 1 reply; 2+ messages in thread
From: Ajay Khambadkone @ 2016-08-24 21:14 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory)
2016-08-24 21:14 [dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory) Ajay Khambadkone
@ 2016-08-25 14:02 ` Ajay Khambadkone
0 siblings, 0 replies; 2+ messages in thread
From: Ajay Khambadkone @ 2016-08-25 14:02 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-25 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24 21:14 [dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory) Ajay Khambadkone
2016-08-25 14:02 ` Ajay Khambadkone
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).