On Sat, Nov 17, 2012 at 12:07:40PM -0800, John Schmitt wrote:
> https://github.com/erikw/tmux-powerline
> 
> tmux-powerline is good fun, I use it on two computers.  On my work machine
> everything seems to run just fine.  
> 
> On my home machine I sometimes find that tmux has crashed overnight.
> Turning on logging I see that status-left has died repeatedly.  I've been
> commenting things out to see if that will fix it, but so far the only
> thing that has worked is to turn off tmux-powerline completely.  
> 
> If I'm able to isolate this problem, I'll report back.

Well, compile up tmux with "-g -ggdb" and see if it core dumps.

More thank likely though, I suspect what's happening is that tmux, over
time, is spawning many jobs through its status-{left,right} scripts --
presumably leading to some kind of potential fork-bomb, although your OS
might be clever enough to handle this by killing the parent process; in this
case tmux.

This isn't a new problem, if it turns out to be true.  Byobu has this
problem, and one way of trying this out is to increase your status-interval
setting within tmux to something quite high -- the down side to this is that
your updating of information from within tmux will suffer, but that's a
small price to pay.

I do have some patches which I really do need to clean up and submit here,
to give each job its own interval-rate.  This would solve such a problem.

> I realise that it's not your responsibility to fix tmux-powerline, but
> perhaps it's a useful test case?  Am I the only one to encounter this?

See above.  A stack trace from a corefile if you can get it would be
helpful.  If not, enabling tmux with "-vvvv" and sending though the
tmux-server-*.log file is also helpful.

-- Thomas Adam

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to