I created a AsyncTask where I check the status of another server on command and per sign. But if I refresh the signs every second with the AsyncTask the response of the commands is very slow. I already made a seccond task for only the signs. But it doesn't change anything
it will always take some time. If it's awfully slow you might want to show us your code. You could also try caching the results, so it will display the status from a few secounds ago, but will still be there. You might also want to use SSS's API https://github.com/robske110/SignServerStats#api which already does caching for you.
If I don't refresh the signs it works normally. Could it be that the sign refresh every scond is spamming the task?
I don't know because you don't show me any code you use. I am currently working on a plugin for SSS which will display servers in a list, so you may just wait until i get that done.