I have 2 gluster servers in replicated mode on EC2 with ~4G RAM CPU and RAM look fine but over time the system becomes sluggish, particularly networking. I notice when sshing into the machine takes ages and running remote commands with capistrano takes longer and longer. Any kernel settings people typically use? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121211/5f285398/attachment.html>
Whit Blauvelt
2012-Dec-11 16:34 UTC
[Gluster-users] Gluster machines slowing down over time
Have you used top or htop to see if it's CPU use, by what? Whit On Tue, Dec 11, 2012 at 04:13:15PM +0000, Tom Hall wrote:> I have 2 gluster servers in replicated mode on EC2 with ~4G RAM > CPU and RAM look fine but over time the system becomes sluggish, particularly > networking. > I notice when sshing into the machine takes ages and running remote commands > with capistrano takes longer and longer. > Any kernel settings people typically use? > > Thanks, > Tom >> _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users
> > On Tue, Dec 11, 2012 at 04:13:15PM +0000, Tom Hall wrote: > > I notice when sshing into the machine takes ages and running remote commands > > with capistrano takes longer and longer.That is commonly related to DNS unavailability or misconfiguration. What makes you think the slowness is gluster-related? Regards
Brian Candler
2012-Dec-12 10:41 UTC
[Gluster-users] Gluster machines slowing down over time
On Tue, Dec 11, 2012 at 04:13:15PM +0000, Tom Hall wrote:> I have 2 gluster servers in replicated mode on EC2 with ~4G RAM > > CPU and RAM look fine but over time the system becomes sluggish, > particularly networking. > > I notice when sshing into the machine takes ages and running remote > commands with capistrano takes longer and longer.Do you have swap configured? Is the system going into swap? Have a look at output of "free", "vmstat 5" (for a minute or two), "iostat 5 -x" (ditto) You may need to install the "sysstat" package to get iostat.
On Tue, Dec 11, 2012 at 4:40 PM, s19n <mailbox at s19n.net> wrote:> > > I notice when sshing into the machine takes ages and running remote > commands > > > with capistrano takes longer and longer. > > That is commonly related to DNS unavailability or misconfiguration. > What makes you think the slowness is gluster-related?Does not explain why restarting the machines makes it faster again, I suspect gluster because that is all the machine is doing and I didnt do much performance tweaking and dont really know gluster so well. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121212/bd8e95d5/attachment.html>