Too many MaintenanceTimer and CleanCursors Threads

I am using jconsole to check for the number of threads and i see a lot of MaintenanceTimer threads and CleanCursor Threads.

  1. What are these threads ?
  2. Is it related to any mongodb configurable options ?

Any pointers on these will be helpful.

There are about 300+ threads of which i see 180+ threads related to MaintenanceTimer and CleanCursors

Name: CleanCursors-180-thread-1 State: TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ ConditionObject@5b478a71 Total blocked: 0 Total waited: 364

Stack trace: sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.ScheduledThreadPoolExecutor$ DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) java.util.concurrent.ScheduledThreadPoolExecutor$ DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) java.util.concurrent.ThreadPoolExecutor$ Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)

How many areas is reasonable for areaServed schema?

I’m adding some schema to my site and was wondering about the areaServed property. Is this used for SEO in any way? If it is, is it good or bad to cram as much into it as possible?

i.e. if I simply added "Wolverhampton" (UK) as a city, would that be just the same as adding all the surrounding suburbs too? Would there be some benefit/harm in doing this?

"areaServed": [ "Wolverhampton"]  vs.  "areaServed": [ "Wolverhampton", "Wednesfield", "Bushbury", "Penn", "Bilston", "etc etc etc"] 

display an input string many times

I’d like to create a function that add 2 to an integer as much as we want. It would look like that:

>>> n = 3  >>> add_two(n) Would you like to add a two to n ? Yes The new n is 5 Would you like to add a two to n ? Yes the new n is 7 Would you like to add a two to n ? No 

Can anyone help me please ? I don’t how I can print the sentence without recalling the function.

How many spell slots does a Level 3 Warlock have?

The Warlock Table in the PHB (p106) states that a Warlock has the following:

  • 1 First-level spell slot at level 1.
  • 2 First-level spell slots at level 2.
  • 2 Second-level spell slots at level 3.

Does this mean that a third level Warlock has a cumulative 5 Spell Slots? (3 First-Level slots and 2 Second-Level slots)

Or do the new slots just replace old slots between levels such that a 3rd-level Warlock ultimately has only 2 second-level spell slots?

How many proxies?

I’m using 10 semi dedicated proxies through proxy-hub but they quickly get the google error. So how many proxies should I be using and are semi private ok? I’ve read of people using 100+ with gsa but thats $ 185/month for private proxies. Scraping free proxies didn’t work to well for me. What do you suggest?

How many attacks can I make with Sudden Charge?

Braun is a young Dwarf Barbarian. He uses Sudden Charge to get to the Kobold.

With a quick sprint, you dash up to your foe and swing. Stride twice. If you end your movement within melee reach of at least one enemy, you can make a melee Strike against that enemy.

From what I understood, Braun could move 50ft and attack with a single action. He could then do 2 more attacks with his other 2 actions (for a total of 3 attacks). My table ruled that I could only do 2 total attacks. I don’t understand why, and .

If a Strike is always an action, what’s the point of saying "If you end your movement within melee reach of at least one enemy, you can make a melee Strike against that enemy"?

How can I have low-level 5e necromancer NPCs controlling many, many undead in this converted adventure?

I require as close to a RAW answer as possible for ~Level 5 Wizard(s) to control ~100 skeletons and zombies.

Context: I’m adapting a few classics for older editions to D&D 5e, and running into issues for which I need RAW solutions. I could just hand wave it away but my own DM does that sort of thing and I am very much a proponent of what I call the Goose and Gander argument for players and NPCs: essentially, (with a few exceptions) if the bad guy can do it then so can the players, given enough time and resources. So handwaving the NPCs’ abilities doesn’t work for my campaign.

The AD&D 2e adventure Return to the Keep on the Borderlands has a Necromancer and several large groups of skeletons and zombies, but there is no possible way that the denizens of the temple could maintain control of so many for what they are utilized.

All told there seems to be ~100 skeletons and zombies that are described as being controlled, i.e. they have tasks they are performing when encountered. The module only describes a single caster that would be capable of casting Animate Dead and it is a 5th Level Wizard (Necromancer) there are a handful of lvl 3 Clerics in there as well. This technically would not have worked even in 2nd edition RAW since Animate Dead was 5th level for Wizards. I would however like to have at least a modicum of a better explanation than “Well, that’s what was written in the module.”

Therefore, is there something out of all the books that I am missing that could justify a small, essentially low level temple having so many controlled undead?

Immediate thoughts would be replacing some of them with constructs. Given the nature of the temple Scarecrows are the obvious choice and would be controlled indefinitely. I did see some ideas about converting the Bone Golem from previous editions — the problem with that is it changes the focus from Necromancy to Conjuration (as Scarecrows are bound spirits), which is not really desirable nor as interesting a threat to the good NPC side.

I also thought of scrolls but they are limited and would need to be replenished somehow from a higher level wizard that can make them. This option would require many scrolls, possibly dozens, per day if the existing casters capable of scribing them were to be the ones creating them.

I don’t see a way of doing this without a custom magic item, something akin to the 3.0 whistle from Sunless Citadel.

How many times do you roll damage for Chain Lighting?

Chain Lightning has the following description:

You create a bolt of lightning that arcs toward a target of your choice that you can see within range. Three bolts then leap from that target to as many as three other targets, each of which must be within 30 feet of the first target.

The rules for damage rolls state:

If a spell or other effect deals damage to more than one target at the same time, roll the damage once for all of them. For example, when a wizard casts fireball or a cleric casts flame strike, the spell’s damage is rolled once for all creatures caught in the blast.

Assuming four available targets which of the following is correct?

  • Roll once for damage for all of the targets
  • Roll twice for damage, once for the first target, and once for the three subsidiary targets.
  • Roll damage separately for each targets

How many dice does the GM roll when challenging the players?

I’d like to run a game of Roll for Shoes, but I’m not sure how many dice I roll when the characters face various challenges.

I’m under the impression that it’s supposed to be the same number of dice the character uses, but that seems to make impossible tasks far too easy to perform.

Is there a general rule saying how many dice the GM rolls against a character’s attempt at a given task? Should the GM’s dice equal the character’s dice, or should the GM’s dice vary depending on the task’s difficulty?

How many hit points does a bedroll have?

The PCs are battling a bat swarm, and lit a bedroll on fire and are trying to chase the swarm away by floating the burning bedroll at the swarm with mage hand.

The bedroll will take 1d6 fire damage each turn, but I can’t find how many hitpoints a bedroll would have (in this case, sized for a halfling). Let’s assume the bedroll is still rolled up, and not spread out.

Rope/cloth has 2 hp per inch of thickness: I guess it’s kind of a GM call?

Edit: a simple google search gives this choice as one of it’s first results. It has a long and short option. If we take the rolled width of the short bedroll (for a halfling), it’s width is 8 inches. At 2 hp/inch, that gives it 16 hp total. That sounds reasonable enough, I suppose. Depending on the fire damage rolls, that’s at least 3 rounds.