{"action":"created","issue":{"url":"https://api.github.com/repos/AriaLyy/Aria/issues/193","repository_url":"https://api.github.com/repos/AriaLyy/Aria","labels_url":"https://api.github.com/repos/AriaLyy/Aria/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/AriaLyy/Aria/issues/193/comments","events_url":"https://api.github.com/repos/AriaLyy/Aria/issues/193/events","html_url":"https://github.com/AriaLyy/Aria/issues/193","id":292266046,"number":193,"title":"提两个bug","user":{"login":"zhangli915952504","id":15918114,"avatar_url":"https://avatars0.githubusercontent.com/u/15918114?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangli915952504","html_url":"https://github.com/zhangli915952504","followers_url":"https://api.github.com/users/zhangli915952504/followers","following_url":"https://api.github.com/users/zhangli915952504/following{/other_user}","gists_url":"https://api.github.com/users/zhangli915952504/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangli915952504/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangli915952504/subscriptions","organizations_url":"https://api.github.com/users/zhangli915952504/orgs","repos_url":"https://api.github.com/users/zhangli915952504/repos","events_url":"https://api.github.com/users/zhangli915952504/events{/privacy}","received_events_url":"https://api.github.com/users/zhangli915952504/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-01-29T02:23:19Z","updated_at":"2018-02-07T02:58:50Z","closed_at":null,"author_association":"NONE","body":"1.下载文件过多 使用单个url下载  没有打包下载  下载一部分后出现文件数打开过多的error 。\r\n2.下载照片，完成后发现照片错位了   是被截掉一半然后错位拼接似的。"},"comment":{"url":"https://api.github.com/repos/AriaLyy/Aria/issues/comments/363640467","html_url":"https://github.com/AriaLyy/Aria/issues/193#issuecomment-363640467","issue_url":"https://api.github.com/repos/AriaLyy/Aria/issues/193","id":363640467,"user":{"login":"zhangli915952504","id":15918114,"avatar_url":"https://avatars0.githubusercontent.com/u/15918114?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangli915952504","html_url":"https://github.com/zhangli915952504","followers_url":"https://api.github.com/users/zhangli915952504/followers","following_url":"https://api.github.com/users/zhangli915952504/following{/other_user}","gists_url":"https://api.github.com/users/zhangli915952504/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangli915952504/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangli915952504/subscriptions","organizations_url":"https://api.github.com/users/zhangli915952504/orgs","repos_url":"https://api.github.com/users/zhangli915952504/repos","events_url":"https://api.github.com/users/zhangli915952504/events{/privacy}","received_events_url":"https://api.github.com/users/zhangli915952504/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T02:58:50Z","updated_at":"2018-02-07T02:58:50Z","author_association":"NONE","body":"下载400多张照片，还是有错位的情况，错位比较频繁，是在下载正常的情况下。\r\n在200多张的时候出现这个错（估计是请求太多的原因）：\r\n`02-07 10:47:17.170 16380-19268/com.build.scan E/AbsThreadTask: 下载失败【http://flashair/DCIM/100MSDCF/DSC00305.JPG】\r\n                                                               ExceptionDetailed:\r\n                                                               ====================Exception Info====================\r\n                                                               java.net.ConnectException: failed to connect to flashair/192.168.0.1 (port 80) after 5000ms: connect failed: EMFILE (Too many open files)\r\n                                                               libcore.io.IoBridge.connect(IoBridge.java:124)\r\n                                                               java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)\r\n                                                               java.net.PlainSocketImpl.connect(PlainSocketImpl.java:502)\r\n                                                               java.net.Socket.connect(Socket.java:884)\r\n                                                               com.android.okhttp.internal.Platform.connectSocket(Platform.java:117)\r\n                                                               com.android.okhttp.internal.http.SocketConnector.connectRawSocket(SocketConnector.java:160)\r\n                                                               com.android.okhttp.internal.http.SocketConnector.connectCleartext(SocketConnector.java:67)\r\n                                                               com.android.okhttp.Connection.connect(Connection.java:152)\r\n                                                               com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)\r\n                                                               com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)\r\n                                                               com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:342)\r\n                                                               com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:331)\r\n                                                               com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:249)\r\n                                                               com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437)\r\n                                                               com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)\r\n                                                               com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231)\r\n                                                               com.arialyy.aria.core.download.downloader.HttpThreadTask.run(HttpThreadTask.java:75)\r\n                                                               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n                                                               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n                                                               java.lang.Thread.run(Thread.java:818)\r\n                                                               【Caused by】: android.system.ErrnoException: connect failed: EMFILE (Too many open files)\r\n                                                               libcore.io.Posix.connect(Native Method)\r\n                                                               libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111)\r\n                                                               libcore.io.IoBridge.connectErrno(IoBridge.java:154)\r\n                                                               libcore.io.IoBridge.connect(IoBridge.java:122)\r\n                                                               java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)\r\n                                                               java.net.PlainSocketImpl.connect(PlainSocketImpl.java:502)\r\n                                                               java.net.Socket.connect(Socket.java:884)\r\n                                                               com.android.okhttp.internal.Platform.connectSocket(Platform.java:117)\r\n                                                               com.android.okhttp.internal.http.SocketConnector.connectRawSocket(SocketConnector.java:160)\r\n                                                               com.android.okhttp.internal.http.SocketConnector.connectCleartext(SocketConnector.java:67)\r\n                                                               com.android.okhttp.Connection.connect(Connection.java:152)\r\n                                                               com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)\r\n                                                               com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)\r\n                                                               com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:342)\r\n                                                               com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:331)\r\n                                                               com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:249)\r\n                                                               com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437)\r\n                                                               com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)\r\n                                                               com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231)\r\n                                                               com.arialyy.aria.core.download.downloader.HttpThreadTask.run(HttpThreadTask.java:75)\r\n                                                               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n                                                               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n                                                               java.lang.Thread.run(Thread.java:818)\r\n                                                               ===================================================\r\n02-07 10:47:17.216 16380-19270/com.build.scan E/AbsThreadTask: 下载失败【http://flashair/DCIM/100MSDCF/DSC00305.JPG】\r\n                                                               ExceptionDetailed:\r\n                                                               ====================Exception Info====================\r\n                                                               java.io.FileNotFoundException: /storage/emulated/0/ScanProject/测试11/cameras/DSC00305.JPG: open failed: EMFILE (Too many open files)\r\n                                                               libcore.io.IoBridge.open(IoBridge.java:452)\r\n                                                               java.io.RandomAccessFile.<init>(RandomAccessFile.java:117)\r\n                                                               com.arialyy.aria.util.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:123)\r\n                                                               com.arialyy.aria.core.download.downloader.HttpThreadTask.run(HttpThreadTask.java:77)\r\n                                                               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n                                                               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n                                                               java.lang.Thread.run(Thread.java:818)\r\n                                                               【Caused by】: android.system.ErrnoException: open failed: EMFILE (Too many open files)\r\n                                                               libcore.io.Posix.open(Native Method)\r\n                                                               libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)\r\n                                                               libcore.io.IoBridge.open(IoBridge.java:438)\r\n                                                               java.io.RandomAccessFile.<init>(RandomAccessFile.java:117)\r\n                                                               com.arialyy.aria.util.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:123)\r\n                                                               com.arialyy.aria.core.download.downloader.HttpThreadTask.run(HttpThreadTask.java:77)\r\n                                                               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n                                                               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n                                                               java.lang.Thread.run(Thread.java:818)\r\n                                                               ===================================================\r\n02-07 10:47:17.223 16380-19270/com.build.scan E/art: ashmem_create_region failed for 'indirect ref table': Too many open files`\r\n"}}
{"actor":{"display_login":"zhangli915952504"}}