Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Feature Requests & Bug Reports (https://www.gnutellaforums.com/feature-requests-bug-reports/)
-   -   Way too many open files :-/ (https://www.gnutellaforums.com/feature-requests-bug-reports/65833-way-too-many-open-files.html)

Linuxhippy January 11th, 2007 02:25 AM

Thanks a lot for your reply, I now changed the minimum segment size to 1mb. I'll test it as soon as I've another computer available (arround 17:00 today).

The other thing I wonder why so few downloads reach "Completed" status and why so many hang at "Downloading 100%". Does this have any impact on phex or on the files, or is it safe to ignore it?

Thanks for your patience, lg Clemens

Linuxhippy January 11th, 2007 08:49 AM

Hi again,

Would that explain why the downloading client behaves so strange:

Quote:

070110 22:00:39,0949(99) Error/GLOBAL:: java.lang.ArrayIndexOutOfBoundsException: 0 - Exception: java.lang.ArrayIndexOutOfBoundsException: 0
at phex.utils.GnutellaInputStream.read(GnutellaInputS tream.java:279)
at phex.utils.GnutellaInputStream.readLine(GnutellaIn putStream.java:112)
at phex.net.connection.Connection.readLine(Connection .java:104)
at phex.http.HTTPProcessor.parseHTTPResponse(HTTPProc essor.java:146)
at phex.download.DownloadEngine.exchangeHTTPHandshake (DownloadEngine.java:160)
at phex.download.swarming.SWDownloadWorker.exchangeHT TPHandshake(SWDownloadWorker.java:512)
at phex.download.swarming.SWDownloadWorker.startDownl oad(SWDownloadWorker.java:689)
at phex.download.swarming.SWDownloadWorker.handleDown load(SWDownloadWorker.java:259)
at phex.download.swarming.SWDownloadWorker.run(SWDown loadWorker.java:149)
at phex.common.ThreadPool$Worker.run(ThreadPool.java: 280)

070110 22:00:39,0960(99) Error/BANDWIDTH:: [DownloadThrottle 11dba45] !Mark bytes used 225 - remaining: -48.
070110 22:03:05,0484(99) Error/phex.utils.DirectByteBufferProvider:: Out of memory while trying to allocated direct byte buffer.
070110 22:03:05,0486(99) Error/GLOBAL:: java.lang.OutOfMemoryError: Direct buffer memory - Exception: java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:632)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer. java:95)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java :288)
at phex.utils.DirectByteBufferProvider.allocateDirect ByteBuffer(DirectByteBufferProvider.java:133)
at phex.utils.DirectByteBufferProvider.requestDirectB yteBuffer(DirectByteBufferProvider.java:98)
at phex.utils.DirectByteBufferProvider.requestBuffer( DirectByteBufferProvider.java:61)
at phex.download.DownloadEngine.startDownload(Downloa dEngine.java:596)
at phex.download.swarming.SWDownloadWorker.startDownl oad(SWDownloadWorker.java:735)
at phex.download.swarming.SWDownloadWorker.handleDown load(SWDownloadWorker.java:259)
at phex.download.swarming.SWDownloadWorker.run(SWDown loadWorker.java:149)
at phex.common.ThreadPool$Worker.run(ThreadPool.java: 280)

070110 22:03:07,0556(99) Error/phex.utils.DirectByteBufferProvider:: Out of memory while trying to allocated direct byte buffer.
070110 22:03:07,0558(99) Error/GLOBAL:: java.lang.OutOfMemoryError: Direct buffer memory - Exception: java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:632)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer. java:95)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java :288)
at phex.utils.DirectByteBufferProvider.allocateDirect ByteBuffer(DirectByteBufferProvider.java:133)
at phex.utils.DirectByteBufferProvider.requestDirectB yteBuffer(DirectByteBufferProvider.java:98)
at phex.utils.DirectByteBufferProvider.requestBuffer( DirectByteBufferProvider.java:61)
at phex.download.DownloadEngine.startDownload(Downloa dEngine.java:596)
at phex.download.swarming.SWDownloadWorker.startDownl oad(SWDownloadWorker.java:735)
at phex.download.swarming.SWDownloadWorker.handleDown load(SWDownloadWorker.java:259)
at phex.download.swarming.SWDownloadWorker.run(SWDown loadWorker.java:149)
at phex.common.ThreadPool$Worker.run(ThreadPool.java: 280)
The machine is running on jdk-1.5.0_10 with the default 64mb heap maximum.

I hope you can help me this last time, sorry for bothering you all the time again and again :-/

lg Clemens

arne_bab February 14th, 2007 06:39 AM

There seems to be a new problem in downloads.

In SVN I have many downloads which start and the revert all sources to "loading", but download at 0kB/s only.

It happens to shareazas as well as LimeWires, especially when the download has many sources.

Download-Log:

Code:

070214 14:32:37,0017::HTTP Response:
HTTP/1.1 206 OK
(rest of the header)

070214 14:32:37,0017::Setting status to Lädt... and raise timeout from 1171463557017 to 1171463557017(0) Reason:null.



All times are GMT -7. The time now is 02:06 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.