Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to change allocated memory for a process? Post 303034115 by RudiC on Thursday 18th of April 2019 03:45:12 PM
Old 04-18-2019
The only 2062780 I see in your code snippet is being written to the kernel parameter "threads-max", the maximum allowed processes / threads on the system. What makes you think this has to do with memory allocation?
 

10 More Discussions You Might Find Interesting

1. Solaris

Memory allocated

Hi, How to find out what is the maximum memory allocated to TOMCAT server in SunOS 5.8? The Tomcat server crashes down during peak times.... Regards (1 Reply)
Discussion started by: baanprog
1 Replies

2. UNIX for Advanced & Expert Users

process memory change in unix

Hello! I was wondering if I could trouble all your experts with a couple questions regarding checking memory usage changes during the run time in the specific program (process) under UNIX. 1. After the program starts running, is ps the best way to tell the total memory usage at the any time? ... (2 Replies)
Discussion started by: aginger
2 Replies

3. AIX

amount of memory allocated to large page

We just set up a system to use large pages. I want to know if there is a command to see how much of the memory is being used for large pages. For example if we have a system with 8GB of RAm assigned and it has been set to use 4GB for large pages is there a command to show that 4GB of the *GB is... (1 Reply)
Discussion started by: daveisme
1 Replies

4. Programming

Why memory allocated through malloc should be freed ?

Actually for a process to run it needs text, stack , heap and data segments. All these find a place in the physical memory. Out of these 4 only heap does exist after the termination of the process that created it. I want to know the exact reason why this happens. Also why the other process need to... (20 Replies)
Discussion started by: karthiktceit
20 Replies

5. HP-UX

how to find size of memory allocated to a pointer?

Hi, Am new to HP UX , is there a way to find out the size of memory allocated to a pointer on hp ux? For example we can use the _msize() on windows to find the size of memory allocated to a pointer . #include <stdio.h> #include <malloc.h> void main() { void *buffer; ... (0 Replies)
Discussion started by: Wkdunreal
0 Replies

6. UNIX for Dummies Questions & Answers

change the memory address of ld.linux-so in a dynamically linked process

hi, For some special reason , I'd like to control the memory address for the shared libraries in my dynamically linked process. And it is the "ld" which interpret the dynamically linked library, and in my system, the "ld-linux.so.2" is put at 0x00812000. Then I use "prelink -r" command to change... (0 Replies)
Discussion started by: zerocool_08
0 Replies

7. Linux

change the memory address of ld.linux-so in a dynamically linked process

hi, For some special reason , I'd like to control the memory address for the shared libraries in my dynamically linked process. And it is the "ld" which interpret the dynamically linked library, and in my system, the "ld-linux.so.2" is put at 0x00812000. Then I use "prelink -r" command to... (3 Replies)
Discussion started by: zerocool_08
3 Replies

8. Programming

Regarding the maximum memory allocated by malloc() function on HP-UX B11.11

In a 'C' program,when I am trying to allocate memory with the help of malloc () function, it is allocating the memory up to a certain limit for e.g. in my case, it is 670 MB (approx). malloc() returns NULL if I allocate more than this amount of memory.When I tried to allocate memory in chunks of... (1 Reply)
Discussion started by: vipinsachan
1 Replies

9. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

10. Red Hat

KVM/Qemu allocated memory not showing in guest

So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT) We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well. We are trying to create another guest with 64 CPUs and 80 gigs of ram. We setup the system using... (0 Replies)
Discussion started by: joeg1484
0 Replies
sys_attrs_net(5)						File Formats Manual						  sys_attrs_net(5)

NAME
sys_attrs_net - net subsystem attributes DESCRIPTION
This reference page lists and describes attributes for the Network (net) kernel subsystem. Refer to the sys_attrs(5) reference page for an introduction to the topic of kernel subsystem attributes. Enables (1) or disables (0) traffic control on all network interfaces on the system. Default value: 0 (disabled) Minimum value: 0 Maximum value: 1 Maximum number of mbufs enqueued on an interface's output queue before packets are dropped. Default value: 1024 (bytes) Minimum value: 1024 Maximum value: 65535 The default maximum transmission unit (MTU) for all loopback (lo) interfaces. Default value: 4096 (bytes) Minimum value: 68 Maximum value: 65535 Maximum number of loopback (lo) interfaces on a system. The interfaces are numbered sequentially starting with 0 (for example, lo0). Default value: 1 (interface) Minimum value: 1 Maximum value: 16581375 (or until memory is exhausted) Enables (1) or disables (0) fair allocation of netisr protocol threads. When enabled (1), only 1 netisr thread runs for each proto- col queue. Default value: 1 (enabled) Minimum value: 0 Maximum value: 1 The priority of the netisr protocol threads. Default value: 33 Minimum value: 0 Maximum value: 63 Number of network threads configured in a system. Default value: n (Based on the number of CPUs in a system. For a system with one processor, the value is 1. For a multiprocessing system, the value is 1 plus the number of processors.) Minimum value: 1 Maximum value: 50 Number of packets (packet threshold) above which another netisr thread is started. Default value: 1 (packet) Minimum value: 1 Maximum value: INT_MAX, or 2 billion Number of packet filter devices on a system. Default value: 256 (devices), if PACKETFILTER option is configured in the kernel; otherwise, 0 Minimum value: 256 Maximum value: 4096 Number of serial line internet protocol (SLIP) lines. Default value: 1 (line) Minimum value: 1 Maximum value: 50 Depth of the kernel cache used by the screend facility. Default value: 8 (entries) Minimum value: 8 Maximum value: 16 Width of the kernel cache used by the screend facility. Default value: 8 (entries) Minimum value: 8 Maximum value: 4096 Maximum number of packets pending allowed in the screend facility queue. Default value: 32 (packets) Minimum value: 32 Maximum value: 16384 SEE ALSO
sys_attrs(5) System Configuration and Tuning sys_attrs_net(5)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy