medcl/esm

help

Closed this issue · 2 comments

@medcl

when i run esm with parameters like

./esm -s http://old-es-ip -d http://new-es-ip -x log-cmdb -y log-cmdb-prod -u doc -w 20 -b 1 -t "100m" --log error --repeat_times=2

i got some errors

[05-18 15:27:15] [ERR] [v0.go:80,Bulk] server error: <html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.14.0</center>
</body>
</html>

how can i fix it?

i thought it is becase of nginx, but -b was already 1MB.

medcl commented

the default upload limit of nginx is 1MB, it is a rough number in esm, try -b 0.8 or lower.

thanks a lot!