Home > pthread create failed > pthread_create failed with error 12

Pthread_create Failed With Error 12

Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Non-*NIX Forums > Programming pthread_create Cannot allocate memory error code 12 User Name Remember Me? Password Programming This forum is for all programming questions. The question does not have to be directly related to Linux and any language is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 09-22-2006, 09:28 PM #1 goodman888 LQ Newbie Registered: Sep 2006 Location: HK Posts: 3 Rep: pthread_create Cannot allocate memory error code 12 every time I run the following code, it will stop at i=303, i.e. only 303 threads can be created. I searched Google with my best and couldn't find the answer. There were similar cases reported but no answers.... hope some

Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information http://www.linuxquestions.org/questions/programming-9/pthread_create-cannot-allocate-memory-error-code-12-a-486157/ Management IT Service Management Operations Management Server Management Software as a Service (SaaS) Software-Defined Data Center Storage Management All Software Servers Rack Servers Tower Servers Blade Servers Density Optimized Mission Critical Servers Servers for Cloud Server Management All Servers Storage All-flash and Hybrid Storage https://community.hpe.com/t5/Languages-and-Scripting/pthread-create-fails-with-error-12/td-p/4088155 Midrange and Enterprise Storage Entry Storage Systems Data Availability, Protection and Retention Software Defined Storage Management and Orchestration Storage Networking All Storage Networking Switches Routers Access Points and Controllers Wireless LAN Campus and Branch Networking Data Center Networking Wide Area Network Software Defined Networking Network Functions Virtualization Network Management All Networking About UsSupportClearType to search2086159Solutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Enable Workplace Productivity Cloud Security Big Data Mobility Infrastructure Internet of Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Secu

by CloudFlare Ray ID: 2f706fc142e616b2

Backports: jewel (pending) Backports: missing release Bug queue Bug queue - no subprojects Bug triage Ceph backlog Feature Requests Feedback My issues Need Review Open bugs - jewel Pending backport Priority queue Product Backlog Scrub Bug #1981 pthread_create failed with error 11: common/Thread.cc: 140: FAILED assert(ret == 0) Added by James Oakley over 4 years ago. Updated over 4 years ago. Status:Won't FixStart date:01/24/2012Priority:NormalDue date:Assignee:-% Done:0%Category:OSDTarget version:- Source: Reviewed: Tags: Affected Versions: Backport: ceph-qa-suite: Regression: Release: Severity: Needs Doc: Description I just upgraded one of my boxes from 0.39 to 0.40, and I am getting this shortly after starting the osds: Thread::try_create(): pthread_create failed with error 11common/Thread.cc: In function 'void Thread::create(size_t)', in thread '7fa4e985d700' common/Thread.cc: 140: FAILED assert(ret == 0) ceph version 0.40 (commit:7eea40ea37fb3a68a2042a2218c9b8c9c40a843e) 1: (Thread::create(unsigned long)+0x8a) [0x5c69ca] 2: (SimpleMessenger::Pipe::connect()+0x2aa0) [0x5bdce0] 3: (SimpleMessenger::Pipe::writer()+0x456) [0x5be7d6] 4: (SimpleMessenger::Pipe::Writer::entry()+0xd) [0x4b171d] 5: (()+0x7f05) [0x7fa685db4f05] 6: (clone()+0x6d) [0x7fa684d6f63d] ceph version 0.40 (commit:7eea40ea37fb3a68a2042a2218c9b8c9c40a843e) 1: (Thread::create(unsigned long)+0x8a) [0x5c69ca] 2: (SimpleMessenger::Pipe::connect()+0x2aa0) [0x5bdce0] 3: (SimpleMessenger::Pipe::writer()+0x456) [0x5be7d6] 4: (SimpleMessenger::Pipe::Writer::entry()+0xd) [0x4b171d] 5: (()+0x7f05) [0x7fa685db4f05] 6: (clone()+0x6d) [0x7fa684d6f63d] *** Caught signal (Aborted) ** in thread 7fa4e985d700 ceph version 0.40 (commit:7eea40ea37fb3a68a2042a2218c9b8c9c40a843e) 1: /usr/bin/ceph-osd() [0x5fab26] 2: (()+0xfd00) [0x7fa685dbcd00] 3: (gsignal()+0x35) [0x7fa684ccad95] 4: (abort()+0x17b) [0x7fa684ccc2

 

Related content

No related pages.