syagent/agent-2

[bug] Error in sending data

Closed this issue · 6 comments

On one of my servers, a service stopped working. After several attempts I found the problem.
It was related to a large size in the multipart_data variable.

The error is called in the file sh-agent.sh line 179
image

If you add the output of the variable to the script, it looks like this:
image

Rashe commented

Hi, thx for report

I will take a look, do you have many discs on your server? or processes? I just try to figure out what is it so large?

Anyway I will increase the payload.

Hi, thx for report

I will take a look, do you have many discs on your server? or processes? I just try to figure out what is it so large?

Anyway I will increase the payload.

yes, I have a lot of processes on my server :)
image

I found myself with a large number of hung processes. But I think it's still worth increasing the number of processes the script can handle.

Rashe commented

Can you please check now if it works?

i deleted hung processes and now it works.

Rashe commented

I increased the payload size also