[Solved] Static images randomly failing

I'm configuring a new install of LSWS 4.1.12 and I'm having some trouble with some static content. For pages with a number of static resources (like a category page of an eCommerce site), an image or two will randomly not load.

In Chrome, it reports this simply as "(failed)" in the Network viewer.
In Firefox, it displays part of the image that it downloaded, and reports "image is corrupt or truncated" in Firebug.

It doesn't seem to be any sort of per-connection limits, since transmission is happening; they're just.... stopping. What's interesting to me is that for the most part, they seem to be stopping on common byte sizes: 4096 and 8192.
I don't know if that's useful information.

Also I've only seen it happen with images. I don't know if that has anything to do with where in the DOM they're located (the top) whereas the images that fail are generally in the second half of requests for a page.

There are no logs being generated anywhere that I've found, so it's not something I have any current insight into. Anyone have any configuration settings I may be able to try?

how about request the static file directly (not from the base page)? still get partial content?

Click to expand...

No, I always get the full file on direct access.

And just to be clear, it's only one or two (out of anywhere between 30 - 40) that only has partial content on a page load, not every image. Hitting a single file directly seems to be just fine. Though maybe I can set up ab to try to hit the same image repeatedly and see if any thread gets a different content size.

all your settings is there, no need re-compile PHP etc, and your 4.1.12 still there.

switching between lsws versions is just one button click:
lsws admin console->Actions->Version Manager->SwitchTo

Click to expand...

Great, thank you. I was able to find the download for 4.1.11, installed and switched to it (didn't have it previously).

In any case, it seems your suspicion may be correct - I spent a good 15 minutes clicking around the same pages as before, but not seeing any of the same image truncation issues as I did with 4.1.12.
Out of curiosity, does that indicate an issue with LSWS, or my environment?

to help troubleshoot, check server access log for the image in question and verify if it was served partial and fully served on browser refresh.

Click to expand...

I did a force reinstall already and the issue still persists. I checked the log files and the file is actually served partially for some unknown reason. This is a static image. I have exactly the same problem that the thread starter has. I am thinking it must be a bug that needs fixing, oh btw i am on Cpanel/WHM 11.32.2.25