OUT OF MEMORY!

OUT OF MEMORY!

Post by tiglat » Sun, 25 Feb 2001 04:39:23



I run the swish program (creates an index for web search engines) in
our AIX 4.3.3 server and the program runs out of memory (malloc
fails).   Is there a way to increase the per process memory resource?

Let us see if I understand that.   As long as there is physical memory
and paging space available malloc should not fail, unless the per
process parameter is exceeded.   I don't think the system runs out of
physical resources, so the latter must be true.

Thanks

 
 
 

OUT OF MEMORY!

Post by B. Dan » Sun, 25 Feb 2001 04:52:26


Does the ulimit apply here?
(ulimit -a)
Or maybe /etc/security/limits?

> I run the swish program (creates an index for web search engines) in
> our AIX 4.3.3 server and the program runs out of memory (malloc
> fails).   Is there a way to increase the per process memory resource?

> Let us see if I understand that.   As long as there is physical memory
> and paging space available malloc should not fail, unless the per
> process parameter is exceeded.   I don't think the system runs out of
> physical resources, so the latter must be true.

> Thanks


 
 
 

OUT OF MEMORY!

Post by Serge » Sun, 25 Feb 2001 05:51:26


Hi,

This application may hit 256MB memory limit (1 memory segment) - to
increase
# of segments you can: 1) recompile application to allow it use more
memory segments (cant remember the flag now) 2) manually modify header of
executable with dd

But you have to try to set ulimit to unlimited before going into changing
the header,
Sergey


> I run the swish program (creates an index for web search engines) in
> our AIX 4.3.3 server and the program runs out of memory (malloc
> fails).   Is there a way to increase the per process memory resource?

> Let us see if I understand that.   As long as there is physical memory
> and paging space available malloc should not fail, unless the per
> process parameter is exceeded.   I don't think the system runs out of
> physical resources, so the latter must be true.

> Thanks

 
 
 

1. Page outs with LOTSA memory: why?

I've read up on everything I can regarding Solaris's memory
management, and can't figure out why, with 768 MB of RAM, that it's
still paging out.  It averages between 24 and 100 at any given time.

The only app it's running is a web cache/proxy product from Network
Appliance, therefore there's a huge number of object files it's
managing.  Here's a clip...

# vmstat 3
 procs     memory            page            disk          faults
cpu
 r b w   swap  free  re  mf pi po fr de sr m0 m1 m2 m3   in   sy   cs
us sy id
 0 0 0 758192 325120  0  74 32 18 55  0  5  1  1  1  0  909 2218 1060
6 16 78
 0 1 0 2636576 23768  0   1 42 13 330 0 35  0  0  0  0 1298 5598 3318
17 35 48
 0 0 0 2636568 23760  0   0  8 58 208 0 18  0  0  0  0 1166 3485 1796
14 30 57
 0 0 0 2636568 23768  0   0 13 13 82  0  6  0  0  0  0  927 3943 1680
11 30 59
 0 0 0 2636568 23768  0   0  0 58 186 0 11  0  0  0  0 1408 4989 2033
16 35 50
 0 1 0 2638040 25584  2 306 74 149 301 0 18 11 10 11 0 1556 4339 1722
22 30 49
 0 0 0 2639208 26560  0   0  5 45 45  0  0  0  0  0  0  984 3539 1589
10 29 61
 0 0 0 2639208 26312  0   0 24 42 42  0  0  0  0  0  0 1446 5102 2840
12 35 52

The box is an E-450 with 2 CPUs.  You'd think it was almost
over-powered...

Can anyone shed light on this?

2. how to print a literal ' in awk

3. Keeping Track of my Login/outs?csh script

4. A booting question

5. Modem lock outs

6. New Kernel Q

7. Can apache/stronghold log when a user 'click outs' of your site?

8. Quota grace period won't set

9. Phony Rev Outs Himself was: Aliyah...

10. Removing banner pages from print outs

11. More page outs than page ins?

12. fix VIA Rhine time outs (some)

13. Netscape time-outs