Sponsored Content
Full Discussion: Program/ Memory Problems
Top Forums UNIX for Advanced & Expert Users Program/ Memory Problems Post 53902 by dbrundrett on Wednesday 28th of July 2004 05:26:09 AM
Old 07-28-2004
Program/ Memory Problems

I need some advise.

I have an application server running several applications. When I try and start a particular application when the others are running I receive the following. This is appearing in the core file that is created.

----------------------------------------------------------------------------------

program terminated by signal SEGV (no mapping at the fault address)
0xff141f10: _malloc_unlocked+0x021c: ld [%o0 + 0x8], %o1


[1] _malloc_unlocked(0xff1c2858, 0x1d4e60, 0xff1bc008, 0x5800, 0x298b08, 0x0), at 0xff141f10
[2] realloc(0xff1c2850, 0x2c01, 0xff1bc008, 0x295f00, 0x5800, 0x295f08), at 0xff142190
[3] osGetProcessList(0xffbef168, 0xffbeddb8, 0xff2174c4, 0x3902a4, 0x43545453, 0x6e20736f), at 0x30b20
[4] processStartupCheck(0xffbef294, 0x0, 0xffffffff, 0x0, 0x0, 0xffbef315), at 0x2e9dc
[5] main(0x10, 0x47d8c, 0x6, 0x47800, 0x0, 0x0), at 0x12d00

----------------------------------------------------------------------------------

If I stop some of the other applications and try and start the failed one, it works fine.

What can I configure to stop this from happening?
Do I increase swap space, so enough memory becomes available or is there something in the kernel that needs changing?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

plock() memory locking problems

I'm experiencing some strangeness when using plock(). I'm on a Solaris 5.7/SPARC machine with 64MB of memory. I can show that plock() works by successfully locking down 10 MB of memory. Then, I ask for 40 MB, and I get a failure notice because there is "Not enough memory" available. I... (5 Replies)
Discussion started by: troccola
5 Replies

2. Programming

more problems with my C program

I've run into 2 problems now, the first problem is probably a simple one it is in reguards to the argv pointer I have an if statement as follows: if(argv == "-l") { printf("output:"); printf("TASK-NO\tDATE\tTIME\tTASK DESCRIPTION"); return(0); } but when I compile the... (6 Replies)
Discussion started by: Pyro-San
6 Replies

3. UNIX and Linux Applications

UNIX memory problems w/Progress DB

We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to be memory issues(at least according to Progress). The db error messages indicate... (0 Replies)
Discussion started by: eddiej
0 Replies

4. HP-UX

UNIX memory problems

I don't know if this is better suited for the application section, but here goes. We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to... (3 Replies)
Discussion started by: eddiej
3 Replies

5. Programming

[C] Problems with shared memory

Hi everbody, i have a problem with shared memory and child-processes in C (unix). I have a server that do forks to create (N) child processes. This processes work with a shared "stuct" thanks to shared memory and a semaphore. The problem is when a child modify the shared memory and the others... (2 Replies)
Discussion started by: hurricane86
2 Replies

6. Programming

Problems with shared memory and lists

Hi, I need to put in shared memory a list made with object of this structure: typedef struct Obj{ char objname; struct Obj *nextObj; }Object I've filled my list with (for example) 10 elements, but when i try to put it in shared memory to be read by another process i get segmentation fault... (6 Replies)
Discussion started by: BeNdErR
6 Replies

7. Solaris

Memory problems on a -sunfire T2000

I work with a network management tool, which, for various reasons, is installed on a solaris server.This is a Sunfire T2000 server with 16 CPUs and 8GB of RAM. I have installed a Solaris 10 ZFS and 8GB swap. From the beginning I had problems with memory occupation that it rises progressively to 95%... (4 Replies)
Discussion started by: drusa79
4 Replies

8. AIX

Memory limit for C program

Greetings - I'm porting a C application to an AIX (6.1) system, and have bumped into the limits AIX imposes on memory allocation, namely the default limit of 256MB for a process. I'm aware of the compilation flag that allows an application to gain access to up to 8 memory segments (each 256MB,... (4 Replies)
Discussion started by: traviswheeler
4 Replies

9. Solaris

Memory problems in Blade 6340

We have a 6000 chassis with three blades in it. Two of the blades have "Oracle/Sun" memory in them with no complaints. The third blade is populated with Dataram dimms. That 3rd blade continues to flag a slot bad. Oracle has said they would not support the blade with Dataram memory it it. I didn't... (1 Reply)
Discussion started by: brownwrap
1 Replies

10. AIX

Memory problems.

Hi All, Just loaded AIX 6.1 and then got Firefox running on the workstation. To test out I wanted to download some small files from 'Perlz', and during this I'm told there's not enough room in the Downloads folder. What do I do to resize folders from the default and generally move memory around? In... (3 Replies)
Discussion started by: Box_the_Jack_in
3 Replies
SCSI_READCAP(8) 						     SG3_UTILS							   SCSI_READCAP(8)

NAME
scsi_readcap - do SCSI READ CAPACITY command on disks SYNOPSIS
scsi_readcap [--brief] [--help] [--long] [--verbose] DEVICE [DEVICE]* DESCRIPTION
This bash shell script calls the sg_readcap utility on each given DEVICE. This will send a SCSI READ CAPACITY command to each DEVICE. The default action of this script is to send the 10 byte cdb READ CAPACITY(10) command to each DEVICE. If a response indicates the number of blocks is greater than or equal to '2**32 - 1' then the READ CAPACITY(16) is sent and its response is output. OPTIONS
Arguments to long options are mandatory for short options as well. -b, --brief shortens the output to two hexadecimal numbers, both prefixed by '0x'. The first number is the number of blocks available and the second is the size of each blocks in bytes (e.g. '0x12a19eb0 0x200'). If an error is detected '0x0 0x0' is output and the script continues if there are more DEVICEs. -h, --help print out the usage message then exit. -l, --long the default is to send the READ CAPACITY(10) command (i.e. the 10 byte cdb variant). When this option is given the READ CAPACITY(16) command is sent. The latter command yields more information in its response. -v, --verbose increase level or verbosity. EXIT STATUS
The exit status of this script is 0 when it is successful. Otherwise the exit status is that of the last sg_readcap utility called. See the sg3_utils(8) man page. AUTHORS
Written by D. Gilbert COPYRIGHT
Copyright (C) 2009-2013 Douglas Gilbert This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. SEE ALSO
sg_readcap (sg3_utils) sg3_utils-1.36 May 2013 SCSI_READCAP(8)
All times are GMT -4. The time now is 12:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy