#190 thread group fails to migrate

Roger Tsang

[created from discussion http://article.gmane.org/gmane.linux.cluster.ssic.devel/6010\]

When running the attached test program the origin node displays the following messages:

add_thread_group:Cannot move process 438181 (calc) - cannot find all shares
add_thread_group: group(438181)/share imbalance 4/1

To build attached test program
# gcc -o calc pthread-test.c -pthread -lm


  • Roger Tsang

    Roger Tsang - 2009-04-28

    test program

  • Roger Tsang

    Roger Tsang - 2009-04-28

    from discussion http://article.gmane.org/gmane.linux.cluster.ssic.devel/6011

    John Huges wrote:
    I've also seen another error when trying to migrate the process:

    $ migrate 1 395359
    migrate: process 395359 has exited/is exiting
    $ dmesg | tail -1
    add_thread_group:Cannot move process 394990 (gdm) has different tgid 394990 (expected 395359)

    It seems confused about which threads belong to which processes.

    I get the same behaviours with a 2.6.11 kernel based on CVS as of 16 March.

  • Roger Tsang

    Roger Tsang - 2009-04-30
    • assigned_to: nobody --> rogertsang
  • Roger Tsang

    Roger Tsang - 2009-04-30

    ran into other bugs while fixing this...
    1) fails to migrate due to shared SysV sem
    2) sending signal after migration results in zombie thread group when the parent of the test program reside on a different node

  • Roger Tsang

    Roger Tsang - 2009-05-02

    now looking good; will CVS checkin my fixes soon

  • Roger Tsang

    Roger Tsang - 2009-05-02
    • status: open --> open-accepted
  • Roger Tsang

    Roger Tsang - 2009-05-06

    apply patch against CVS

  • Roger Tsang

    Roger Tsang - 2009-10-27


  • Roger Tsang

    Roger Tsang - 2009-10-27
    • status: open-accepted --> open-fixed
  • Roger Tsang

    Roger Tsang - 2010-03-13
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks