# Warning in log - "rebuilding Selected Selection Key Set Selector"

**URL:** <https://community.openhab.org/t/warning-in-log-rebuilding-selected-selection-key-set-selector/85189>\
**Category:** Runtime\
**Created:** [November 10, 2019, 12:17am UTC](https://community.openhab.org/t/warning-in-log-rebuilding-selected-selection-key-set-selector/85189 "2019-11-10T00:17:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lainsan](https://community.openhab.org/user_avatar/community.openhab.org/lainsan/32/47273_2.png) [@lainsan](https://community.openhab.org/u/lainsan)\
**Post date:** [November 10, 2019, 12:17am UTC](https://community.openhab.org/t/warning-in-log-rebuilding-selected-selection-key-set-selector/85189/1 "2019-11-10T00:17:20Z")

</div>

Hi OH community,

Not really sure in which category to post that question, giving it a try here.  
In my OH2 log I am seeing a warning like “Rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector” every 1-15 minutes. It looks like this:

2019-11-09 23:06:25.686 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@16176ee.  
2019-11-09 23:11:30.652 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@4b825f.  
2019-11-09 23:16:30.283 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@1d3c510.  
2019-11-09 23:17:22.319 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@18d9d3.  
2019-11-09 23:23:42.406 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@105a658.  
2019-11-09 23:24:53.703 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@155e4b3.  
2019-11-09 23:27:24.314 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@15677c8.  
2019-11-09 23:35:48.591 [WARN] [io.netty.channel.nio.NioEventLoop] - Selector.select() returned prematurely 512 times in a row; rebuilding Selector io.netty.channel.nio.SelectedSelectionKeySetSelector@11af7ef.

Is that anything I should worry about? How could I dig deeper into what is causing that?

Currently I am using the following bindings:

- Astro
- IpCamera
- Network
- SynologySurveillanceStation

Would I be supposed to switch debug mode on for each of them to see where it comes from?

Cheers!

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [November 10, 2019, 12:53am UTC](https://community.openhab.org/t/warning-in-log-rebuilding-selected-selection-key-set-selector/85189/2 "2019-11-10T00:53:35Z")

</div>

From searching, I would guess the problem is the IP Camera binding. You could be running an ancient version of OpenHAB.

Since you provide no information about your system that is probably the best information you can get here.

> [@How to ask a good question / Help Us Help You](https://community.openhab.org/t/how-to-ask-a-good-question-help-us-help-you/58396):
>
> Before you ask… Community forum is NOT a helpdesk Let’s put this in the front: nobody here works for openHAB. The community members are helping with an Open Source Project, not a commercial software. Additionally, the forum is NOT dealing with general Home Automation topics, the focus is on openHAB. In some cases, various products or technologies which are not directly linked to openHAB can be discussed but with the proper [title](#five), [category](#four) or [tag](#six). We are ALL volunteering our free time to help o…

---

<div class="post-metadata">

**Author:** ![lainsan](https://community.openhab.org/user_avatar/community.openhab.org/lainsan/32/47273_2.png) [@lainsan](https://community.openhab.org/u/lainsan)\
**Post date:** [November 10, 2019, 9:00am UTC](https://community.openhab.org/t/warning-in-log-rebuilding-selected-selection-key-set-selector/85189/3 "2019-11-10T09:00:22Z")

</div>

Thanks for your answer and apologizing for the missing details.

I am using openHAB 2.4.0-1 (Release Build) as openhabian system on a Raspberry Pi.  
Release = Raspbian GNU/Linux 10 (buster)  
Kernel = Linux 4.19.75-v7l+  
Platform = Raspberry Pi 4 Model B Rev 1.1

Thanks for the hint, I will now work on debugging ipcamera binding first and check with the author.

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [November 10, 2019, 9:23am UTC](https://community.openhab.org/t/warning-in-log-rebuilding-selected-selection-key-set-selector/85189/4 "2019-11-10T09:23:36Z")

</div>

You will most likely be asked to update OpenHAB or at least that binding to the latest rest release 2.5 Milestone 4.  
2.4 is considered quite old now. The 2.5 release was delayed and is now expected at the end of this year.
