#weird timeout bug

16 messages · Page 1 of 1 (latest)

nocturne hull
#

with so much omitted code it's hard to say
maybe a timeout caused some sort of backlog that blocks everything else temporarily

#

check the signaling for when a timeout occours

nocturne hull
#

can you open something like btop that can track cpu spikes?

#

see if your cpu is spiking

#

this seems really odd

#

seems like something is spiking the cpu when http times out

nocturne hull
#

hmmmmm

#

i am going to say it's something blocking everyrthing

#

something somewhere might be blocking everything else

#

thus the cpu usage dips instead of spike

#

if say when request times out
it blocks other stuff from being processed thus cpu usage drops

#

see pprof which is normally used to diagnose performance
i am not sure if it's applicable here but it might be worth checking

#

or maybe give more code cuz honestly the code is not much for me to give any clues

#

probably means text char too large

#

discord is bad at being direct

#

when something goes wrong sending messages it tries to be as vague as possible