Hello,
I'm testing IBMs docker incarnation of Developer-C:
https://store.docker.com/images/db2-developer-c-edition
First question:
The container has an annoying Java process which I would like to get rid
of:
db2inst1 19508 1.4 1.5 3146664 58700 ? Sl 09:43 0:05 /opt/ibm/ db2/V11.1/java/jdk64/jre/bin/java -cp [long list] -Xmx1500m - Xdump:tool:events=systhrow,filter=java/lang/OutOfMem*,exec=./bin/
shutdown.sh -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 com.ibm.es.nuvo.Startup /database/config/db2inst1/sqllib/db2tss/config -
status -locale=en
It seems to have to do with Text Search. I have tried disabling text
search, but it doesn't seem to make the Java process go away, not even
after a container restart:
db2ts disable database for text force connect to testdb1
According to pstree, the java process is started from /var/db2_setup/lib/ setup_db2_instance.sh
I could of course hack the shell script to remove text search from being started, but I wonder if there is a cleaner / more declarative way?
Next question:
When the instance starts, it doesn't active its database(s). This is a
well know issue with DB2 which doesn't seem to have a good, clean
solution, other than various scripting hacks. It's even more annoying in
a container setting where there should be as little extra scripting as possible. Does someone have a suggestion for making the DB2 container auto-active its databases?
--
Regards,
Troels Arvin
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)