9abe All httpd processes in "accept" state - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old June 7th, 2009, 22:23
rasmusrn rasmusrn is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default All httpd processes in "accept" state

Hi freebsd experts,

I have three dedicated web servers running freebsd with apache and php.

Watching "top" during heavy load I see that the state of all httpd processes suddenly is set to "accept" whereafter the overall cpu utilization drops to 0%. This results in very slow response times for our users. After 10-60 seconds everything turns back to normal. This cycle repeats itself.

My question is, what does "accept" mean? I've been googling without finding an answer.

However, I did find some indications of what it could mean, namely that the process is waiting for some io resource. If this is the case, is there a way to find out which resource a given process is waiting for?

Thanks in advance!
- Rasmus

- Rasmus
Reply With Quote
  #2  
Old June 10th, 2009, 13:29
trev trev is offline
Member
 
Join Date: Dec 2008
Posts: 343
Thanks: 13
Thanked 39 Times in 36 Posts
Default

Code:
man 2 accept
will provide you with a full description.

I'd have thought it was a normal state for httpd processes waiting for a connection. You may have to look elsewhere for the web latency issue.
Reply With Quote
  #3  
Old June 12th, 2009, 14:08
rasmusrn rasmusrn is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you.

Yes, I think you are right. "accept" just means that the specific apache process is waiting for incoming requests. I will investigate further...
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
screen: Keep Your Processes Running Despite A Dropped Connection bsdvm Howtos & FAQs (Moderated) 32 May 21st, 2011 13:54
make install clean accept default config jemate18 Installation and Maintenance of FreeBSD Ports or Packages 2 May 3rd, 2009 02:03
Apache: Help with rogue processes biscuits Web & Network Services 5 April 8th, 2009 08:23
State swait is = to sbwait? klabacita Web & Network Services 3 April 8th, 2009 03:42
Processess stuck in KSEREL state axbat General 3 February 18th, 2009 04:22


All times are GMT +1. The time now is 20:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0