[SAC] trac sleepy (too many open git connections?)

Hi SAC,

right now trac is rather unusable. I have noted that there are many open git
connections:

netstat | grep git.osgeo.org| wc -l
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
329

I wonder if that's related. A restart of Apache did not help to speed up trac.

Load average looks ok. For traffic flow, try
watch 'ifconfig | grep bytes'

Any ideas?

Markus

On 03/03/2013 11:43 PM, Markus Neteler wrote:

Hi SAC,

right now trac is rather unusable. I have noted that there are many open git
connections:

netstat | grep git.osgeo.org| wc -l
getnameinfo failed
329

I wonder if that's related. A restart of Apache did not help to speed up trac.

Load average looks ok. For traffic flow, try
watch 'ifconfig | grep bytes'

Any ideas?

Markus

That's interesting, I thought that git experiment had failed and was not operational. We can probably just do 404 returns on those for now until a time when we actually get git running.

Thanks,
Alex

On Mon, Mar 4, 2013 at 8:53 AM, Alex Mandel <tech_dev@wildintellect.com> wrote:

That's interesting, I thought that git experiment had failed and was not
operational. We can probably just do 404 returns on those for now until a
time when we actually get git running.

In this case I would suggest to simply do

a2dissite zgit

and restart Apache...

Markus

On Mon, Mar 4, 2013 at 9:02 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Mon, Mar 4, 2013 at 8:53 AM, Alex Mandel <tech_dev@wildintellect.com> wrote:

That's interesting, I thought that git experiment had failed and was not
operational. We can probably just do 404 returns on those for now until a
time when we actually get git running.

In this case I would suggest to simply do

a2dissite zgit

and restart Apache...

Since I do need to use trac, I have done it:

a2dissite zgit.conf
/etc/init.d/apache2 restart

However, something is odd. Even munin has communication
problems:
http://webextra.osgeo.osuosl.org/munin/osgeo.org/trac.osgeo.org-apache_accesses.html

Markus

PS: Related git ticket http://trac.osgeo.org/osgeo/ticket/604
and below the message of the creation of git.osgeo.org
----------------

On Tue, Jun 15, 2010 at 1:32 PM, <christopher.schmidt@nokia.com> wrote:

Hi,

Wolf requested DVCS access for SOC students. I took a bit
and looked up what it would take to set it up. It turned out
to not be too difficult, and so I tossed up a git repository
for SOC work.

I've set up the:

  git.osgeo.org

DNS name, and created a:

  /osgeo/tools/create_git_repo.sh

script on the tracsvn machine; this takes care of creating
the repo and the Apache config, by running it like:

  /osgeo/tools/create_git_repo.sh soc

In addition, I created a tool to create a new LDAP group:

/osgeo/tools/create_ldap_group.py soc wolf

This will create a new SVN LDAP group, and assign wolf as
the admin. (No more web admin for LDAP to create new repos!
yay!)

There is also a create_svn_repo.py script; it works the
same way as the git script.

So:

To add a new project:
   /osgeo/tools/create_ldap_group.py soc wolf
   /osgeo/tools/create_git_repo.py soc
   /etc/init.d/apache2 reload
     OR
   /osgeo/tools/create_ldap_group.py soc wolf
   /osgeo/tools/create_svn_repo.py soc
   /etc/init.d/apache2 reload

I have not yet done the same for Trac. This is next on my
list.

Best Regards,
--
Christopher Schmidt
Nokia

_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac