Memory allocation failure for pkgadd in solaries.


 
Thread Tools Search this Thread
Operating Systems Solaris Memory allocation failure for pkgadd in solaries.
# 1  
Old 10-22-2013
Memory allocation failure for pkgadd in solaries.

On installing a package in one of the solaries VM, i am getting the below error,

Code:
pkgadd: ERROR: memory allocation failure, errno=0
Installation of <CSCObac> failed.

We also collect some stat in the troubleshooting process but could not figure out why.

Code:
SNTDCAUJD04FD2# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 227G 16G 209G 8% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 28G 1.6M 28G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/SUNW,Netra-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
227G 16G 209G 8% /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Netra-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
227G 16G 209G 8% /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s3 32G 15G 16G 50% /var
swap 28G 8K 28G 1% /tmp
swap 28G 40K 28G 1% /var/run


SNTDCAUJD04FD2# vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s2 -- -- in sy cs us sy id
0 0 0 29346440 14882208 170 334 150 55 55 0 3 16 -0 0 0 869 2316 671 0 0 100

Can any one help to resolve this issue????

Last edited by DukeNuke2; 10-22-2013 at 06:46 AM..
# 2  
Old 10-22-2013
Quote:
On installing a package in one of the solaries VM, i am getting the below error,
Can you please explain your VM environment. What virtualisation platform is it?

You are trying to install a package on one guest operating system?
I assume this is not on the base (global) operating system?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory allocation problem

I am using ubuntu. I have written a program to calculate prime factors. it works perfectly fine till entered number is less than 9989 (or so ) but when one enters a number higher than that, for example 15000, it does not work. Can anyone guide me whats the problem ? although new codes are welcome,... (2 Replies)
Discussion started by: Abhishek_kumar
2 Replies

2. Programming

memory allocation for string in C

hi in the following code, how the memory is allocated for a1 which holds the values of a2 after cpy function call. #include <stdio.h> #include <string.h> void cpy(char* d, const char* s){ while(*d++=*s++); } main(){ char* a1; char* a2="done"; cpy(a1,a2); ... (3 Replies)
Discussion started by: mprakasheee
3 Replies

3. Shell Programming and Scripting

memory allocation to a variable

hello all.. i'm a beginner in shell scripting. I need to know what is really happening when we are creating a variable in shell scripting? how memory is allocated for that variable? (3 Replies)
Discussion started by: aarathy
3 Replies

4. Programming

Memory Allocation Query

When we dynamically allocate the memory say 100 integers say int *x = new int(1000); then does entire chunk of memory gets allocated at once after the completion of the statement? I mean will the the concept of page fault come into picture over here? (3 Replies)
Discussion started by: rupeshkp728
3 Replies

5. Programming

Memory allocation in C

Hi Experts I need some help in static memory allocation in C. I have a program in which I declared 2 variables, one char array and one integer. I was little surprised to see the addresses of the variables. First: int x; char a; printf("%u %u\n', &x, a); I got the addresses displayed... (2 Replies)
Discussion started by: unx_freak
2 Replies

6. Programming

Is there a problem with the memory allocation???

I have a scenario like the client has to search for the active server.There will be many servers.But not all server are active.And at a time not more than one server will be active. The client will be in active state always i.e, it should always search for an active server until it gets one.I... (1 Reply)
Discussion started by: vigneshinbox
1 Replies

7. Programming

Memory allocation problem

I have a program that will fetch some particular lines and store it in a buffer for further operations.The code which is given below works but with some errors.I couldn't trace out the error.Can anybody help on this plz?? #include <stdio.h> #include <stdlib.h> #include<string.h> #define... (1 Reply)
Discussion started by: vigneshinbox
1 Replies

8. HP-UX

Memory re-allocation Failure HP-UX for C++ module

HI I am getting core dump with "Memory re-allocation Failure" error can any one help me to get the possible reasons of getting this type of error, I am running the C++ code on HP-UX. Please help me thanx in advance (1 Reply)
Discussion started by: gyanusoni
1 Replies

9. UNIX for Advanced & Expert Users

threads and memory allocation

Hello! First of all, forgive me for bad English. When I starts new thread (pthread_create), system allocates some memory for it (for example, for thread's stack). I wonder when does it deallocate this memory? The problem is that I have a program which sometimes creates new threads and sometimes... (3 Replies)
Discussion started by: prankster
3 Replies

10. UNIX for Dummies Questions & Answers

memory allocation

I would like to know how I could allocate some more memory to a process. Please note that I am not the root user. (1 Reply)
Discussion started by: sagar
1 Replies
Login or Register to Ask a Question