[[!comment format=c
 username="https://www.google.com/accounts/o8/id?id=AItOawlmLuHhscJsoAqb9q0N3LdtHum6LjY1LK4"
 nickname="Markus"
 subject="comment 7"
 date="2015-02-17T14:43:02Z"
 content="""
ssh -t makes no difference, the strace output:
it's completely repetitive, only the futex and mmap calls are at random positions (mmap probably leads to the enormous memory consumption)

rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
clock_gettime(0x2 /* CLOCK_??? */, {31, 737743240}) = 0
clock_gettime(CLOCK_MONOTONIC, {365100, 810332327}) = 0
clock_gettime(0x3 /* CLOCK_??? */, {31, 737155560}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x2b32fb1c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x2b32fb18, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x2b32fb48, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x41981d0, FUTEX_WAKE_PRIVATE, 1) = 1
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
clock_gettime(0x2 /* CLOCK_??? */, {31, 851239760}) = 0
clock_gettime(CLOCK_MONOTONIC, {365100, 933314386}) = 0
clock_gettime(0x3 /* CLOCK_??? */, {31, 850549960}) = 0
mmap2(0x30b00000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30b00000
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [HUP ILL TRAP KILL USR1 USR2 CHLD TSTP TTIN URG XFSZ VTALRM IO PWR])                   
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0                                                                                                  
clock_gettime(0x2 /* CLOCK_??? */, {56, 575838240}) = 0                                                                                      
clock_gettime(CLOCK_MONOTONIC, {365125, 751101804}) = 0                                                                               
clock_gettime(0x3 /* CLOCK_??? */, {56, 574935120}) = 0                                                                               
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                                                                                                 
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [])                                                                                    
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [ILL FPE KILL SEGV USR2 PIPE TERM STOP TSTP URG XCPU XFSZ VTALRM])                     
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [QUIT ABRT BUS PIPE TERM CONT STOP URG IO PWR])                                        
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [QUIT ABRT BUS PIPE TERM CONT STOP URG IO PWR])                                        
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [QUIT ABRT BUS PIPE TERM CONT STOP URG IO PWR])                                        
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                                                                                            
sigreturn()                             = ? (mask now [QUIT ABRT BUS PIPE TERM CONT STOP URG IO PWR])                                        
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---                   
"""]]
