Recent Changes - Search:

edit SideBar

Debugging

See Building for how to build your own version of Vert.x

Thread has been blocked

Thread Thread[vert.x-eventloop-thread-5,6,main] has been blocked for 282243 ms, time limit is 2000
io.vertx.core.VertxException: Thread blocked
        at io.vertx.core.impl.FileResolver.deleteCacheDir(FileResolver.java:251)
        at io.vertx.core.impl.FileResolver.close(FileResolver.java:80)
        at io.vertx.core.impl.VertxImpl.deleteCacheDirAndShutdown(VertxImpl.java:659)
        at io.vertx.core.impl.VertxImpl.lambda$9(VertxImpl.java:487)
        at io.vertx.core.impl.VertxImpl$$Lambda$53/1060652589.handle(Unknown Source)
        at io.vertx.core.impl.VertxImpl.lambda$3(VertxImpl.java:436)

Vert.x 3 - Disable BlockedThreadChecker suggests setting the -Dvertx.options.blockedThreadCheckInterval=12345 property.

With Ptolemy, on the command line, maybe the way to do this is

export JAVAFLAGS=-Dvertx.options.blockedThreadCheckInterval=12345
$PTII/bin/vergil -v

However, that did not seem to help.

It could be that doing something like:

            VertxOptions options = new VertxOptions();
            options.setMaxEventLoopExecuteTime(10000000L);
            _vertx = Vertx.vertx(options);

is necessary.


Edit - History - Print - Recent Changes - Search
Page last modified on November 06, 2015, at 08:19 AM