You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Hi, I am using a platfom that supports multiple users simoultaneously, but has only one system server. As the number of users increases, the binder is having a hard time creating binder threads inside the system_server (and I believe that inside the servicemanager too). Where is that limit defined? How can I configure the binder to increase its memory size? Support more concurrent threads? Support more fds?
Thanks
Dave Smith
unread,
Jun 24, 2014, 12:58:19 AM6/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
The binder thread count is set in the driver using the BINDER_SET_MAX_THREADS ioctl. In the framework, it is set in ProcessState.cpp:
The default value of 15 is set in the open_driver() method. The setThreadPoolMaxThreadCount() method is only used in a few select processes to modify this value (e.g. surfaceflinger sets the value to 4).