When I use the mod_glusterfs on apache 1.3, I try to wget glusterfs the
files, but has been shown to wait for connection, this is what is the
problem? How to solve? Thanks <br><br> [root @ web01 conf] # wget <a href="http://127.0.0.1:8080/glusterfs/abc">http://127.0.0.1:8080/glusterfs/abc</a> <br> - 16:27:35 - <a href="http://127.0.0.1:8080/glusterfs/abc">http://127.0.0.1:8080/glusterfs/abc</a> <br>
Connecting to <a href="http://127.0.0.1:8080">127.0.0.1:8080</a> ... connected. <br> HTTP request sent, awaiting response ... <br> [root @ web01 conf] # wget <a href="http://127.0.0.1:8080/abc">http://127.0.0.1:8080/abc</a> <br>
- 16:30:51 - <a href="http://127.0.0.1:8080/abc">http://127.0.0.1:8080/abc</a> <br> Connecting to <a href="http://127.0.0.1:8080">127.0.0.1:8080</a> ... connected. <br> HTTP request sent, awaiting response ...<br><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="gmail_quote">2009/9/10 mingyang <span dir="ltr"><<a href="mailto:bjmingyang@gmail.com" target="_blank">bjmingyang@gmail.com</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">My application is a lot of random read, using the fuse, I see my back in front of traffic flow is twice the
<br> So, I do not think the use of fuse, but I have version 2.06 of the. / Configure - help to see which has no mod_glusterfs
<br> Options, and so I used the 2.04 version. Using a apache1.3, in the
apache's log which there are no errors, but in mod_glusterfs the log
where a large number of errors, as <br>
<br> 2009-09-09 14:33:34] E [name.c: 420: client_bind] client10: cannot
bind inet socket (7) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client3:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client3:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client2:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client3:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client3:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client4:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client4:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client5:
cannot bind inet socket (7) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client3:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br> [2009-09-09 14:33:34] E [name.c: 420: client_bind] client4:
cannot bind inet socket (6) to port less than 1024 (Permission denied) <br>
<br> What is the how to solve?
<br> At this point, I can not read through the apache to the glusterfs where the contents of the</div><br clear="all"><br>my httpd.conf <br><br>LoadModule glusterfs_module libexec/mod_glusterfs.so<br><br><Location "/glusterfs"><br>
GlusterfsLogfile "/var/log/glusterfs/glusterfs.log"<br> GlusterfsLoglevel "warning"<br> GlusterfsVolumeSpecfile "/usr/glusterfs/etc/glusterfs/client2.vol"<br> GlusterfsCacheTimeout "600"<br>
GlusterfsXattrFileSize "65536"<br> SetHandler "glusterfs-handler"<br></Location><br><br><br>my client.vol<br># client feature and attach to remote subvolume<br>volume client1 #b<br>
type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>option remote-port 6996 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>
end-volume<br><br><br>volume client2 #c<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>option remote-port 6997 # default server port is 6996<br>
option remote-subvolume brick # name of the remote volume<br>end-volume<br><br>volume client3 #d<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>
option remote-port 6998 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>end-volume<br><br>volume client4 #e<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>
option remote-port 6999 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>end-volume<br><br>volume client5 #f<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1# IP address of the remote brick<br>
option remote-port 7000 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>end-volume<br><br>volume client6 #g<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>
option remote-port 7001 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>end-volume<br><br><br>volume client7 #h<br>type protocol/client<br>option transport-type tcp/client<br>
option remote-host 192.168.1.1 # IP address of the remote brick<br>option remote-port 7002 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>end-volume<br><br><br>volume client8 #i<br>
type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>option remote-port 7003 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>
end-volume<br><br>volume client9 #j<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>option remote-port 7004 # default server port is 6996<br>
option remote-subvolume brick # name of the remote volume<br>end-volume<br><br>volume client10 #k<br>type protocol/client<br>option transport-type tcp/client<br>option remote-host 192.168.1.1 # IP address of the remote brick<br>
option remote-port 7005 # default server port is 6996<br>option remote-subvolume brick # name of the remote volume<br>end-volume<br><br>#volume client11 #l<br>#type protocol/client<br>#option transport-type tcp/client<br>
#option remote-host 192.168.1.1 # IP address of the remote brick<br>#option remote-port 7006 # default server port is 6996<br>#option remote-subvolume brick # name of the remote volume<br>#end-volume<br><br>volume name<br>
type protocol/client<br>option transport-type tcp<br>#option remote-host 192.168.211.128<br>option remote-port 7006<br>option remote-subvolume brick<br>end-volume<br><br><br>volume stripe1<br> type cluster/stripe<br> subvolumes client1 client2 client3 client4 client5 client6 client7 client8 client9 client10<br>
option block-size 2MB # all striped in 1280kB block<br>end-volume<br><br><br># ==== Performance Translators ====<br># The default options for performance translators should be the best for 90+% of the cases<br>volume iot<br>
type performance/io-threads<br> subvolumes stripe1<br> option thread-count 8 #<br>end-volume<br><br>volume wb<br> type performance/write-behind<br> subvolumes iot<br> option flush-behind on <br>end-volume<br><br>volume ioc<br>
type performance/io-cache<br> subvolumes wb<br> option page-size 2MB #(128KB)<br> option cache-size 128MB #(32MB)<br>end-volume<br><br>volume ra<br> type performance/read-ahead<br> subvolumes ioc<br> option page-size 2MB # (256KB)<br>
option page-count 16<br> option force-atime-update off<br>end-volume<br>
</blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br> 致<br>礼!<br>                                 <br><br> 王明阳<br>
</font></blockquote></div><br><br clear="all"><br>-- <br> 致<br>礼!<br>                                 <br><br> 王明阳<br>