Reducing traffic to people.samba.org
I have a lot of branches hosted on people.samba.org, most registered on launchpad.
Launchpad tries to poll the status of these branches regularly, resulting in a lot of traffic (over 200k HTTP requests on a daily basis). Would it be possible to increase the interval at which launchpad polls the status or disable polling for people.samba.org temporarily ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2007-06-19
- Last reply:
- 2007-06-20
| Jelmer Vernooij (jelmer) said : | #1 |
The amount of traffic doesn't appear to be a big deal at the moment, though it would be nice to get it down (especially as I register more branches...). The number of HTTP requests is much higher than it should be.
My sniffer tells me bzr does 8 HTTP requests for a no-op pull. spiv mentions branches are polled every 6 hours. That would suggest I have:
200k / (24 / 6) / 8 = 6250 branches
there may be stale locks around - maybe the mirror code is spinning checking for the locks to be released?
| Robert Collins (lifeless) said : | #2 |
read only requests don't look at locks. I'd expect to see the following for a no-op pull:
branch-format
branch/format
repository/format
branch/
or the format 6 equivalent
If a branch fails I think it gets tried again more often.
Can you get a log of the requests for your branches to analyse?
| Robert Collins (lifeless) said : | #3 |
the ui confused me, this is not answered.
| Jelmer Vernooij (jelmer) said : | #4 |
I've uploaded the relevant part of the logs for june 16 on http://
| Jelmer Vernooij (jelmer) said : | #5 |
Also, note that this is just hitting one of the repositories on that server. There are dozens of other branches registered that use different repositories.
| Robert Collins (lifeless) said : | #6 |
Does that branch contain a broken unicode xml as you had previously? That would cause the mirror to fail, and thus its actually doing a full copy; its not waiting 24 hours because it hasn't *finished* a mirror.
| Robert Collins (lifeless) said : | #7 |
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
82.211.81.156 - - [16/Jun/
I think the timings in the above support my hypothesis.
| Robert Collins (lifeless) said : | #8 |
Our puller is getting this error:
RevisionNotPresent: Revision {svn-v1:
The frequency is high as we presume errors are transient things we should quickly catch when they get corrected.
Can you help with this problem?
Provide an answer of your own, or ask Jelmer Vernooij for more information if necessary.
