I (and by talking to clannies and from recent comments on G-D others) have an issue where sometimes Mafia slows right down, and stays slow until the Kolmafia is restarted. Some (such as me) have found this to happen occasionally for months, others seem to have had issues start recently. I suspect there may be more than one issue going on, but I thought it best to start a thread here to gather evidence. I've mainly noticed this in the relay browser, but then I almost always have it open.
Today when I got the issue, I fired up Wireshark to help me work out where the delays happened.
I was in the Hippy Camp, and clicked on adventure again. As I was down to one turn on 3 buffs, it recast two, then visited campground for a free rest, then cast the last buff, then started the fight. This took approximately 34 seconds.
The network traffic observed (have cut out chat messages) was :
So the responses from KoL look reasonably fast given they are multipacket and I have a 0.2 second ping to the server - 0.94, 0.72 and 0.71 for the skill casting, 0.71 for the campground rest, 0.91 for the fight. API was faster, 0.25, 0.24, 0.24, 0.25.
The Mafia processing to work out if it needs to refresh character data (call to api.php) is fast 0.01s - 0.03s.
The Mafia processing to parse api.php and work out the next action is slow (6.76s, 7.42s, 7.23s, 7.22s).
Am now going to restart KolMafia and record a baseline when first opened.
Today when I got the issue, I fired up Wireshark to help me work out where the delays happened.
I was in the Hippy Camp, and clicked on adventure again. As I was down to one turn on 3 buffs, it recast two, then visited campground for a free rest, then cast the last buff, then started the fight. This took approximately 34 seconds.
The network traffic observed (have cut out chat messages) was :
Code:
418.27 POST /skills.php
419.21 HTTP/1.1 200 OK get skills message back
419.22 POST /api.php
419.47 HTTP/1.1 200 OK get api message back
426.23 POST /skills.php
426.95 HTTP/1.1 200 OK get skills message back
426.96 POST /api.php
427.20 HTTP/1.1 200 OK get api message back
434.62 POST /campground.php
435.33 HTTP/1.1 200 OK get campground message back
435.36 POST /api.php
435.60 HTTP/1.1 200 OK get api message back
442.83 POST /skills.php
443.54 HTTP/1.1 200 OK get skills message back
443.55 POST api.php
443.80 HTTP/1.1 200 OK get api message back
451.02 POST /adventure.php
451.27 HTTP/1.1 302 Found
451.30 POST /fight/php
452.21 HTTP/1.1 200 OK get fight back
So the responses from KoL look reasonably fast given they are multipacket and I have a 0.2 second ping to the server - 0.94, 0.72 and 0.71 for the skill casting, 0.71 for the campground rest, 0.91 for the fight. API was faster, 0.25, 0.24, 0.24, 0.25.
The Mafia processing to work out if it needs to refresh character data (call to api.php) is fast 0.01s - 0.03s.
The Mafia processing to parse api.php and work out the next action is slow (6.76s, 7.42s, 7.23s, 7.22s).
Am now going to restart KolMafia and record a baseline when first opened.
Last edited: