[CLUE-Tech] apache and samba

Mike Staver staver at fimble.com
Thu Oct 23 10:10:05 MDT 2003


I have 3 webservers set up that I have some code on that allows me to 
upload documents through cold fusion for various reasons.  These 3 
webservers are all mirrors of each other, and round robin dns is what 
spits users to the different servers.  So, when a document is uploaded, 
it only gets uploaded to one of the webservers... and the mirror is no 
longer a mirror :)  So, my solution to this was to add a fourth machine 
and mount a share on it via samba and have all the webservers use that 
for the file repository.  I'm not sure this is the best way to do this - 
using samba and all.  Sometimes on the webservers when I run dmesg, I 
see stuff like this:

smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=5679, generation=25
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=5679, generation=26
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=5679, generation=27
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=5679, generation=28
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=5679, generation=29
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=5679, generation=30

And then ofcourse, there is sometimes a lag while it "remounts" the 
drive after these errors, so the website is slowed down a bit by this. 
But after it remounts, it's great - until it loses it's connection 
again.  Is there something I can do about this, or is there a better way 
to have mulitiple webservers share documents?
-- 

                                 -Mike Staver
                                  staver at fimble.com
                                  mstaver at globaltaxnetwork.com




More information about the clue-tech mailing list