[ 
https://issues.apache.org/jira/browse/TS-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862293#action_12862293
 ] 

George Paul commented on TS-329:
--------------------------------

I noticed the pipe() based signaling being fixed with this patch on trunk also. 
By default at least for the distro's I've been testing eventfd() is detected 
and used by default. Overall the code needs cleanup like John mentioned with 
signal() handling being unified.

Vijay, by default are you/Y! using pipes() or eventfd() on linux or is because 
of some older distros/kernels used by Y! where pipe() becomes the default?

-George

> delay seen in handling the client's request while running with accept thread 
> -----------------------------------------------------------------------------
>
>                 Key: TS-329
>                 URL: https://issues.apache.org/jira/browse/TS-329
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: vijaya bhaskar mamidi
>            Priority: Minor
>         Attachments: patch.329
>
>
> Recent tests prove that while using accept thread, we do end up waiting for a 
> period of time before handling the
> request from the client. This is because the signal is not delivered to a net 
> thread to handle the new connection because of epoll_wait timeout
> Fix is to provide a schedule_imm_signal method which can be used in accept 
> thread to signal a given net thread for handling new connections.

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

Reply via email to