qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Ross (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PROTON-297) 100% CPU usage on ARM in pn_messenger_recv()
Date Thu, 18 Apr 2013 16:13:16 GMT

     [ https://issues.apache.org/jira/browse/PROTON-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Ross resolved PROTON-297.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.5
    
> 100% CPU usage on ARM in pn_messenger_recv()
> --------------------------------------------
>
>                 Key: PROTON-297
>                 URL: https://issues.apache.org/jira/browse/PROTON-297
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.4
>         Environment: ARM9, eglibc linux
>            Reporter: Jin
>            Assignee: Ted Ross
>             Fix For: 0.5
>
>         Attachments: proton_poll_busy_fix_arm.patch
>
>
> Deep down pn_messenger_recv() issues a poll() with a specific timeout. On ARM9 the poll
timeout is reset to 0 because d->wakeup is always older than now. The reason is, that the
time stamp is passed around earlier and one of the functions has a time_t instead of a pn_timestamp_t
in the declaration.
> Patch that fixes the problem is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message