Since a month a website which i have been developing is getting loadspikes.
This happens once every 10 minutes or so when requesting any page. Any device which tries to access the website gets put in the same loading queue till the page is loaded. When the page is finally loaded the whole website functions as normal for each device.
When consulting my webadmin plesk no error is shown when this happens, so its really hard to trace where this comes from. When hosting the same version locally this problem does not occur.
What could affect my website to have these sudden long loadtimes?
Do you have access to your server console? If so run the following for each username on your syatem
crontab -l -u username
Do you see anything that is set to run every ten minutes (It should start */10 ... IF so try commenting it out using crontab -e user
It would be worth checking if you have any scheduled tasks in your laravel tasksceduler running every ten minutes
Does your problem go away?
If not in your terminal run top and wait until the problem starts. Do you see anything dramatically change like cpu, memory, load average, etc. Should give you a clue on what's causing slowness
@laraveluser90210 - There was another discussion on here (I cant find the URL) and the OP was having similar issues with their Plesk server and after contacting Plesk support, who apparently did nothing, things just started working again. if you don't see anything in top it might be worth speaking to Plesk.