StateOfJS-homepage icon indicating copy to clipboard operation
StateOfJS-homepage copied to clipboard

503 gateway timeout for `take survey` link

Open j4w8n opened this issue 3 years ago • 8 comments

I can't get to the survey.

j4w8n avatar Jan 13 '22 15:01 j4w8n

Should be better now? Sometimes the server gets overloaded, sorry…

SachaG avatar Jan 13 '22 16:01 SachaG

Yep! Got one issue after submitting.

Screenshot_20220113-121823_Firefox.jpg

j4w8n avatar Jan 13 '22 17:01 j4w8n

The take survey button just gets stuck loading. Doesn't lead to survey at all. I'm assuming it's related to this issue

makrandgupta avatar Jan 14 '22 07:01 makrandgupta

Sorry, server needed another restart…

SachaG avatar Jan 14 '22 07:01 SachaG

Setup cron job for a few times a day?

j4w8n avatar Jan 14 '22 15:01 j4w8n

Seems to be broken again.

image

NathanWaddell121107 avatar Jan 17 '22 14:01 NathanWaddell121107

@SachaG Any chance you have log files to narrow down the reason the survey keeps going offline? Is it truly being overloaded or is there another possible issue? If it is being overloaded I would say @j4w8n has the right idea to run a cron job to restart nginx at lowest trafficked times for the site.

Mills-2 avatar Jan 17 '22 21:01 Mills-2

I do think it's overload or some kind of memory leak made worse by the high traffic:

Screen Shot 2022-01-18 at 6 35 12

I set up a job locally on my own laptop to reboot the server but that wasn't very reliable, so I'll set up an actual cronjob.

SachaG avatar Jan 17 '22 21:01 SachaG