11-28-2007
Server Hanging frequently - urgent help required
hi,
I am facing a sever problem in mu HO-UX 11.11.0 Server which is getting hanged for last 3/4 days.
Its giveing error insufficient memory. Earlier this problem was not there.
We are using oour ERP & informix on the same. There no heavy & sudden increase of data.
When I checked the output of "kmeminfo" it was as follows:
# ./kmeminfo
tool: kmeminfo 7.18 - libp4 9.295 - HP CONFIDENTIAL
unix: /stand/vmunix 11.11 64bit PA2.0 on host "bslddr"
core: /dev/kmem live
link: Fri Aug 5 18:18:29 IST 2005
boot: Wed Nov 28 20:59:15 2007
time: Thu Nov 29 08:13:50 2007
nbpg: 4096 bytes
----------------------------------------------------------------------
Physical memory usage summary (in page/byte/percent):
Physical memory = 1048064 4.0g 100%
Free memory = 13785 53.8m 1%
User processes = 364211 1.4g 35% details with -user
System = 666286 2.5g 64%
Kernel = 177654 694.0m 17% kernel text and data
Dynamic Arenas = 74176 289.8m 7% details with -arena
M_TEMP = 57616 225.1m 5%
M_SPINLOCK = 4328 16.9m 0%
M_SWAP = 2080 8.1m 0%
ALLOCB_MBLK_LM = 1467 5.7m 0%
M_VXVM = 1367 5.3m 0%
Other arenas = 7318 28.6m 1% details with -arena
Super page pool = 8 32.0k 0% details with -kas
Static Tables = 91602 357.8m 9% details with -static
nbuf = 46576 181.9m 4% bufcache headers
pfdat = 23921 93.4m 2%
htbl2_0 = 8192 32.0m 1%
pfn_to_virt = 3986 15.6m 0%
text = 2719 10.6m 0% vmunix text section
Other tables = 6206 24.2m 1% details with -static
Buffer cache = 488632 1.9g 47% details with -bufcache
UFC meta mrg = 0 0.0 0%
UFC file mrg = 0 0.0 0%
The buffer cache was using very high memory.
Please help me out.
Regards,
Nilesh
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am writing a small 'C' program to add very large floating point numbers. Now the program should be capable of adding the maximum floating point number that is possible on Sun Solaris machine.
Can some let me know whether there is any extra logic that needs to applied for making sure... (2 Replies)
Discussion started by: kkumar1975
2 Replies
2. Programming
Hello,
I am doing a program in C on UNIX Platform. I am required to make it display the Machine Name, OS name and OS Release version using uname.
Now I went through the man pages and found out that uname can be implemented using -
#include <sys/utsname.h>
int uname (name)
struct... (2 Replies)
Discussion started by: rm1
2 Replies
3. UNIX for Dummies Questions & Answers
Hi UNIX Gurus,
I have got the following requirement and totally :confused: how to proceed.
A file is dummy.lst is there in the following format:--
ID NAME TYPE_ID
-------- --------- -----------
1947 Asia ... (1 Reply)
Discussion started by: rahul26
1 Replies
4. Shell Programming and Scripting
I have a text file, with a fixed format of certain data.
I have to extract certain fields of data.
Then store it in a structure.
Is it possible to use shell commands by making a system call from a C PROGRAM and then store the extracted data in the structure (which has been declared in the C... (1 Reply)
Discussion started by: umanglalani
1 Replies
5. UNIX for Dummies Questions & Answers
O/P of the uname -a
Server Server 4.0 3.0 3516 Pentium IV(TM)-ISA/PCI
Server is getting rebooted frequetly...
I don't know what is the problem in server ...
Any help why the server is getting rebooted frequetly.
Can i check what is the problem like in log files (5 Replies)
Discussion started by: srikanthus2002
5 Replies
6. AIX
Hi all,
Could you please give me the command to know which is the default block size for a file on AIX ?
Thank a lot ! :b: (2 Replies)
Discussion started by: V3l0
2 Replies
7. UNIX for Dummies Questions & Answers
HI All ,
Pardon me for asking some very basic questions,
I would be grateful if someone can help.
I am trying to execute a shell script which runs multiple processes in background. It includes various operations like copying , DB operations etc etc.
Now problem is that the complete... (1 Reply)
Discussion started by: gpta_varun
1 Replies
8. Solaris
Deall All,
I have facing some problem. I have a Sun 4500 Server at the customer place. Now the server is not booting mean's once the server is coming up it is automatically rebooting. As this is the critical server for the customer that is use for production .
Can this be solved by... (10 Replies)
Discussion started by: sudhansu
10 Replies
9. Shell Programming and Scripting
Hi Friends
I have created a shell script to connect to a windows server. But the problem is while trying to run the script I am not getting any output. After running the script it is hanged and the prompt is not showing until if I press the ctrl+Z to break the script. I also tried using the FTP... (2 Replies)
Discussion started by: Kannannair
2 Replies
10. Red Hat
HI,
I am facing the issue, while mounting servrt is getting hanged.
mount 10.10.10.1/test /test (while running this command server is getting hanged)
I have defined in /etc/exports
/test 10.10.10.2 (rw,sync,no_root_squash)
I have started nfs, portmap services.
Please suggest... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
LEARN ABOUT MINIX
malloc_stats
MALLOC_STATS(3) Linux Programmer's Manual MALLOC_STATS(3)
NAME
malloc_stats - print memory allocation statistics
SYNOPSIS
#include <malloc.h>
void malloc_stats(void);
DESCRIPTION
The malloc_stats() function prints (on standard error) statistics about memory allocated by malloc(3) and related functions. For each
arena (allocation area), this function prints the total amount of memory allocated and the total number of bytes consumed by in-use alloca-
tions. (These two values correspond to the arena and uordblks fields retrieved by mallinfo(3).) In addition, the function prints the sum
of these two statistics for all arenas, and the maximum number of blocks and bytes that were ever simultaneously allocated using mmap(2).
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
+---------------+---------------+---------+
|Interface | Attribute | Value |
+---------------+---------------+---------+
|malloc_stats() | Thread safety | MT-Safe |
+---------------+---------------+---------+
CONFORMING TO
This function is a GNU extension.
NOTES
More detailed information about memory allocations in the main arena can be obtained using mallinfo(3).
SEE ALSO
mmap(2), mallinfo(3), malloc(3), malloc_info(3), mallopt(3)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2017-09-15 MALLOC_STATS(3)