LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2012, 07:37 AM   #1
bbrian017
Member
 
Registered: Dec 2009
Posts: 59

Rep: Reputation: 15
"Apache (internal dummy connection)" or [error] could not make child process


Hi guys, My server has been crashing almost on a daily basis. What happens is the server ram gets used up and it becomes unresponsive. When I'm in SSH I can't even do anything as the site has no ram what so ever and my machine is a really nice one 4 gigs i5 processor.

I have hundreds and hundreds of the following in my /var/log/httpd

Code:
::1 - - [03/May/2012:06:16:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache (internal dummy connection)"
I've also noticed in my error_log

Code:
[Wed May 02 12:02:40 2012] [error] could not make child process 15144 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15145 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15146 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15147 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15149 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15150 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15152 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15153 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15154 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15155 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15156 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15159 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15160 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15161 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15165 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15166 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15167 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15168 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15169 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15170 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15171 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15172 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15173 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15175 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15176 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15178 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15181 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15182 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15184 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15188 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15189 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15192 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15193 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15194 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15195 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15196 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15197 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15198 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15199 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15200 exit, attempting to continue anyway
[Wed May 02 12:02:40 2012] [error] could not make child process 15201 exit, attempting to continue anyway
I've seen several article on the connection dummy issue but I've patched and nothing is working. Godaddy is not providing any support and so far I cannot manage to keep my sever up and it's starting to become a huge pain for me and my websites.

http://vdachev.net/2007/02/01/apache...my-connection/
http://thelinuxguru.blogspot.ca/2008...onnection.html
http://notepad.patheticcockroach.com...my-connection/

Does anyone have any suggestions for me?
 
Old 05-04-2012, 12:30 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
This is 99.9% of the time a coding problem with one of the sites running on the server spawning the child processes by creating continous connections back to the server. First troubleshooting step is to turn off all virtual hosts and then turn one on, start apache and watch for the issue. Turn on one site at a time until the problem re-occurs then you will know which site you are running that is causing the problem. Then look for any PHP functions that use loops as that is usually the problem but beyond that you would just need to start some trial and error troubleshooting with your code.
 
Old 05-04-2012, 12:34 PM   #3
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
This can also in some cases be a denial of service attack so check netstat -anp | grep :80 and see if there are a bunch of connections from the same IP. If the IP is NOT of your server this may be a DOS attack and you should add that IP as a drop rule to your inbound IP tables chain.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to execute child process"abrowser"(no such file or directory) error sumaeg Linux - Newbie 4 02-06-2013 11:55 PM
Need solution to "failed to fork PTY" and "error creating the child process" problems Gnusboy Linux - Newbie 4 01-02-2010 07:54 AM
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
"failed to execute child process" "Input/output error" fl.bratu Fedora 4 12-15-2008 04:03 AM
RealPlayer child process "_LOCATION_/realplay" not found error krome Red Hat 1 11-11-2003 02:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration