Hi Rayan, 1. I need to accept this, currently /proc/sys/net/ipv4/ip_local_port_range was not taken care in glusterfs, I shall soon patch it with the required changes which will then start respecting 'ip_local_port_range' 2. Chen Chen observations were right! we have moved to bind insecure around 3.7.2 period with which we try to fetch a port from 65535 - down, because of which he observed mount is only using port 60000+, but in your case you are in 3.6.0 hence client ports start from 1023 if I am not wrong! 3. For now a quick work around could be 3.1. Specify your ports in '/proc/sys/net/ipv4/ip_local_reserved_ports', glusterfs ensure not to bind on the ports mentioned in 'ip_local_reserved_ports' which you may wish to use them for other services. The below command helps in doing so: # sysctl -w net.ipv4.ip_local_reserved_ports=1002 3.2. As you rightly said, start all non-gluster services then at last start mounting glusterfs Thanks, -- Prasanna On Sun, Apr 10, 2016 at 7:03 PM, Chen Chen <chenchen@xxxxxxxxxxxxxxxx> wrote: > Hi Ryan, > > In my case, glusterfs didn't use any port below 10000. The output is > attached. > Maybe you could deploy a new test client with Gluster 3.6.9 and see if it > helps. > > (Resend into list.) > > Best wishes, > Chen > > > On 4/10/2016 2:13 AM, Ryan.J.Wyler@xxxxxxxxxxxxxx wrote: >> >> Chen, >> >> Can you check and see what lsof outputs for glusterfs? >> >> # lsof -i | grep ^glusterfs >> glusterfs 2893 root 9u IPv4 15373 0t0 TCP >> client.domain.com:1023->server1.domain.com:24007 (ESTABLISHED) >> >> see how my client uses local port 1023? >> >> Ryan >> >> -----Original Message----- >> From: gluster-users-bounces@xxxxxxxxxxx >> [mailto:gluster-users-bounces@xxxxxxxxxxx] On Behalf Of Chen Chen >> Sent: Saturday, April 09, 2016 9:20 AM >> To: gluster-users@xxxxxxxxxxx >> Subject: Re: GlusterFS Mounts at startup consuming needed >> local ports for host services >> >> My gluster mount is only using port 60000+. I was using 3.7.6 and now >> using 3.7.9. >> >> Chen >> >> On 4/9/2016 11:00 PM, Ryan.J.Wyler@xxxxxxxxxxxxxx wrote: >>> >>> Is there any way to configure glusterfs to avoid using specific local >>> ports when mounting filesystems? >>> >>> Ryan Wyler >> >> -- >> Chen Chen >> Shanghai SmartQuerier Biotechnology Co., Ltd. >> Add: Room 410, 781 Cai Lun Road, China (Shanghai) Pilot Free Trade Zone >> Shanghai 201203, P. R. China >> Mob: +86 15221885893 >> Email: chenchen@xxxxxxxxxxxxxxxx >> Web: www.smartquerier.com >> > > -- > Chen Chen > 上海慧算生物技术有限公司 > > Shanghai SmartQuerier Biotechnology Co., Ltd. > Add: Room 410, 781 Cai Lun Road, China (Shanghai) Pilot Free Trade Zone > Shanghai 201203, P. R. China > Mob: +86 15221885893 > Email: chenchen@xxxxxxxxxxxxxxxx > Web: www.smartquerier.com > > _______________________________________________ > Gluster-users mailing list > Gluster-users@xxxxxxxxxxx > http://www.gluster.org/mailman/listinfo/gluster-users _______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users