From: Dave Jones <davej@redhat.com>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: trinity@vger.kernel.org
Subject: Re: trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux
Date: Fri, 30 Aug 2013 11:57:59 -0400 [thread overview]
Message-ID: <20130830155759.GA24496@redhat.com> (raw)
In-Reply-To: <5220C024.3070503@gmx.de>
On Fri, Aug 30, 2013 at 05:54:12PM +0200, Toralf Förster wrote:
> the last lines are :
>
> fd[376] = domain:1 (PF_LOCAL) type:0x5 protocol:1
> fd[377] = domain:2 (PF_INET) type:0x2 protocol:17
> fd[378] = domain:10 (PF_INET6) type:0x1 protocol:0
> fd[379] = domain:1 (PF_LOCAL) type:0x1 protocol:1
> fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
> created 375 sockets
> fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
> created 375 sockets
> fd[5] = pipe
> fd[381] = pipe
> fd[382] = pipe
> fd[383] = pipe
>
> thats' all, a
> $> ps axf | grep trinity | grep -v grep
>
> just gives
>
> $ ssh tfoerste@trinity "ps axf | grep trinity | grep -v grep"
> 1072 ? Ss 0:00 | \_ bash -c cd ~; sudo su -c 'if [[ -d ./t3 ]]; then chmod -R a+rwx ./t3; rm -rf ./t3; fi'; mkdir ./t3; cd ./t3; logger M=; if [[ -n "" ]]; then if [[ -d /victims/v1 ]]; then sudo chmod -R a+rwx /victims/v1; sudo rm -rf /victims/v1; fi; mkdir -p /victims/v1/v2; for i in $(seq -w 1 100); do touch /victims/v1/v2/f$i 2>/dev/null; mkdir /victims/v1/v2/d$i 2>/dev/null; done; fi; trinity -C 1 -N 10000
> 1080 ? S 0:00 | \_ trinity -C 1 -N 10000
> 1081 ? S 0:00 | \_ trinity -C 1 -N 10000
> 1082 ? R 2:37 | \_ trinity -C 1 -N 10000
>
> $ ssh tfoerste@trinity "ls -l ~/t3/*log"
> -rw-r--r-- 1 tfoerste users 0 Aug 30 17:49 /home/tfoerste/t3/trinity-child0.log
> -rw-r--r-- 1 tfoerste users 19610 Aug 30 17:49 /home/tfoerste/t3/trinity.log
>
>
> Because I updated both trinity and the UML kernel I'm unsure were to start
ah, I think I know what's up here. It's hanging just before it tries to create
some 'perf' fds. I bet that either you have that config'd off in your uml kernel,
or uml doesn't support perf.
I'll add some error handling later today.
Dave
next prev parent reply other threads:[~2013-08-30 15:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 15:54 trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux Toralf Förster
2013-08-30 15:57 ` Dave Jones [this message]
2013-08-30 16:15 ` Toralf Förster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130830155759.GA24496@redhat.com \
--to=davej@redhat.com \
--cc=toralf.foerster@gmx.de \
--cc=trinity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox