[Gluster-users] why is glusterfs sometimes listening on port 80?

Raghavendra Bhat rabhat at redhat.com
Mon Jun 4 09:46:07 UTC 2012

Glusterfs client starts binding from port number 1023 and if any port is not available, then tries to bind to the lower port. (i.e. suppose 1023 is not available because some other process is already using it, then it decrements the port to 1022 and tries to bind.) So in this case it has tried all the ports starting 1023 and found that those ports are not free (used by other processes) and found that port 80 is free and just did bind on it.

Raghavendra Bhat

----- Original Message -----
From: "Tomasz Chmielewski" <mangoo at wpkg.org>
To: "Gluster General Discussion List" <gluster-users at gluster.org>
Sent: Monday, June 4, 2012 7:02:55 AM
Subject: [Gluster-users] why is glusterfs sometimes listening on port 80?

I've noticed that I'm sometimes not able to start a webserver on machines running glusterfs. It turned out that glusterfs, when mounting, is sometimes starting to listen on port 80:

root at ca11:~# netstat -tpna|grep :80
tcp        0      0     ESTABLISHED 13843/glusterfs 

Why does glusterfs do it?

Killing glusterfs and mounting again usually fixes the problem.

Tomasz Chmielewski

Gluster-users mailing list
Gluster-users at gluster.org

More information about the Gluster-users mailing list