This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: EVMK2H
We are using a EVMK2H REV4.0 board with SDK ti-processor-sdk-linux-k2hk-evm-03.02.00.05-Linux-x86.
We submitted an earlier question regarding a limit we ran against in creating threads within a single root process, where we were
limited to creating 509 threads. It turns out the issue is not related to virtual memory.
We traced that the problem is related to the fact that we are running our thread creation program under a root ssh shell.It turns out that we are being limited by a pids cgroup limit associated with dropbear.We found that if we set the dropbear entry that is created under /sys/fs/cgroup/pids/system.slice/system-dropbear.slice to "max" we are then able to create thousands of threads.
Example: In this example the pid of our ssh session was 46408. If we execute the following command: echo "max" > /email@example.com:22-10.10.10.2:46408.service/pids.maxwe are then able to create the number of threads we need.
Before we make the change the pids.max limit for this entry is 512.So far we have been unable to find out how to change this default value.
How can this default value of 512 be changed?
If necessary I can post this to the Linux group as well but it seems closely related to the k2hk-evm SDK.
All help is appreciated.
Please make sure you read the forum guidelines first.
In reply to Yordan Kovachev:
In reply to Bob Lewis:
At this point I am trying to figure out if there is some configuration setting or something I can update such that when the dropbear cgroup entry is created such that the value of pids.max is set to a value of my choosing
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.