"413" Status: Request Entity Too Large is showing up in the logs.

When I reduced it back to 20, it works fine. What is the reason for increasing this to 50? I don't see benefit really.

Best,
Jacob

Comments

robertdouglass’s picture

Interesting. Seems like one huge node would make a large request entity as well. Whence cometh this error message? What are the limits?

JacobSingh’s picture

I'm not sure what the limits are. This is actually not a solr issue per se, but I think this is the jetty setting:

http://www.nabble.com/Large-file-upload-to-Jetty-failing-with-HTTP-413-t...

I think that by default we should reduce the # per batch back to 20 because I'm using a default jetty implementation and getting it, means that others would as well. After that... I guess it's just an entry in the FAQ page unless we can cull info about the servlet container somehow...

Best,
Jacob

robertdouglass’s picture

Priority: Normal » Critical
JacobSingh’s picture

I think this was resolved in another ticket temporarily by setting the # to 20, although it was never really taken care of... I don't suppose there is anyway to auto magically discern the max POST size in Jetty... Maybe the solution here is actually to just fail gracefully, log the error, and give instructions to the user on how to change their setting in jetty to allow bigger payloads AND also provide a variable they can set in settings.php to change the # of nodes per batch.

It's not perfect, but this shouldn't delay 1.0 either IMO

robertdouglass’s picture

Priority: Critical » Normal

Downgrading on basis of temporary fix in other patch. I like Jacob's suggestions in #4 but needs more research.

JacobSingh’s picture

Status: Active » Closed (fixed)

Closing this unless it comes back to haunt us, should be okay...