This error report is very vague, so vague I don't even know if it is an error or just something in my setup. So please bear with me.
I'm runnig gitblit 1.5.1 on windows server 2012. Most connections are done over HTTPS with LDAP authentication, except for a build server which uses SSH with certificate authentication. Today I started to receive HTTP 500 errors when trying to push over HTTPS. The stdout log states it's an OutOfMemoryError (see error message below). Checking the process memory usage it is hovering around 590MB (normally 330MB). When trying to end the server process gracefully it wont stop, i.e. something is probably blocking the server.
Just before the error started to appear I can see that the SSH server part also threw an Exception, which it normally doesn't. Can it have something to do with the OutOfMemoryError I received later on?
2014-06-17 07:32:12 [INFO ] creating ssh session from /192.168.1.198:64884
2014-06-17 07:42:12 [WARN ] Exception caught
java.io.IOException: The specified network name is no longer available.
at sun.nio.ch.Iocp.translateErrorToIOException(Unknown Source)
at sun.nio.ch.Iocp.access$700(Unknown Source)
at sun.nio.ch.Iocp$EventHandlerTask.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2014-06-17 07:42:12 [INFO ] closed ssh session from /192.168.1.198:64884
2014-06-17 07:53:15 [WARN ] Failed login attempt for useraccount, invalid credentials from 192.168.1.194
2014-06-17 07:53:16 [WARN ] Error for /r/myRepo.git/info/refs
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at com.unboundid.ldap.sdk.LDAPConnectionInternals.<init>(LDAPConnectionInternals.java:136)
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:711)
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:654)
at com.gitblit.auth.LdapAuthProvider.getLdapConnection(LdapAuthProvider.java:209)
at com.gitblit.auth.LdapAuthProvider.authenticate(LdapAuthProvider.java:298)
at com.gitblit.manager.AuthenticationManager.authenticate(AuthenticationManager.java:386)
at com.gitblit.manager.AuthenticationManager.authenticate(AuthenticationManager.java:278)
at com.gitblit.servlet.GitFilter.getUser(GitFilter.java:123)
at com.gitblit.servlet.AccessRestrictionFilter.doFilter(AccessRestrictionFilter.java:154)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:462)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Unknown Source)