[Pvfs2-users] apache serving images of pvfs2 not working
Dries Kimpe
Dries.Kimpe at cs.kuleuven.be
Fri Jun 8 11:47:37 EDT 2007
Just a guess:
You can try flipping the
EnableMMap
and
EnableSendFile
apache options...
(http://httpd.apache.org/docs/2.0/mod/core.html#enablemmap)
Most likely EnableSendFile will be the cause.
It defaults to on, and is only used for pure static files...
PVFS has a --enable-kernel-sendfile option to force sendfile support;
See the documentation for the dangers/problems associated with it.
I suggest you just disable EnableSendFile in httpd.conf...
Dries
Tommy Butler schreef:
> I'm just wondering if anyone else has seen this. I can get to text/html
> content just fine if I serve files (or php for that matter) off of the
> pvfs2 filesystem. But images are another thing. They all stop after 0
> bytes are sent. It is so strange.
>
> Any thoughts? I've ***'d out the IP address/domain here...
>
> node5:/var/www# wget http://***.***.***.***/images/store_sign-up.jpg
> --10:24:48-- http://***.***.***.***/images/store_sign-up.jpg
> => `store_sign- up.jpg'
> Connecting to ***.***.***.***:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 257,118 (251K) [image/jpeg]
>
> 0%
> [
> ] 0 --.--K/s
>
> 10:24:48 (0.00 B/s) - Connection closed at byte 0. Retrying.
>
> --10:24:49-- http://***.***.***.***/images/store_sign-up.jpg
> (try: 2) => `store_sign-up.jpg'
> Connecting to ***.***.***.***:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 257,118 (251K) [image/jpeg]
> store_sign-up.jpg has sprung into existence.
> Retrying.
>
> --10:24:51-- http://***.***.***.***/images/store_sign-up.jpg
> (try: 3) => `store_sign-up.jpg.1'
> Connecting to ***.***.***.***... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 257,118 (251K) [image/jpeg]
>
> 0%
> [
> ] 0 --.--K/s
>
> 10:24:51 (0.00 B/s) - Connection closed at byte 0. Retrying.
>
> --10:24:54-- http://***.***.***.***/images/store_sign-up.jpg
> (try: 4) => `store_sign-up.jpg.1'
> Connecting to ***.***.***.***:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 257,118 (251K) [image/jpeg]
> store_sign-up.jpg.1 has sprung into existence.
> Retrying.
>
> --10:24:58-- http://***.***.***.***/images/store_sign-up.jpg
> (try: 5) => `store_sign-up.jpg.2'
> Connecting to ***.***.***.***:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 257,118 (251K) [image/jpeg]
>
> 0%
> [
> ] 0 --.--K/s
>
> 10:24:58 (0.00 B/s) - Connection closed at byte 0. Retrying.
>
> --10:25:03-- http://***.***.***.***/images/store_sign-up.jpg
> (try: 6) => `store_sign-up.jpg.2'
> Connecting to ***.***.***.***:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 257,118 (251K) [image/jpeg]
> store_sign-up.jpg.2 has sprung into existence.
> Retrying.
>
> ^C
>
> --
> Tommy Butler
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the Pvfs2-users
mailing list