That should work - the threads are indeed native, so they will show up in
the OS internals.

On Thu, Apr 2, 2009 at 6:29 AM, Michael Dagaev <[email protected]>wrote:

> Hi, all
>
>       I heard from somebody on the list that the xceivers number
>  is actually the number of worker threads of the data node process.
>
> Assuming Java uses native threads we can monitor the number of xceivers
> just by ls /proc/<data node pid>/task | wc -l and if it is getting to the
> limit,
> add data  nodes.
>
> Does it make sense?
> M.
>

Reply via email to