1845858 Members
4578 Online
110250 Solutions
New Discussion

Memory on Apache

 
SOLVED
Go to solution
clefeitosa
Regular Advisor

Memory on Apache

Hello guys,

I'm using B11.11 with 4GB of memory and we have an apache running on this server.

This server is always using only 2GB of memory and i don't know why...

Is some configuration in the apache (http.conf or something else) that limit the use of memory?

How can I see why the server is using only 2GB of memory:

SAM -> Performance Monitors -> System Properties:

Physical Memory: 4097.7 MB ││ │
││ ││Real Memory: ││ │
││ ││ Active: 224348.5 KB ││ │
││ ││ Total: 332657.0 KB ││ │
││ ││Virtual Memory: ││ │
││ ││ Active: 389414.4 KB ││ │
││ ││ Total: 578727.2 KB ││ │
││ ││Free Memory Pages: 532140 at 4 KB/page ││ │
││ ││Swap Space: ││ │
││ ││ Avail: 12288 MB ││ │
││ ││ Used: 453 MB

Please, could someone give me a help?

Thanks!
6 REPLIES 6
John Guster
Trusted Contributor
Solution

Re: Memory on Apache

post ipcs -mobp please
clefeitosa
Regular Advisor

Re: Memory on Apache

# ipcs -mobp
IPC status from /dev/kmem as of Fri Aug 3 11:37:05 2007
T ID KEY MODE OWNER GROUP NATTCH SEGSZ CPID LPID
Shared Memory:
m 0 0x411c0846 --rw-rw-rw- root root 0 348 627 627
m 1 0x4e0c0002 --rw-rw-rw- root root 2 61760 627 629
m 2 0x41201558 --rw-rw-rw- root root 2 8192 627 629
m 24211 0x00000000 D-rw------- root sys 8 100000 27688 27688
m 4 0x06347849 --rw-rw-rw- root root 0 65626 1403 13303
m 5 0xffffffff --rw-r--rw- root root 0 22908 1363 211
m 6 0x5e180007 --rw------- root root 1 512 1677 1677
m 24215 0x00000000 D-rw------- root sys 8 213336 27688 27688
m 8552 0x0c6629c9 --rw-r----- root sys 1 26575208 13303 211
m 9 0x40201334 --rw-rw-rw- runwww www 0 1000 5911 11121
spex
Honored Contributor

Re: Memory on Apache

> This server is always using only 2GB of
> memory and i don't know why...

And...? You expect Apache to be using more? If Apache needs additional RAM, it will take advantage of it. I don't see what the problem is.

http://www.hp.com/products1/unix/webservers/apache/faqs/
John Guster
Trusted Contributor

Re: Memory on Apache

is there any performance issue using 2GB RAM?
clefeitosa
Regular Advisor

Re: Memory on Apache

Hi,

Thanks for all answer!

> You expect Apache to be using more?
I don't know... Apache was just an ideia

> is there any performance issue using 2GB RAM?
No!

swapinfo -a
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 12582912 70052 12512860 1% 0 - 1 /dev/vg00/lvol2
reserve - 557692 -557692
memory 3136568 1302208 1834360 42%
Dennis Handly
Acclaimed Contributor

Re: Memory on Apache

>swapinfo -a

When you do a swapinfo, please use -mat.

(We don't know what no stinkin Kb is and all of those zeroes blind us. :-)