LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-12-2011, 11:53 AM   #1
iuselinux
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Rep: Reputation: 4
Random timeouts


Hello, we have a few web servers that are monitored via nagios, the servers hardly ever go down, but from time to time, we get 10 second timeouts in nagios, but the pages load fine after a bit. The servers do get a high amount of traffic, but they don't run out of CPU or MEM.

We believe it may be file descriptors or hitting the TCP Connection limit, any idea how I can diagnose this? the logs don't seem to be of much help that I can see. Where can I verify its one of the two issues I stated? If so, I can just increase the limits
 
Old 01-12-2011, 12:37 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
What distro/version?

And which service or services get high amounts of traffic? If you're hitting kernel limits, messages are generally barfed out to /var/log/messages. If you're hitting application limits, messages should be found in their specific logs.
 
Old 01-12-2011, 01:48 PM   #3
iuselinux
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Original Poster
Rep: Reputation: 4
Centos 5.5

Ill tail the logs for a while, but I don't expect to see much in there.

The service is just HTTPD
 
Old 01-12-2011, 04:01 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Apache's error logging will definitely make noise about hitting MPM limits. If you don't see it, then crank LogLevel up to info.
 
Old 01-13-2011, 09:51 AM   #5
iuselinux
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by anomie View Post
Apache's error logging will definitely make noise about hitting MPM limits. If you don't see it, then crank LogLevel up to info.
I changed the LogLevel to info, and tailed the error_log for a while.

When the server hit the mons, I saw the below log entry about 10 times for 35 different client IP's
Quote:
Connection reset by peer: core_output_filter: writing data to the network
Time to hit the googles
 
Old 01-13-2011, 10:24 AM   #6
iuselinux
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Original Poster
Rep: Reputation: 4
Interesting

Quote:
[info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 4 idle, and 48 total children
 
Old 01-13-2011, 03:28 PM   #7
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
That's the one. You know what to do, que no?
 
  


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
Box is attempting to scan and ssh into random machines using random usernames gianh Linux - Security 2 11-09-2008 05:42 PM
random timeouts Merrigan Linux - Networking 1 04-19-2007 10:12 AM
using /dev/random to output random numbers on a text file guguma Programming 4 04-02-2007 01:42 PM
KDE Random wallpaper or script to create symbolic links to random files cvelasquez Linux - Software 2 02-26-2007 06:48 PM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:09 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