Spark profiler stop, console warning due to command execution length.
andrewkm opened this issue · 3 comments
Spark 1.10.37 Build 375
Paper 1.19.4 Build 519
Java 20.0.1
Spark hangs on upload after profiler stop and spams console.
Eventually it does complete though.
[14:02:03] [Craft Scheduler Thread - 153 - spark/WARN]: [spark] A command execution has not completed after 10 seconds, it might be stuck. Trace:
java.base/sun.nio.ch.Net.poll(Native Method)
java.base/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:186)
java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:275)
java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:299)
java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:340)
java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:789)
java.base/java.net.Socket$SocketInputStream.read(Socket.java:1025)
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:483)
java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477)
java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1461)
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1066)
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:258)
java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:313)
java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:386)
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:365)
java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:828)
java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:760)
java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1672)
java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1581)
java.base/sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3214)
java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(HttpsURLConnectionImpl.java:261)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.util.BytebinClient.postContent(BytebinClient.java:72)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.util.BytebinClient.postContent(BytebinClient.java:84)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.util.BytebinClient.postContent(BytebinClient.java:94)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.command.modules.SamplerModule.handleUpload(SamplerModule.java:429)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:408)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:141)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:430)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:339)
org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101)
org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base/java.lang.Thread.run(Thread.java:1623)
[14:02:03] [Craft Scheduler Thread - 131 - spark/INFO]: [⚡] Profiler stopped & upload complete!