[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/13/2013 04:58 PM, Dave Jones wrote:
> On Sat, Apr 13, 2013 at 03:26:10PM +0200, Toralf Förster wrote:
>  > tl;dr;
>  > 
>  > 
>  > Running a recent trinity within a user mode linux guest (3.9-rc6-...) without parameter -N
>  > yields into an endless loop of the trinity-main process - it occupies 100% CPU time
>  > 
>  > The last lines of the command line
>  > 
>  > trinity ~ #  ps axf | grep trinity
>  >   910 ?        SNs    0:01  |       \_ bash -c pkill -9 trinity; cd ~; T=/mnt/n22/v/victims; mkdir -p $T; for i in $(seq -w 1 100); do touch $T/f$i; mkdir $T/d$i; done; cd $T; trinity --children 4 --victims $T -x mremap -r -q
>  >  1115 ?        SN     0:00  |           \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1116 ?        SN     0:00  |               \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1117 ?        RN   257:20  |               \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1359 ?        SNL    0:01  |                   \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1377 ?        SNL    0:00  |                   \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1392 ?        SNL    0:00  |                   \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1395 ?        SN     0:00  |                   \_ trinity --children 4 --victims /mnt/n22/v/victims -x mremap -r -q
>  >  1744 pts/0    S+     0:00          \_ grep --colour=auto trinity
> 
> ok, all 4 children are stuck sleeping. it would be interesting to get sysrq-T backtraces of those to see where
> they're sleeping. 
> 
> just to be sure, make sure they aren't sleeping/waking up very quickly by doing a tail -f *.log
> If that's not making any progress, we're definitly hung.

The culprit of the hung are these directory permissions I fear :

# ls -l /mnt/n22/v/
total 0
d--------- 102 tfoerste users 4040 Apr 13 17:16 victims

and because I start trinity from within the directory "victims"
all processes just stuck b/c trinity locked out itself.

IMO trinity shouldn't change the directory permissions above its own log
files - and/or should not change the perms of the victims directory



-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux