mogstored dying: redux

Ask Bjørn Hansen ask at develooper.com
Wed May 21 12:19:53 UTC 2008


On May 21, 2008, at 3:17, Greg Connor wrote:

> Thanks Mark.  The test script worked fine.  The 403 errors were only  
> occurring with "lighttpd" used in place of perlbal.  This was a  
> suggestion (Ask's) which seemed like a good thing to try, but  
> lighttpd actually made things worse.  With lighttpd, about 1 in 5  
> requests failed to store, or failed to close.

Oh, I'm sorry.  I realize now that the "make lighttpd work" patch was  
never committed, darn.  Try the patch below.

	http://lists.danga.com/pipermail/mogilefs/2007-November/001401.html

--- server/lib/MogileFS/Device.pm	(revision 1177)
+++ server/lib/MogileFS/Device.pm	(working copy)
@@ -371,7 +371,7 @@
      my $ans = <$sock>;

      # if they don't support this method, remember that
-    if ($ans && $ans =~ m!HTTP/1\.[01] (400|405|501)!) {
+    if ($ans && $ans =~ m!HTTP/1\.[01] (400|501)!) {
          $self->{no_mkcol} = 1;
          # TODO: move this into method on device, which propogates to  
parent
          # and also receive from parent.  so all query workers share  
this knowledge


-- 
http://develooper.com/ - http://askask.com/




More information about the mogilefs mailing list