Re: spurious failures tests/bugs/tier/bug-1205545-CTR-and-trash-integration.t

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

 



> > This approach could still surprise the storage-admin when glusterfs(d)
> > processes
> > bind to ports in the range where brick ports are being assigned. We should
> > make this
> > predictable by reserving brick ports setting
> > net.ipv4.ip_local_reserved_ports.
> > Initially reserve 50 ports starting at 49152. Subsequently, we could
> > reserve ports on demand,
> > say 50 more ports, when we exhaust previously reserved range.
> > net.ipv4.ip_local_reserved_ports
> > doesn't interfere with explicit port allocation behaviour. i.e if the
> > socket uses
> > a port other than zero. With this option we don't have to manage ports
> > assignment at a process
> > level. Thoughts?
> If the reallocation can be done on demand, I do think this is a better
> approach to tackle this problem.

We could fix the predictability aspect in a different patch. This patch, where
we assign ports starting from 65335 in descending order, can be reviewed independently.
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



[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