LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2012, 06:18 AM   #1
jan5134
LQ Newbie
 
Registered: Mar 2009
Location: pretoria,SA
Distribution: Centos/Ubuntu
Posts: 9

Rep: Reputation: 0
Talking apache and CLOSE_WAIT connections


Hi,

I Googled for like 2 days without any results.If you can, please help.

I'm using Centos 6.3 64bit running Apache 2.2.15
Apache works fine, but it stops responding after a few minutes.
The cause for this is that the connections never close.
The connections will stay in a CLOSE_WAIT state.As soon as i restart apache it works again
until the MaxClients are reached and then it stops responding again.

OUTPUT:
netstat -plant |grep CLOSE_WAIT:
tcp 1 0 ::ffff:10.0.0.47:80 ::ffff:10.0.0.50:54140 CLOSE_WAIT 3498/httpd (Have like 600 of this)

Any idea what might cause this?

Thanks
 
Old 09-26-2012, 07:20 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
That's odd ... when I googled apache "close_wait" (notice the quotes), I encountered several very detailed postings, about various and distinctly-different possibilities, which for obvious reasons I won't repeat here. Which ones did you find so-far, and what was your conclusion so-far with each of them? Maybe what you're dealing with is somehow something different. Tell us also about whatever software besides Apache (if any) is serving these pages.
 
  


Reply

Tags
apache



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
Had apache working, then set up vsftpd, now apache is refusing my connections beetle_boy66 Linux - Newbie 4 01-25-2006 08:57 PM
Close_wait ghodkiller Linux - Networking 0 01-08-2005 04:44 PM
Close_Wait AmitC Linux - General 0 12-30-2004 01:18 AM
Close_wait adoyee Programming 1 02-11-2004 11:18 PM
ftp connections hanging forever in CLOSE, CLOSE_WAIT state mxyzplk Linux - Software 0 11-26-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 PM.

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