# Default value for scan-max-udf-transactions

**URL:** <https://discuss.aerospike.com/t/default-value-for-scan-max-udf-transactions/2771>\
**Category:** General Discussion\
**Tags:** scan, udf\
**Created:** [April 4, 2016, 10:16pm UTC](https://discuss.aerospike.com/t/default-value-for-scan-max-udf-transactions/2771 "2016-04-04T22:16:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naoum](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@naoum](https://discuss.aerospike.com/u/naoum)\
**Post date:** [April 4, 2016, 10:16pm UTC](https://discuss.aerospike.com/t/default-value-for-scan-max-udf-transactions/2771/1 "2016-04-04T22:16:31Z")

</div>

Hi,

I was wondering why the default value of scan-max-udf-transactions is 32 - shouldn’t this be pretty much the same as service-threads/number of cpus? I’ve noticed that when we do a scan with udf it maxes out the cpu/load of the boxes.

Thanks!
