apache – truncated or oversized response headers received from daemon process, django

specs:

  • Ubuntu Linux 18.04.2
  • Python 3.6.9
  • Django==3.0.7
  • psycopg2==2.8.6
  • psycopg2-binary==2.8.6

Error from apache log:

(wsgi:error) (pid 8488) (client 117.223.83.31:51067) Truncated or oversized response headers received from daemon process 'wallpaper': /django/wallpaper/wallpaper/wsgi.py, referer: http://<server_IP>:8083/upload/

i am trying to upload this image ( .jpg 9600 x 5598 )

( same image works fine on local system )

The rest of the images works fine I have uploaded 100’s