Return to Level1Techs.com

Web Server / Apache Issue - A few frames load and then it freezes, some images load others don't

I’m having trouble with a web server apache/ngnix. First packet delivered then cutout. Getting a 206 partial content fallowed by a 404 error and then a ERR_CONNECTION_RESET. What do you guys think this is.

I have the standard apache conf file. There seems to be a size issue as the larger files are the only ones effected. Here is a example of what I mean http://96.126.123.74/index.html I created a page with just the video, It loads a couple frames then freezes. I’m running it on linode but have also run it on aws and I get the same issue on both servers.

Any help appreciated

Please Also post your Apache and nginx configs.

Also what do the log files say?

They live in /var/log

1 Like

Post logs. If you used a real linux they’ll be in /var/log/httpd/, but they may reside in the (wrong) directory called “/var/log/apache2/”

scan you syslog also “/var/log/messages/” on a good nix distro.

Also, is this a VM container, etc? What are the resources we’re working with here?

I can’t post the whole files because i’m a new user, here are some snippets if you need more i can link them on the ip.
Here is the some of the log data.
GET /mov-data.mp4 HTTP/1.1" 206 78554 /index.html"
GET /mov-data.mp4 HTTP/1.1" 206 78554 /index.html
GET /css/vids/mov-data.mp4 HTTP/1.1" 404 219
GET /css/vids/mov-data.mp4 HTTP/1.1" 206 45403324

Nginx settings,
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
max_ranges 1;
include /etc/nginx/mime.types;
default_type application/octet-stream;
Apache config
<Files ~ “.(flv|iso|mp4)$”>
EnableSendfile On
MaxRanges 1

EnableMMAP on
EnableSendfile on
MaxRanges 1

The machine is CentOS 7, Linode 2GB: 1 CPU, 50GB Storage, 2GB RAM