[MacPorts] #71358: source/browser/repos links are 403 forbidden

MacPorts noreply at macports.org
Thu Nov 21 09:58:42 UTC 2024


#71358: source/browser/repos links are 403 forbidden
-------------------------+---------------------
  Reporter:  ryandesign  |      Owner:  admin@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  trac        |    Version:
Resolution:              |   Keywords:
      Port:              |
-------------------------+---------------------

Comment (by neverpanic):

 Just to give you an idea of how big a problem this actually is:

 {{{
 root at braeburn /etc/apache2/sites-enabled # for num in 3 4 5; do
 lines=$(zcat /var/log/apache2/trac.access.log."$num".gz | wc -l); zgrep
 -Po '(?<=GET )/([^/?]+)' /var/log/apache2/trac.access.log."$num".gz | sort
 | uniq -c | sort -n | tail -n5; browser=$(zgrep -Pc '(?<=GET )/browser'
 /var/log/apache2/trac.access.log."$num".gz); echo "browser requests:
 $browser/$lines"; done
   10384 /changeset
   33747 /search
   51831 /ticket
   51876 /chrome
  130315 /browser
 browser requests: 130316/478492
    8459 /raw-attachment
   32878 /chrome
   46543 /ticket
   62528 /search
  174127 /browser
 browser requests: 174127/566984
    6986 /attachment
   40381 /chrome
   45687 /ticket
   71462 /search
  151686 /browser
 browser requests: 151686/542213
 }}}

 So before I blocked requests to `/browser`, 27%, 31%, and 28% of all
 requests went there.

 The browser feature is also pretty CPU-heavy, see the attached graphs:
 [[Image(https://trac.macports.org/raw-attachment/ticket/71358/cpu-
 pinpoint.png)]]
 [[Image(https://trac.macports.org/raw-
 attachment/ticket/71358/http_loadtime.png)]]

-- 
Ticket URL: <https://trac.macports.org/ticket/71358#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list