Since you mentioned ulimit, here are my settings for the hci user in the admin file /etc/security/limits
hci:
fsize = 2097151
core = 2048
cpu = -1
data = 786432
rss = 196608
stack = 196608
nofiles = 2048
These settings have been working for us okay.
Russ Ross
RussRoss318@gmail.com