Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: cannot allocate memory |
|
Author |
|
hburnswell
Joined: 01 Sep 2016 Posts: 1
|
Posted: Thu 01 Sep '16 20:13 Post subject: cannot allocate memory |
|
|
All,
We seem to be having issues with our two load balanced proxy servers.
OS (both): Redhat 6.7
Ram (both): 24 GB
Apache (both): 2.2.31
Today we were receiving 500 responses from one of our two servers (node 2):
Code: | 10.10.1.254 - - [01/Sep/2016:06:47:17 -0700] "GET /path/to/login.pl?resource_url=http%3A%2F%2Fxxxxxxx.com%2FOA_HTML%2FLogin%3FrequestUrl%3Dhttps%3A%2F%2Fxxxxxxx.com%2FHTML%2FCustomLogin.jsp HTTP/1.1" 500 535 |
With the accompanying errors:
Code: | [Thu Sep 01 06:47:17 2016] [error] [client 10.10.1.254] (12)Cannot allocate memory: couldn't create child process: 12: login.pl
[Thu Sep 01 06:47:17 2016] [error] [client 10.10.1.254] (12)Cannot allocate memory: couldn't spawn child process: /path/to/login.pl |
Bouncing apache on this node (2) fixed the issue by clearing the sessions and allocated memory.
It seems like httpd sessions/processes are not being cleared/closed. On node 1 (not bounced for weeks) there are hundreds of processes dating back several weeks (I'm not sure if that is to be expected or not?). The memory on node 1 seems ok as it has 8 GB free:
Code: | # free -g
total used free shared buffers cached
Mem: 23 15 8 0 0 12
-/+ buffers/cache: 2 21
Swap: 23 0 23 |
I'm pretty new to trouble shooting apache problems in general, what can I do to track down what might be the issue here? Any guidance or direction is greatly appreciated.
TIA,
HB[/code] |
|
Back to top |
|
|
|
|
|
|