Defining vertx.pool.worker.size not changing worker pool size

708 views
Skip to first unread message

Francis Chan

unread,
Feb 5, 2016, 7:08:49 PM2/5/16
to vert.x
I did a search and there's not much that I could find about this option.

I run a fat jar Vertx

  • java -Dvertx.pool.worker.size=100 -jar <my fat jar>

I inspect the running jar in VisualVM and I see 20 "vert.x-worker-threads-XYZ" which I think is the default 20 worker thread pool but I would expect that this would increase to 100 since I defined the option in system properties?

Am I missing something?

Thanks!

Junbong

unread,
Mar 13, 2016, 5:05:57 AM3/13/16
to vert.x
There`s no replies on this thread...

I wonder it too.
How can I set worker pool size on the command line?


2016년 2월 6일 토요일 오전 9시 8분 49초 UTC+9, Francis Chan 님의 말:

Junbong

unread,
Mar 13, 2016, 5:44:51 AM3/13/16
to vert.x
Self replying.

The answer is:
-Dvertx.options.workerPoolSize=100

Thanks.


2016년 2월 6일 토요일 오전 9시 8분 49초 UTC+9, Francis Chan 님의 말:
I did a search and there's not much that I could find about this option.

Julien Viet

unread,
Mar 13, 2016, 5:48:14 AM3/13/16
to ve...@googlegroups.com
using -Dvertx.options.workerPoolSize=100 should work

-- 
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/da467f87-ed33-46e0-bcee-5a1d08a03ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages