[BUG?] Apache 2.4.3 with php5.4.10 (php-fpm) -> images loading partially

mimic

Verified User
Joined
Oct 5, 2007
Messages
50
Location
Utrecht, The Netherlands
Hello, since we've switched to the new CustomBuild 2, there is one issue that we can't resolve.

In some situations the content-length is incorrect, which causes images to load partially. When we reload the page with the images a few times, they load completely.

We suspect a problem with the Apache mod_deflate/gzip (compression, right?) module, but disabling this in httpd.conf does not make a difference.
(Commenting out the whole 'Include conf/extra/httpd-deflate.conf' part)

How can we resolve this issue? Do other users experience this too, or is it something that happens in special circumstances?

Thanks for your reply in advance!

More details about the server:
VPS on a ESXi host
Debian 6 32bit OS
Fresh install, no compile errors when first installed
DirectAdmin 1.42.2 pre-release release (most recent version)
Apache 2.4.3 with mod_ruid2 0.9.7 and php 5.4.10 php-fpm

---------------
Additional header information:
PrinsContentLength1.png > initial request on the web page and response
PrinsContentLength2.png > single request when viewing image directly (see the size difference!)

PrinsContentLength1.png
PrinsContentLength2.png

See yourself by typing over the domain name from the pictures (no linking directly in the topic because of Google indexation)

----
We've tried uncommenting
#EnableMMAP off
#EnableSendfile off
With no luck.
Reference to http://www.directadmin.com/forum/showthread.php?t=45300&page=1
 
Last edited:
The problem has been found and solved!

Smtalk has checked the system, and after many testing he found out that mod_ruid2 is causing problems in combination with FastCGI.

After disabling "LoadModule ruid2_module /usr/lib/apache/mod_ruid2.so" in /etc/httpd/conf/extra/httpd-phpmodules.conf the problem has been solved.

So once again, all glory to smtalk.
 
The problem has been found and solved!

Smtalk has checked the system, and after many testing he found out that mod_ruid2 is causing problems in combination with FastCGI.

After disabling "LoadModule ruid2_module /usr/lib/apache/mod_ruid2.so" in /etc/httpd/conf/extra/httpd-phpmodules.conf the problem has been solved.

So once again, all glory to smtalk.

Fastcgi? You said

Apache 2.4.3 with mod_ruid2 0.9.7 and php 5.4.10 php-fpm
 
Back
Top