Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.3.1] [leo_gateway] Large Object Put Handler could halt infinitely #564

Closed
windkit opened this issue Jan 4, 2017 · 1 comment
Closed

Comments

@windkit
Copy link
Contributor

windkit commented Jan 4, 2017

Description

When doing a large object put benchmark, leo_gateway would eventually stop responding. Every subsequent requests would get time out.

Observation

~/s3cmd-1.6.1$ parallel -P 16 "./s3cmd put /dev/shm/testfile_0 s3://test/{} &>> log/put{}.log" ::: $(seq 1 256)

large_object_halt

Interpretation

  1. High bumps come from s3cmd calculating md5sum of the ~1GB file
  2. low bumps with 30-second interval comes from timeout

Root Cause

leo_pod:checkin is not be executed when the gen_server:call failed after leo_pod:checkout.
The worker is not returned and the error is not handled for restart.

Related PR

leo-project/leo_gateway#60

@yosukehara
Copy link
Member

Fixed this issue by leo-project/leo_gateway/pull/60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants