I haven't run DSP in a few years, but it was fairly easy to get back on the bike. Stuff I've tested so far works as I would expect it to do so (admittedly only having played for 15ish mins in my testing atm). There's one annoyance currently though that's proving very irritating. The Lobby and Game servers refuse to die, and if you force kill them they throw a slew of errors. The Search server has no issues.
It's mainly an issue when rebooting the server (what should take 30 seconds on a VM takes 6+ mins with the delay timers) or restarting / stopping a service to load changes to LUA or if you want to pull new GIT files and rebuild.
I'm using Ubuntu 18.04, latest main branch as of this morning. While the logs below are via the SystemD setup, this occurs regardless if you just load it via screen and attempt to stop with a Ctrl+C as well.
Code: Select all
[17/May 23:13][Fatal Error] --- gdb backtrace ---
dsconnect: /usr/include/zmq.hpp:412: void zmq::context_t::close(): Assertion `rc == 0' failed.
/bin/sh: 1: Syntax error: Bad fd number
[17/May 23:13][Fatal Error] --- gdb backtrace ---
dsconnect: /usr/include/zmq.hpp:412: void zmq::context_t::close(): Assertion `rc == 0' failed.
/bin/sh: 1: Syntax error: Bad fd number
...Repeat x Infinity (no seriously it just spams past the buffer)
[17/May 23:13][Fatal Error] --- gdb backtrace ---
dsconnect: /usr/include/zmq.hpp:412: void zmq::context_t::close(): Assertion `rc == 0' failed.
[17/May 23:13][Error] pipe failed for gdb backtrace: Too many open files
Code: Select all
May 17 22:48:45 werfeirverne systemd[1]: Stopping Final Fantasy XI DarkStar Emulator Lobby Server...
May 17 22:50:16 werfeirverne systemd[1]: ffxi-lobby.service: State 'stop-sigterm' timed out. Killing.
May 17 22:50:16 werfeirverne systemd[1]: ffxi-lobby.service: Killing process 1100 (dsconnect) with signal SIGKILL.
May 17 22:50:16 werfeirverne systemd[1]: ffxi-lobby.service: Main process exited, code=killed, status=9/KILL
May 17 22:50:16 werfeirverne systemd[1]: ffxi-lobby.service: Failed with result 'timeout'.
May 17 22:50:16 werfeirverne systemd[1]: Stopped Final Fantasy XI DarkStar Emulator Lobby Server.
Code: Select all
May 17 22:47:15 werfeirverne systemd[1]: Stopping Final Fantasy XI DarkStar Emulator Game Server...
May 17 22:47:15 werfeirverne dsgame[1230]: [17/May] [22:47:15][Status] luautils::free:lua free... - [OK]
May 17 22:47:15 werfeirverne dsgame[1230]: dsgame: /usr/include/zmq.hpp:406: zmq::context_t::~context_t(): Assertion `rc ==
May 17 22:47:15 werfeirverne dsgame[1230]: [17/May] [22:47:15][Fatal Error] --- gdb backtrace ---
May 17 22:47:15 werfeirverne dsgame[1230]: double free or corruption (!prev)
May 17 22:48:45 werfeirverne systemd[1]: ffxi-game.service: State 'stop-sigterm' timed out. Killing.
May 17 22:48:45 werfeirverne systemd[1]: ffxi-game.service: Killing process 1230 (dsgame) with signal SIGKILL.
May 17 22:48:45 werfeirverne systemd[1]: ffxi-game.service: Main process exited, code=killed, status=9/KILL
May 17 22:48:45 werfeirverne systemd[1]: ffxi-game.service: Failed with result 'timeout'.
May 17 22:48:45 werfeirverne systemd[1]: Stopped Final Fantasy XI DarkStar Emulator Game Server.
Code: Select all
[Unit]
Description=Final Fantasy XI DarkStar Emulator Lobby Server
After=syslog.target network.target
[Service]
User=emu
Group=emu
PIDFile=/home/emu/ffxi-lobby.pid
WorkingDirectory=/home/emu/darkstar
ExecStart=/home/emu/darkstar/dsconnect
Restart=always
[Install]
WantedBy=multi-user.target
Code: Select all
[Unit]
Description=Final Fantasy XI DarkStar Emulator Game Server
Wants=ffxi-lobby.service
After=syslog.target network.target ffxi-lobby.service
[Service]
User=emu
Group=emu
PIDFile=/home/emu/ffxi-lobby.pid
WorkingDirectory=/home/emu/darkstar
ExecStart=/home/emu/darkstar/dsgame
Restart=always
[Install]
WantedBy=multi-user.target
Code: Select all
[Unit]
Description=Final Fantasy XI DarkStar Emulator AuctionHouse Server
Wants=ffxi-game.service
After=syslog.target network.target ffxi-game.service
[Service]
User=emu
Group=emu
PIDFile=/home/emu/ffxi-lobby.pid
WorkingDirectory=/home/emu/darkstar
ExecStart=/home/emu/darkstar/dssearch
Restart=always
[Install]
WantedBy=multi-user.target