Hi everyone!
I’m building a linux dedicated server for a small project using the latest dev-slim docker image unreal-engine:dev-slim-5.5.1. It builds perfectly fine on 2 computers, an i7 and an i9, in both windows11 (WSL) and linux, but when I try to build exactly the same thing on a Xeon based server (same Dockerfile, same build command, same project…) I get an OOM error initializing libwebsockets in the cooking stage.
This is the specific error I get in my Xeon server:
LogInit: Display:
LogInit: Display: Warning/Error Summary (Unique only)
LogInit: Display: -----------------------------------
LogInit: Display: LogWebSockets: Error: Failed to initialize libwebsockets
LogInit: Display: LogWebSockets: Warning: Lws(Error): OOM allocating 1073741816 fds
LogInit: Display: LogWebSockets: Warning: Lws(Error): ZERO RANDOM FD
My server has this specific CPU:
Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz
This Xeon server of course has much more memory than the computers I use to build it without any issue. Actually it has 256GB and during the build it never uses more than 4-5GBs. Docker builds are not limited at all in this server.
This is what I use to build the dedicated server with the unreal-engine:dev-slim-5.5.1 docker image:
RUN /home/ue4/UnrealEngine/Engine/Build/BatchFiles/RunUAT.sh \
BuildCookRun \
-project=/src/MYPROJECT.uproject \
-nop4 \
-Server \
-NoClient \
-ServerConfig=Shipping \
-unrealexe=/home/ue4/UnrealEngine/Engine/Binaries/Linux/UnrealEditor-Cmd \
-UTF8Output \
-NoDebugInfo \
-platform=Linux \
-targetplatform=Linux \
-build \
-cook \
-allmaps \
-skipcookingeditorcontent \
-unversionedcookedcontent \
-pak \
-distribution \
-compressed \
-stage \
-package \
-archive \
-archivedirectory=/src/dist
Any idea why it builds well in i7/i9 computers and libwebsockets fails with that OOM in my Xeon based server?
Thanks so much in advance!