|
|
|
|
|
|
| Author |
Message |
Tim Garton *nix forums beginner
Joined: 14 Feb 2006
Posts: 2
|
Posted: Tue Feb 14, 2006 9:43 pm Post subject:
Apache 2.2 seems to have problems with CIFS mounted filesystems
|
|
|
Has anyone else run into anything like this? Just upgraded to Apache
2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some
windows shares via CIFS (eg. mount -t cifs //windowsfs/share
/local/mount/point) For some of the virtual hosts the UserDir's lie on
these mounted CIFS filesystems. After upgrading to 2.2, whenever you
try to visit one of these UserDir pages, if it's an .html page you get
the html but no images work, if it's anything else you get a blank
page. Additionally, we see these in our error logs:
[Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too
large for defined data type: core_output_filter: writing data to the network
However, as soon as you unmount the CIFS mount and then mount it again
as SMBFS(eg. mount -t smbfs //windowsfs/share /local/mount/point),
everything works like a charm. But under Apache 2.0, the CIFS mount
worked no problem. Anyone else seen this or know a work around?
Unfortunately mounting the shares as SMBFS fails under a heavy load so
we have to stick with CIFS mounting. And yes, before you say it, I
realize it's not the best way to run a webserver serving up pages from a
windows mounted share, but it makes it extremely easy for all our users
to develop websites without having to explain to them how to ftp or sftp
data to the webserver.
Tim
--
Tim Garton
Director of Technology
High Tech High
Work: (619) 243-5009
Cell: (619) 347-9531
Fax: (619) 243-5050
tgarton@hightechhigh.org
http://www.hightechhigh.org |
|
| Back to top |
|
 |
Jacqui Caren *nix forums beginner
Joined: 09 Feb 2006
Posts: 14
|
Posted: Wed Feb 15, 2006 8:44 am Post subject:
Re: Apache 2.2 seems to have problems with CIFS mounted filesystems
|
|
|
Tim Garton wrote:
| Quote: | but it makes it extremely easy for all our users
to develop websites without having to explain to them how to ftp or sftp
data to the webserver.
|
This may be obvious but here goes :-)
I make web space available on the linux box and use samba to share this
space with the windows machines.
There is the issue with XPhome (I use this technique at home) but apart
from this it works well.
Jacqui
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Joe Orton *nix forums Guru Wannabe
Joined: 15 Feb 2005
Posts: 104
|
Posted: Wed Feb 15, 2006 11:16 am Post subject:
Re: Apache 2.2 seems to have problems with CIFS mounted filesystems
|
|
|
On Tue, Feb 14, 2006 at 01:43:12PM -0800, Tim Garton wrote:
| Quote: | Has anyone else run into anything like this? Just upgraded to Apache
2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some
windows shares via CIFS (eg. mount -t cifs //windowsfs/share
/local/mount/point) For some of the virtual hosts the UserDir's lie on
these mounted CIFS filesystems. After upgrading to 2.2, whenever you
try to visit one of these UserDir pages, if it's an .html page you get
the html but no images work, if it's anything else you get a blank
page. Additionally, we see these in our error logs:
[Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too
large for defined data type: core_output_filter: writing data to the network
|
Could you capture the strace output when this happens? e.g.
strace -o /tmp/httpd.strace httpd -X
....
<send a request which triggers the error>
CTRL-C.
then gzip and upload /tmp/httpd.strace somewhere; please don't post it
to this list. It might be useful also to know the:
- Linux distribution
- CPU architecture
- glibc version
Regards,
joe
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Tim Garton *nix forums beginner
Joined: 14 Feb 2006
Posts: 2
|
Posted: Wed Feb 15, 2006 5:49 pm Post subject:
Re: Apache 2.2 seems to have problems with CIFS mounted filesystems
|
|
|
Ok, I took Joe's advice. You can find the strace at:
http://staff.hightechhigh.org/~tgarton/httpd.strace.gz
The other info you asked for is:
Linux distro - Slackware 10.1
CPU arch - x86(Pentium III)
glibc version - 2.3.2
Tim
Joe Orton wrote:
| Quote: | On Tue, Feb 14, 2006 at 01:43:12PM -0800, Tim Garton wrote:
Has anyone else run into anything like this? Just upgraded to Apache
2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some
windows shares via CIFS (eg. mount -t cifs //windowsfs/share
/local/mount/point) For some of the virtual hosts the UserDir's lie on
these mounted CIFS filesystems. After upgrading to 2.2, whenever you
try to visit one of these UserDir pages, if it's an .html page you get
the html but no images work, if it's anything else you get a blank
page. Additionally, we see these in our error logs:
[Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too
large for defined data type: core_output_filter: writing data to the network
Could you capture the strace output when this happens? e.g.
strace -o /tmp/httpd.strace httpd -X
...
send a request which triggers the error
CTRL-C.
then gzip and upload /tmp/httpd.strace somewhere; please don't post it
to this list. It might be useful also to know the:
- Linux distribution
- CPU architecture
- glibc version
Regards,
joe
|
--
Tim Garton
Director of Technology
High Tech High
Work: (619) 243-5009
Cell: (619) 347-9531
Fax: (619) 243-5050
tgarton@hightechhigh.org
http://www.hightechhigh.org |
|
| Back to top |
|
 |
Joe Orton *nix forums Guru Wannabe
Joined: 15 Feb 2005
Posts: 104
|
Posted: Wed Feb 15, 2006 10:39 pm Post subject:
Re: Apache 2.2 seems to have problems with CIFS mounted filesystems
|
|
|
On Wed, Feb 15, 2006 at 09:49:52AM -0800, Tim Garton wrote:
Thanks. The error:
sendfile64(8, 9, [0], 5571) = -1 EOVERFLOW (Value too large for defined data type)
should never happen; I suppose this could be a bug in the CIFS driver,
but it's a little odd. You can use "EnableSendfile off" to work around
the issue. Upgrading the kernel might fix it properly.
joe
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Aug 28, 2008 5:52 pm | All times are GMT
|
|
Cheap Car Insurance | Web Advertising | Personal Loans | Loans | News
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|