Ask Your Question
0

Understanding a Timeout

asked 2011-06-13 17:46:12 -0500

lardcanoe gravatar image

I've been testing files of various sizes, and while doing so I am tailing /var/log/syslog

For files around 100MB (haven't gone larger yet), i see the following line maybe 25% of the time: Jun 13 10:22:59 proxy-01 proxy-server ERROR with Object server 192.168.X.X:6000/sdb1 re: Trying to get final status of PUT to /v1/AUTH_d2e67314-2a18-45e9-bde1-7b2b3d6da553/test3/100MB: Timeout (10s)

The PUT always succeeds, so I'm wondering how I would know to care about this log entry. If it works, why log an error? (Though, maybe it really is an error, and I should adjust the node_timeout value in the proxy conf.)

Thoughts?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-06-14 22:21:20 -0500

lardcanoe gravatar image

Running in a VM network that is somewhat heavily loaded. Great and awful for testing...

The way you describe it, that log seems more like a warning at the scope of the operation.

I'll play around with that setting. Thanks!

edit flag offensive delete link more
0

answered 2011-06-13 23:14:56 -0500

gholt gravatar image

Hmm. Well, the proxy sends an object PUT to three object servers and as long as at least 2 of the servers respond with 2xx, the PUT is considered a success. If one fails, replication will repair that copy when it gets to it. If it's taking longer than 10s to finalize a 100MB file, that seems worrisome. What OS and version are you using? I believe the object servers only sync at every 512MB and end of file. Perhaps setting that lower for your setup would help? The object server has a "mb_per_sync" config option.

edit flag offensive delete link more
0

answered 2011-06-14 22:21:33 -0500

lardcanoe gravatar image

Thanks gholt, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-13 17:46:12 -0500

Seen: 31 times

Last updated: Jun 14 '11