[Pvfs2-users] apache serving images of pvfs2 not working

Sam Lang slang at mcs.anl.gov
Fri Jun 8 11:43:56 EDT 2007


Could apache be mmapping binary files?  If for some odd reason it was  
doing mmap with MAP_SHARED, the mmap would fail.  That's the only  
thing that comes to mind.  Are there error messages in the apache  
logs?  You may have to strace apache to figure out if mmap is being  
used...

Are you able to copy the jpg images off the pvfs volume with cp?

-sam

On Jun 8, 2007, at 10:32 AM, Tommy Butler wrote:

> 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



More information about the Pvfs2-users mailing list