Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 30, 2012 8:19 pm 
Offline
Newbie

Joined: Sun Sep 30, 2012 8:01 pm
Posts: 2
Hey all, I'm hoping to get some help on this problem in which I suspect apache is the cause. I have trac installed and running, and whenever I click rapidly on links in Trac, I would get an error page "Unable to connect" shown. During this time, I cannot ssh into my linode from my machine (returns "connection refused"). After 20 or so seconds, everything goes back to normal until I click too many times in Trac and the problem repeats again. The problem is so frequent that it's unusable.

The logs errors.log, ssl_access.log, access.log don't shed any light as to why this is happening. In fact, I can't see where it fails in the logs.

I thought perhaps that I could decrease MaxClients to 25 for prefork, but this doesn't seem to have any effect.

Does anyone have an idea what's going on?


Top
   
PostPosted: Sun Sep 30, 2012 9:22 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
It seems unlikely that this would be a client limit issue with Apache since clicking in the same client browser should either reuse an existing connection or have torn an old one down if it is making a new one. Are you the only client to the box during the tests? If so, the default listen backlog of Apache should make it even less likely that it's a client limit issue, unless each thing you're clicking on is taking a very long time to respond.

I assume you're having Apache proxy the request to trac? When you get a connection refused by the client, is there any related log at all in the Apache logs or the trac log? If not, then the blockage would seem to be likely upstream of them and outside of their control.

Just for the heck of it - any chance you have any rate limiting going on in a firewall configuration? Maybe your rapid clicking is exceeding the rate limit and the delay then lets the average rate fall beneath the threshold. Though if so it sounds like you may have some pretty low limits.

If unsure, one test is just to temporarily disable any firewall you may have and see if the behavior changes. I might also test from different client locations in case what you're seeing is client side (some bad or limiting behavior in a local nat box or something).

-- David


Top
   
PostPosted: Mon Oct 01, 2012 8:15 pm 
Offline
Newbie

Joined: Sun Sep 30, 2012 8:01 pm
Posts: 2
Thank you! You were right. It wasn't apache after all. It was my firewall and its rate limiting was the culprit.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group