2 server replicate setup, corrupt file uploads?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Not sure what if anything might be needed so I'll wait for someone to
tell me (as far as logs, configs, whatnot).

Basically I have two servers with two clients mounting a replicated
brick. I am using this with php 5.3 and lighttpd for web servers.

When I mount /web/uploads/attachments on the gluster mount and upload
a file and have it move it to this directory, it seems to corrupt
files. Switching to nfs and not modifying the web servers or anything
else it works fine.

Is there any kind of special mounting options I need to know about or
anything like that? I had a couple customer complaints about our
webmail having issues attaching a couple word documents and a photo,
and it seems this must be what they were talking about.

My php upload_dir is /var/log/lighttpd/uploads which is on the local
hard drive, so it does move_uploaded_file() from there to the gluster
mount.

On another note, I am serving my scripts and everything else from the
same mount, so it seems odd that using vim from a prompt, saving files
etc and the web server reading them all seems to work fine, but
something whacky with uploading files??

Ok thanks
=)

Brandon




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux