Welcome, Guest
Username: Password: Remember me

TOPIC: subversion erro while merging ( Unexpected server error 500)

subversion erro while merging ( Unexpected server error 500) 5 years 6 months ago #33562

Hi all,


I was trying to merge some recent changes into our branch. However, whenever I tried, I get the following error:

svn merge --accept postpone svn.opentelemac.org/svn/opentelemac/trunk/configs

Error: Unexpected server error 500 '( The number of HTTP requests per minute exceeded
Error: the configured limit. Contact the server administrator. )' on
Error: '/svn/opentelemac/!svn/bc/9002/trunk/sources/utils/diffsel/makefile'

Any idea what can be done about it?

Thanks in advance,


Kind regards

Alexander
The administrator has disabled public write access.

subversion erro while merging ( Unexpected server error 500) 5 years 6 months ago #33563

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
By any any chance do you have a proxy on your network that limits the number of http requests ?
If that is the case you can use the script below that "slows" down the svn command (by default running it for 40 seconds than waiting 60).
#/bin/bash

if [[ $# < 1 ]]; then
  echo "Missing svn command to handle"
  echo "delaysvn.sh svn_command"
  exit
fi
$*&
pid=$!
kill -TSTP $pid
ps -p $pid > /dev/null
while [[ $? -eq 0 ]]; do

    kill -CONT $pid
    for ((i = 40; i> 0; i-- ));
    do
      sleep 1s
    done
    kill -TSTP $pid
    for ((i = 6; i> 0; i-- ));
    do
      sleep 10s
      echo "Command paused ${i}0s"
    done
    ps -p $pid > /dev/null
done

echo "done"
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

subversion erro while merging ( Unexpected server error 500) 5 years 6 months ago #33564

I don't think there is a proxy but I will double check with our system administrator. Thx for the script. I will try that

Kind regards

Alexander
The administrator has disabled public write access.

subversion erro while merging ( Unexpected server error 500) 5 years 6 months ago #33578

In the end it worked, running for 20 seconds and then waiting for 120 seconds.

Thx
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.