You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
Gerrit Server : 2.11.3 Client Git : 1.9
[2015-09-09 19:12:31,434] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user account 2) during git-upload-pack '/platform/prebuilts/misc' org.apache.sshd.common.channel.WindowClosedException: Already closed at org.apache.sshd.common.channel.Window.waitForSpace(Window.java:163) at org.apache.sshd.common.channel.ChannelOutputStream.flush(ChannelOutputStream.java:116) at org.apache.sshd.common.channel.ChannelOutputStream.write(ChannelOutputStream.java:84) at org.eclipse.jgit.transport.SideBandOutputStream.writeBuffer(SideBandOutputStream.java:171) at org.eclipse.jgit.transport.SideBandOutputStream.write(SideBandOutputStream.java:151) at org.eclipse.jgit.internal.storage.pack.PackOutputStream.write(PackOutputStream.java:126) at org.eclipse.jgit.internal.storage.file.PackFile.copyAsIs2(PackFile.java:540) at org.eclipse.jgit.internal.storage.file.PackFile.copyAsIs(PackFile.java:363) at org.eclipse.jgit.internal.storage.file.WindowCursor.copyObjectAsIs(WindowCursor.java:189) at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjectImpl(PackWriter.java:1440) at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObject(PackWriter.java:1417) at org.eclipse.jgit.internal.storage.pack.PackOutputStream.writeObject(PackOutputStream.java:164) at org.eclipse.jgit.internal.storage.file.WindowCursor.writeObjects(WindowCursor.java:195) at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjects(PackWriter.java:1405) at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjects(PackWriter.java:1393) at org.eclipse.jgit.internal.storage.pack.PackWriter.writePack(PackWriter.java:956) at org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1451) at org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1305) at org.eclipse.jgit.transport.UploadPack.service(UploadPack.java:719) at org.eclipse.jgit.transport.UploadPack.upload(UploadPack.java:630) at com.google.gerrit.sshd.commands.Upload.runImpl(Upload.java:80) at com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:101) at com.google.gerrit.sshd.AbstractGitCommand.access$000(AbstractGitCommand.java:32) at com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:70) at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:445) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:379) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)
Dirk Heumann
unread,
Oct 12, 2015, 11:29:45 AM10/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
I believe that your issue is duplicate to internal server error during git-upload-pack in 2.11.2 I described what I did to get a more stable server (external "git gc" and "git repack -ab" twice a day in a cron job, do not use "gerrit gc"). Since then the error occurs much more seldom and the java heap memory usage of gerrit reduced significantly. Best regards, Dirk