Re: RGW -5 Error code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If it’s because of client why the status code changed to 500 (server error)? Isn’t it a client error?

On Mon, Mar 23, 2020 at 5:26 PM Yehuda Sadeh-Weinraub <yehuda@xxxxxxxxxx> wrote:
On Mon, Mar 23, 2020 at 2:28 PM Seena Fallah <seenafallah@xxxxxxxxx> wrote:
>
> Hi all.
> I often get this error on my PUT requests.
>
> rgw.log-552376-2020-03-23 15:12:53.270 7fe5aa6da700  0 WARNING: set_req_state_err err_no=5 resorting to 500
> rgw.log-552377-2020-03-23 15:12:53.270 7fe5aa6da700  1 ====== req done req=0x7fe5aa6d38c0 op status=-5 http_status=500 latency=59.9965s ======
>
> My put requests are always under 1s but this requests spend 1min!
> Any logs I can read to find out what's going on with my cluster?

Likely that rgw waits for more data from the client and eventually
times out. This can happen due to various reasons. You can bump up rgw
logs (debug rgw = 20), and try to look at what the client thinks it's
sending vs what rgw receives. You can also try to look at tcp capture
(via wireshark for example).

Yehuda

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux