Trying to make some scripts to do some IRIS initialization during startup, I noticed that iris start and particularly stop takes too much time, and it starts to many processes in the background.
nostu is mostly useless for system initialization but could help in some scenarios, such as setup passwords, but it is still too slow
irisowner@4ea1bfb50b7f:~$ time iris start iris nostu
Starting IRIS
Using 'iris.cpf' configuration file
Starting Control Process
Global buffer setting requires attention. Auto-selected 25% of total memory.
Allocated 7417MB shared memory
6002MB global buffers, 600MB routine buffers
Creating a WIJ file to hold 99 megabytes of data
InterSystems IRIS is started in single user mode.
To log into InterSystems IRIS, type:
iris session IRIS -B
real 0m0.513s
user 0m0.090s
sys 0m0.207s
For instance, I have no idea why it starts so many AUX processes, even during NOSTU. With a normal start with no extra volumes attached, just plain start, I see no reasons to have so many AUX processes as well.
2011 pts/0 S 0:00 /usr/irissys/bin/irisdb -s/usr/irissys/mgr/ -w/usr/irissys/mgr/ -cc -B -Enostu -C/usr/irissys/iris.cpf*IRIS
2052 pts/0 S 0:00 /usr/irissys/bin/irisdb WD
2053 pts/0 S 0:00 /usr/irissys/bin/irisdb GC
2054 pts/0 S 0:00 /usr/irissys/bin/irisdb JD
2055 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX2
2056 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX1
2057 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX5
2058 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX7
2059 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX4
2060 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX3
2061 pts/0 S 0:00 /usr/irissys/bin/irisdb AUX6
2062 pts/0 S 0:00 /usr/irissys/bin/irisdb DBXD