Skip to content

Too many profiles? #1428

Open
Open
@mkst

Description

@mkst

Tailing the logs, profiles seem to be created every time a compile request is made:

16-
17:03:46:25 DEBUG Made new profile: Agile Ant (anon)
18-03:46:25 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/ps1/gcc2.6.3-psx COMPILER_FLAGS='-O2 -G0 -funsigned-char -gcoff -Wa,--expand-div,--expand-li' FUNCTION=SsVabOpen MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpuif8f8cn:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpuif8f8cn:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpuif8f8cn:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpuif8f8cn/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/ps1/gcc2.6.3-psx --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'cpp -E -lang-c -nostdinc "${INPUT}" -o "${INPUT}".i && printf "%s" "${COMPILER_FLAGS}" | xargs -- ${COMPILER_DIR}/gcc -c -pipe -B${COMPILER_DIR}/ -o "${OUTPUT}" "${INPUT}.i"'
--
24-03:46:25 DEBUG Sandbox Command: COMPILER_BASE_PATH=/var/www/decomp.me/repo/backend/compilers /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp4cqn08si:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp4cqn08si:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp4cqn08si:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp4cqn08si/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --env PATH --env COMPILER_BASE_PATH -- /bin/bash -euo pipefail -c 'mips-linux-gnu-objdump --disassemble-zeroes --line-numbers --reloc --disassemble --start-address=0 -m mips:3000 /tmp/out.s'
25:03:46:26 DEBUG Made new profile: Smelly Clam (anon)
26-03:46:26 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/n64/ido5.3 COMPILER_FLAGS='-O2 -mips2' FUNCTION=func_800BB028 MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpbfcz9p_o:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpbfcz9p_o:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpbfcz9p_o:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpbfcz9p_o/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/n64/ido5.3 --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'USR_LIB="${COMPILER_DIR}" "${COMPILER_DIR}/cc" -c -Xcpluscomm -G0 -non_shared -Wab,-r4300_mul -woff 649,838,712 -32 ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
--
41-
42:03:46:26 DEBUG Made new profile: Slow Fish (anon)
43-03:46:26 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/n64/ido5.3 COMPILER_FLAGS='-G 0 -nostdinc -DVERSION_US=1 -fullwarn -verbose -woff 624,649,838,712,516,513,596,564,594,709 -mips2 -EB -D_MIPS_SZLONG=32 -DNDEBUG -D_FINALROM -DF3DEX_GBI -DLANGUAGE_C -D_LANGUAGE_C -O2 -g3' FUNCTION=func_i4_80193EF0 MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpf5d3zpbz:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpf5d3zpbz:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpf5d3zpbz:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpf5d3zpbz/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/n64/ido5.3 --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'USR_LIB="${COMPILER_DIR}" "${COMPILER_DIR}/cc" -c -Xcpluscomm -G0 -non_shared -Wab,-r4300_mul -woff 649,838,712 -32 ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
--
61-03:46:26 DEBUG https://o4504592968581120.ingest.sentry.io:443 "POST /api/4504592976904192/envelope/ HTTP/11" 200 0
62:03:46:27 DEBUG Made new profile: Herbivorous Bat (anon)
63-03:46:27 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/n64/ido5.3 COMPILER_FLAGS='-O2 -mips2' FUNCTION=func_8000C3D8 MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpa7ez9ywx:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpa7ez9ywx:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpa7ez9ywx:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpa7ez9ywx/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/n64/ido5.3 --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'USR_LIB="${COMPILER_DIR}" "${COMPILER_DIR}/cc" -c -Xcpluscomm -G0 -non_shared -Wab,-r4300_mul -woff 649,838,712 -32 ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
--
163-03:46:28 DEBUG Sandbox Command: COMPILER_BASE_PATH=/var/www/decomp.me/repo/backend/compilers /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmplm1l7gyi:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmplm1l7gyi:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmplm1l7gyi:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmplm1l7gyi/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --env PATH --env COMPILER_BASE_PATH -- /bin/bash -euo pipefail -c 'mips-ps2-decompals-objdump --disassemble-zeroes --line-numbers --reloc --disassemble --start-address=0 -m mips:5900 /tmp/out.s'
164:03:46:29 DEBUG Made new profile: Shy Meerkat (anon)
165-03:46:29 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/n64/ido5.3 COMPILER_FLAGS='-O2 -mips2' FUNCTION=func_8000C3D8 MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp_jnyix2g:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp_jnyix2g:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp_jnyix2g:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmp_jnyix2g/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/n64/ido5.3 --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'USR_LIB="${COMPILER_DIR}" "${COMPILER_DIR}/cc" -c -Xcpluscomm -G0 -non_shared -Wab,-r4300_mul -woff 649,838,712 -32 ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
--
171-03:46:30 DEBUG https://o4504592968581120.ingest.sentry.io:443 "POST /api/4504592976904192/envelope/ HTTP/11" 200 0
172:03:46:30 DEBUG Made new profile: Tame Llama (anon)
173:03:46:32 DEBUG Made new profile: Cuddly Reindeer (anon)
174-03:46:32 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/n64/ido5.3 COMPILER_FLAGS='-O2 -mips2' FUNCTION=func_800B0F28 MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpjepb5n3e:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpjepb5n3e:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpjepb5n3e:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpjepb5n3e/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/n64/ido5.3 --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'USR_LIB="${COMPILER_DIR}" "${COMPILER_DIR}/cc" -c -Xcpluscomm -G0 -non_shared -Wab,-r4300_mul -woff 649,838,712 -32 ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
--
210-03:46:32 DEBUG Sandbox Command: COMPILER_BASE_PATH=/var/www/decomp.me/repo/backend/compilers /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpiq_ucgj2:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpiq_ucgj2:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpiq_ucgj2:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpiq_ucgj2/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --env PATH --env COMPILER_BASE_PATH -- /bin/bash -euo pipefail -c 'mips-linux-gnu-objdump --disassemble-zeroes --line-numbers --reloc --disassemble --start-address=0 -m mips:4300 /tmp/out.s'
211:03:46:33 DEBUG Made new profile: Cold-blooded Pony (anon)
212-03:46:33 DEBUG Sandbox Command: WINE=wine WIBO=wibo INPUT=/tmp/code.c OUTPUT=/tmp/object.o COMPILER_DIR=/var/www/decomp.me/repo/backend/compilers/gc_wii/mwcc_233_163n COMPILER_FLAGS='-O4,p -nodefaults -proc gekko -fp hard -Cpp_exceptions off -enum int -fp_contract on -inline auto -DM2CTX -DMUST_MATCH -DWIP' FUNCTION=it_802842A4 MWCIncludes=/tmp TMPDIR=/tmp /bin/nsjail --mode o --chroot /var/www/decomp.me/repo/sandbox/root --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpr1w__f6d:/tmp --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpr1w__f6d:/run/user/1000 --bindmount_ro /dev --bindmount_ro /bin --bindmount_ro /etc/alternatives --bindmount_ro /etc/fonts --bindmount_ro /etc/passwd --bindmount_ro /lib --bindmount_ro /lib32 --bindmount_ro /lib64 --bindmount_ro /usr --bindmount_ro /proc --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpr1w__f6d:/var/tmp --bindmount_ro /var/www/decomp.me/repo/backend/compilers --bindmount_ro /var/www/decomp.me/repo/backend/libraries --env PATH=/usr/bin:/bin --cwd /tmp --rlimit_fsize soft --rlimit_nofile soft --bindmount_ro /tmp/wine:/wine --bindmount /var/www/decomp.me/repo/sandbox/tmp/tmpr1w__f6d/Temp:/wine/drive_c/users/ethteck/Temp --env WINEDEBUG=-all --env WINEPREFIX=/wine --really_quiet --bindmount_ro /var/www/decomp.me/repo/backend/compilers/gc_wii/mwcc_233_163n --env PATH --env WINE --env WIBO --env INPUT --env OUTPUT --env COMPILER_DIR --env COMPILER_FLAGS --env FUNCTION --env MWCIncludes --env TMPDIR -- /bin/bash -euo pipefail -c 'printf "%s" "${COMPILER_FLAGS}" | xargs -x -- ${WIBO} "${COMPILER_DIR}/mwcceppc.exe" -pragma "msg_show_realref off" -c -proc gekko -nostdinc -stderr -o "${OUTPUT}" "${INPUT}"'

I don't think we need to be creating so many profiles (we have 5m i think)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions