[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582170#comment-14582170 ] Leif Hedstrom commented on TS-993: -- Please reopen if someone needs OpenBSD support. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Components: Build > Environment: OpenBSD >Reporter: Piotr Sikora > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252746#comment-14252746 ] Piotr Sikora commented on TS-993: - [~shinrich]: I think it would be great if it worked, but I have no use for this anymore. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Components: Build > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: sometime > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196525#comment-14196525 ] Susan Hinrichs commented on TS-993: --- [~piotrsikora] Are you still interested? If not, we will close as 'Won't fix'. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Components: Build > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: sometime > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460616#comment-13460616 ] Daniel Gruno commented on TS-993: - Patch for issues 1 through 3 is in trunk, as per [8665bbb1e5f34e6de5d709b0314a8fcb1eefec8d]. Can you confirm whether this solves these issues for OpenBSD? > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.1 > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- 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
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456685#comment-13456685 ] Igor Galić commented on TS-993: --- +1 from me, but maybe you can get [~jplevyak], or someone else who has a clue about how our threading stuff works to comment on this > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.1 > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- 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
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456675#comment-13456675 ] Daniel Gruno commented on TS-993: - ink_mutex_try_acquire would be just as peachy for me, and probably a safer bet. I did try using the 'try' version myself, and got the same good results (ie cpu not rising to 100%). > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.1 > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- 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
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456673#comment-13456673 ] Igor Galić commented on TS-993: --- [~humbedooh], are you sure we want {{ink_mutex_acquire()}} here, not {{ink_mutex_try_acquire()}} {{ink_mutex_acquire()}} causes an {{abort()}}. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.1 > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- 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
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456557#comment-13456557 ] Daniel Gruno commented on TS-993: - The same bug applies to FreeBSD, as reported at http://www.freebsd.org/cgi/query-pr.cgi?pr=170829 Issues 1, 2 and 3 are related to a mutex not being locked/acquired (according to FreeBSD at least, I'll have to make sure) in Log.cc and subsequently being told to do an ink_cond_wait (which fails with EPERM and thus causes it to loop forever without waiting). I'm attaching a patch that fixes this issue. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.1 > > Attachments: 0001-Add-OpenBSD-support.patch, freebsd.patch > > > Add OpenBSD support. -- 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
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293942#comment-13293942 ] Leif Hedstrom commented on TS-993: -- Do we really need two bugs for this? We also have TS-1193. Can we mark one as duplicate, or at least change the subject title on one of them, if it really is a subtask? > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.0 > > Attachments: 0001-Add-OpenBSD-support.patch > > > Add OpenBSD support. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239923#comment-13239923 ] Piotr Sikora commented on TS-993: - Hey Leif, unfortunately, work circumstances changed for me in the past few months and I won't be working on ATS in the foreseeable future... Someone should takeover this. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Fix For: 3.3.0 > > Attachments: 0001-Add-OpenBSD-support.patch > > > Add OpenBSD support. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178252#comment-13178252 ] Piotr Sikora commented on TS-993: - Uhm, like the original comment says, this one patch only lets ATS compile on OpenBSD. Know issues (so far): 1) it goes straight away to 100% CPU doing gettimeofday() thousands of time per second. 2) it crashes after first request when compiled without --enable-debug. 3) it crashes right away when compiled with --enable-debug: {code} FATAL: ../../lib/ts/ink_thread.h:267: failed assert `pthread_cond_wait(cp, mp) == 0` {code} 4) it fails to regiester kqueue events: {code} ERROR: [iocore_dns] open_con: Failed to add 257175888 server to epoll list {code} Those might be partly my fault, because I'm compiling it with: {code} CXXFLAGS="-DRENTRENT_GETHOSTBYNAME -DRENTRENT_GETHOSTBYADDR" {code} even though I know this isn't true, but OpenBSD doesn't have thread-safe gethostby{name,addr}() implementation... Ideally, we should use getaddrinfo() here. All in all, I'm not too happy about the "Resolved / Fixed" status update. Oh, and this patch got committed with wrong ticket number (TS-992 instead of TS-993). > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora >Assignee: Leif Hedstrom > Fix For: 3.1.2 > > Attachments: 0001-Add-OpenBSD-support.patch > > > Add OpenBSD support. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-993) Add OpenBSD support.
[ https://issues.apache.org/jira/browse/TS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132298#comment-13132298 ] Piotr Sikora commented on TS-993: - Attached patch let's ATS & examples compile on OpenBSD, but this isn't usable state yet, because ATS fails to register kqueue events. I most likely won't have time to investigate this further during the next few weeks, so if anyone wants to take a shot at it, it would be great. > Add OpenBSD support. > > > Key: TS-993 > URL: https://issues.apache.org/jira/browse/TS-993 > Project: Traffic Server > Issue Type: Improvement > Environment: OpenBSD >Reporter: Piotr Sikora > Attachments: 0001-Add-OpenBSD-support.patch > > > Add OpenBSD support. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira