Out-Of-Memory Condition
The Linux Kernel allocates memory based on the demand of the applications running on the system. When UDFs consume the entire container process memory, the Linux Out-of-Memory (OOM) killer, kills the UDF container running in the Docker. For typical UDFs, 512MB of memory space is sufficient.
If there are any memory issues when running concurrent UDF requests or when using memory hungry UDFs, the limit can be increased when warranted by using the “-m” Docker run option.
Note: This setting is available for both Windows and Linux installations.
Edit udf_engines.conf in the $II_SYSTEM/ingres/files directory as shown below and restart the database using ingstop/ingstart command.
[remote-container-linux]
command="/usr/bin/docker run -p 44222:32225 -m 512MB --rm --mount type=bind,source=II_SYSTEM/ingres/udf/log,target=/opt/actian/vectorwise-udf/log,ro=0 --mount type=bind,source=II_SYSTEM/ingres/udf/import,target=/opt/actian/vectorwise-udf/import,ro=0 --name udf$INSTANCE_TAG --user $UID:$GID actian/vector7.0-udf:1.0.0"
Note: The command shown above will differ based on your instance ID and install location.
Last modified date: 12/19/2024