07-09-2012
Apache memory utilization issue
Hi,
I have been running into an issue wherein suddenly an apache process eats up lots of memory and system starts swapping. It causes the server to hang due to io-wait. I am able to trace the process/thread which is eating up memory, however, am unable to figure out which webpage is causing it. Pmap shows lots of anonymous memory blocks of different sizes are allocated to that processs.
Ours is a python based setup and we use mod_wsgi with apache.
I was able to figure out one such webpage through a vulnerability scanner and fix the issue. However, another one is still pending. Is there any way to figure out the page currently being served by an apache thread?
10 More Discussions You Might Find Interesting
1. AIX
All,
The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory).
BR, (1 Reply)
Discussion started by: Negm
1 Replies
2. Shell Programming and Scripting
Hi,
Is it possible to obtain physical memory and swap memory available in HP-UX server.
I tried using "top" command but i'm not able to grep the memory part exclusively...
Thanks.... (4 Replies)
Discussion started by: EmbedUX
4 Replies
3. Shell Programming and Scripting
Hi,
I am creating monitoring scripts in HP unix for that i need CPU utilization and memory utilization in HP unix.
for CPU utilization i am using TOP command
for Memory utilizaion i am not able to use glance command in scripts.
means i am not able to redirect and stop.
apart from... (1 Reply)
Discussion started by: rsivasan
1 Replies
4. AIX
Hi friends
i have a query.
we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP.
Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear.
We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies
5. HP-UX
command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies
6. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
7. SuSE
I have parallels container running on Suse. From top command, I am not able to see, what is eating up so big amount of memory.
top - 07:44:24 up 172 days, 18:52, 1 user, load average: 0.01, 0.02, 0.00
Tasks: 44 total, 1 running, 43 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, ... (1 Reply)
Discussion started by: solaris_1977
1 Replies
8. Solaris
Hello Guys,
I have one Solaris server with high memory utilization >90%. As per checking, below is the output for memory usage.
bash-3.00# ps -efo pmem,uid,pid,ppid,pcpu,comm | sort -r
%MEM UID PID PPID %CPU COMMAND
1.7 29496 20668 1 0.0 /opt/app/iw-home/tools/java/bin/java
1.5... (1 Reply)
Discussion started by: myrpthidesis
1 Replies
9. Red Hat
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
10. AIX
I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical.
and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization.
wheather 99% is real memory... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
LEARN ABOUT X11R4
genlib_def_phsc
GENLIB_DEF_PHSC.3(October 1, 1997) GENLIB_DEF_PHSC.3(October 1, 1997)
NAME
GENLIB_DEF_PHSC - load a netlist and open a layout model as current figure
SYNOPSYS
#include <genlib.h>
void GENLIB_DEF_PHSC(cellname)
char *cellname;
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
PARAMETERS
cellname Name of the netlist figure to be looked for in memory or on disk, for futher physical placement.
DESCRIPTION
DEF_PHSC defines the current working figure by it's name, the cellname argument, for layout and netlist operations. It can be use anywhere
in the genlib program, but must appear at least once at the top of it, since it also initalize the user's preferences through environment
variables.
DEF_PHSC looks for the netlist figure cellname in memory, and if not found, on disk. If it fails, an error occurs and the process termi-
nates.
The main issue of this function is to allow the netlist and physical descriptions of a circuit in two separate files, for standard cell
approach. So there is no need to recreate the netlist view each time the placement changes.
If the physical figure called cellname doesn't exists in memory, it is created. If it already exists in memory, it makes it the current
working figure. DEF_PHSC doesn't look on disk for the figure cellname, so be careful not to overwrite an existing file while saving later
on.
EXAMPLE
#include <genlib.h>
main()
{
/* Create a figure to work on */
GENLIB_DEF_PHSC("mycell");
/* Place an instance */
GENLIB_SC_PLACE("instance", NOSYM,0L,0L);
/* Save all that on disk */
GENLIB_SAVE_PHSC();
}
SEE ALSO
genlib(1), GENLIB_SAVE_PHSC(3), GENLIB_SC_PLACE(3), GENLIB_SC_TOP(3), GENLIB_SC_BOTTOM(3), GENLIB_SC_LEFT(3), GENLIB_SC_RIGHT(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
PROCEDURAL GENERATION LANGUAGE
ASIM/LIP6 GENLIB_DEF_PHSC.3(October 1, 1997)