You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ian Main (JIRA)" <qp...@incubator.apache.org> on 2010/01/06 19:42:54 UTC

[jira] Created: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Querying for 500 objects causes C++ based ruby console to hang
--------------------------------------------------------------

                 Key: QPID-2328
                 URL: https://issues.apache.org/jira/browse/QPID-2328
             Project: Qpid
          Issue Type: Bug
          Components: Qpid Managment Framework
         Environment: Version:

qmf-0.5.829175-3

            Reporter: Ian Main


Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.

To reproduce:

in project_stress/stress_agent/src run:

./stress_agent -n 500

And in project_stress/ruby/bin run:

./console.rb -t testobject -s

If you try rerunning the agent with fewer objects you will see what normal output looks like.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Posted by "Ian Main (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Main updated QPID-2328:
---------------------------

    Attachment: qmf_race_fixes_try_2.patch

This is still not fixed in trunk.  Attached is another patch that applies to trunk.

> Querying for 500 objects causes C++ based ruby console to hang
> --------------------------------------------------------------
>
>                 Key: QPID-2328
>                 URL: https://issues.apache.org/jira/browse/QPID-2328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Version:
> qmf-0.5.829175-3
>            Reporter: Ian Main
>            Assignee: Ted Ross
>         Attachments: qmf_race_fixes.patch, qmf_race_fixes_try_2.patch
>
>
> Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.
> To reproduce:
> in project_stress/stress_agent/src run:
> ./stress_agent -n 500
> And in project_stress/ruby/bin run:
> ./console.rb -t testobject -s
> If you try rerunning the agent with fewer objects you will see what normal output looks like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Posted by "Ian Main (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801939#action_12801939 ] 

Ian Main commented on QPID-2328:
--------------------------------

The above patch also fixes QPID-2330, and probably QPID-2334.

> Querying for 500 objects causes C++ based ruby console to hang
> --------------------------------------------------------------
>
>                 Key: QPID-2328
>                 URL: https://issues.apache.org/jira/browse/QPID-2328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Version:
> qmf-0.5.829175-3
>            Reporter: Ian Main
>            Assignee: Ted Ross
>         Attachments: qmf_race_fixes.patch
>
>
> Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.
> To reproduce:
> in project_stress/stress_agent/src run:
> ./stress_agent -n 500
> And in project_stress/ruby/bin run:
> ./console.rb -t testobject -s
> If you try rerunning the agent with fewer objects you will see what normal output looks like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Posted by "Ian Main (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Main updated QPID-2328:
---------------------------

    Attachment: qmf_race_fixes.patch

This patch fixes all the race conditions found to date including several other bugs listed here.  I'll look them up and comment after.

> Querying for 500 objects causes C++ based ruby console to hang
> --------------------------------------------------------------
>
>                 Key: QPID-2328
>                 URL: https://issues.apache.org/jira/browse/QPID-2328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Version:
> qmf-0.5.829175-3
>            Reporter: Ian Main
>            Assignee: Ted Ross
>         Attachments: qmf_race_fixes.patch
>
>
> Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.
> To reproduce:
> in project_stress/stress_agent/src run:
> ./stress_agent -n 500
> And in project_stress/ruby/bin run:
> ./console.rb -t testobject -s
> If you try rerunning the agent with fewer objects you will see what normal output looks like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Posted by "Ted Ross (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved QPID-2328.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.7

> Querying for 500 objects causes C++ based ruby console to hang
> --------------------------------------------------------------
>
>                 Key: QPID-2328
>                 URL: https://issues.apache.org/jira/browse/QPID-2328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Version:
> qmf-0.5.829175-3
>            Reporter: Ian Main
>            Assignee: Ted Ross
>             Fix For: 0.7
>
>         Attachments: qmf_race_fixes.patch, qmf_race_fixes_try_2.patch
>
>
> Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.
> To reproduce:
> in project_stress/stress_agent/src run:
> ./stress_agent -n 500
> And in project_stress/ruby/bin run:
> ./console.rb -t testobject -s
> If you try rerunning the agent with fewer objects you will see what normal output looks like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Posted by "Jan Sarenik (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844073#action_12844073 ] 

Jan Sarenik commented on QPID-2328:
-----------------------------------

See https://bugzilla.redhat.com/show_bug.cgi?id=564419

> Querying for 500 objects causes C++ based ruby console to hang
> --------------------------------------------------------------
>
>                 Key: QPID-2328
>                 URL: https://issues.apache.org/jira/browse/QPID-2328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Version:
> qmf-0.5.829175-3
>            Reporter: Ian Main
>            Assignee: Ted Ross
>             Fix For: 0.7
>
>         Attachments: qmf_race_fixes.patch, qmf_race_fixes_try_2.patch
>
>
> Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.
> To reproduce:
> in project_stress/stress_agent/src run:
> ./stress_agent -n 500
> And in project_stress/ruby/bin run:
> ./console.rb -t testobject -s
> If you try rerunning the agent with fewer objects you will see what normal output looks like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-2328) Querying for 500 objects causes C++ based ruby console to hang

Posted by "Ted Ross (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross reassigned QPID-2328:
------------------------------

    Assignee: Ted Ross

> Querying for 500 objects causes C++ based ruby console to hang
> --------------------------------------------------------------
>
>                 Key: QPID-2328
>                 URL: https://issues.apache.org/jira/browse/QPID-2328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Version:
> qmf-0.5.829175-3
>            Reporter: Ian Main
>            Assignee: Ted Ross
>
> Using the test framework at http://github.com/movitto/qmf/ we were able to cause the console to hang and require a SIGKILL to stop it by querying for > 450 or so objects.
> To reproduce:
> in project_stress/stress_agent/src run:
> ./stress_agent -n 500
> And in project_stress/ruby/bin run:
> ./console.rb -t testobject -s
> If you try rerunning the agent with fewer objects you will see what normal output looks like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org