Bluehost.com Web Hosting $6.95

[Samba] Peculiar issue when loading images via samba/cifs

This is a discussion on [Samba] Peculiar issue when loading images via samba/cifs within the Samba forums, part of the Networking and Network Related category; I am using Enterprise Samba 3.0.30 on RHEL 4 to share a directory of images between two servers. ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-03-2008
David Brewer
 
Posts: n/a
Default [Samba] Peculiar issue when loading images via samba/cifs

I am using Enterprise Samba 3.0.30 on RHEL 4 to share a directory of
images between two servers. I'm using CIFS to mount the share. Both
servers expose the images over the web via Apache2.

On the server with the mounted share, when I load a page with many
images embedded, some of the images load only partially -- some part
of the image draws normally, and then the rest is just blank. On the
server with the images directly on it, this problem does not occur.

Some details about the images that don't finish loading on the server
using the share:
* The problem occurs in Firefox 2 and in Opera 9, but the images load
normally in IE.
* The problem only occurs the first time you load the image. If you
then hit reload on the page to get the images from the cache, the
images load fine. However, if you "shift-reload" to force a reload
from the server, the problem occurs again.
* The same images always fail in exactly the same place.

I had a very similar setup working using Ubuntu Gutsy, but of course
that was a different version of the kernel (2.6.22-14-server vs
2.6.9-67.ELsmp) and of Samba (3.0.26a vs 3.0.30).

I've been experimenting with increasingly more esoteric settings in
the smb.conf and in the options I am using to mount the share via
cifs, but without any luck. Does anyone have some insight into why
the combination of a certain browser + the fact that the files are
coming over a cifs share might lead to this kind of behavior? And,
more importantly, what can I try to resolve it?

Thanks in advance for any help,

David Brewer
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 06-03-2008
mallapadi niranjan
 
Posts: n/a
Default Re: [Samba] Peculiar issue when loading images via samba/cifs

Hi,

try setting " EnableSendfile off" in httpd.conf

Regards

On Tue, Jun 3, 2008 at 12:55 PM, David Brewer <david.brewer@gmail.com>
wrote:

> I am using Enterprise Samba 3.0.30 on RHEL 4 to share a directory of
> images between two servers. I'm using CIFS to mount the share. Both
> servers expose the images over the web via Apache2.
>
> On the server with the mounted share, when I load a page with many
> images embedded, some of the images load only partially -- some part
> of the image draws normally, and then the rest is just blank. On the
> server with the images directly on it, this problem does not occur.
>
> Some details about the images that don't finish loading on the server
> using the share:
> * The problem occurs in Firefox 2 and in Opera 9, but the images load
> normally in IE.
> * The problem only occurs the first time you load the image. If you
> then hit reload on the page to get the images from the cache, the
> images load fine. However, if you "shift-reload" to force a reload
> from the server, the problem occurs again.
> * The same images always fail in exactly the same place.
>
> I had a very similar setup working using Ubuntu Gutsy, but of course
> that was a different version of the kernel (2.6.22-14-server vs
> 2.6.9-67.ELsmp) and of Samba (3.0.26a vs 3.0.30).
>
> I've been experimenting with increasingly more esoteric settings in
> the smb.conf and in the options I am using to mount the share via
> cifs, but without any luck. Does anyone have some insight into why
> the combination of a certain browser + the fact that the files are
> coming over a cifs share might lead to this kind of behavior? And,
> more importantly, what can I try to resolve it?
>
> Thanks in advance for any help,
>
> David Brewer
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #3 (permalink)  
Old 06-03-2008
David Brewer
 
Posts: n/a
Default Re: [Samba] Peculiar issue when loading images via samba/cifs

That did it! My only regret is that I didn't ask before spending
several hours fiddling with my samba config settings. Next time I'll
know to look at apache earlier on. Thanks so much!

David

On Tue, Jun 3, 2008 at 12:33 AM, mallapadi niranjan
<niranjan.ashok@gmail.com> wrote:
> Hi,
>
> try setting " EnableSendfile off" in httpd.conf
>
> Regards
>
> On Tue, Jun 3, 2008 at 12:55 PM, David Brewer <david.brewer@gmail.com>
> wrote:
>
>> I am using Enterprise Samba 3.0.30 on RHEL 4 to share a directory of
>> images between two servers. I'm using CIFS to mount the share. Both
>> servers expose the images over the web via Apache2.
>>
>> On the server with the mounted share, when I load a page with many
>> images embedded, some of the images load only partially -- some part
>> of the image draws normally, and then the rest is just blank. On the
>> server with the images directly on it, this problem does not occur.
>>
>> Some details about the images that don't finish loading on the server
>> using the share:
>> * The problem occurs in Firefox 2 and in Opera 9, but the images load
>> normally in IE.
>> * The problem only occurs the first time you load the image. If you
>> then hit reload on the page to get the images from the cache, the
>> images load fine. However, if you "shift-reload" to force a reload
>> from the server, the problem occurs again.
>> * The same images always fail in exactly the same place.
>>
>> I had a very similar setup working using Ubuntu Gutsy, but of course
>> that was a different version of the kernel (2.6.22-14-server vs
>> 2.6.9-67.ELsmp) and of Samba (3.0.26a vs 3.0.30).
>>
>> I've been experimenting with increasingly more esoteric settings in
>> the smb.conf and in the options I am using to mount the share via
>> cifs, but without any luck. Does anyone have some insight into why
>> the combination of a certain browser + the fact that the files are
>> coming over a cifs share might lead to this kind of behavior? And,
>> more importantly, what can I try to resolve it?
>>
>> Thanks in advance for any help,
>>
>> David Brewer
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/listinfo/samba
>>

> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0