On Thu, Jan 27, 2011 at 01:56:25PM -0800, Murray S. Kucherawy wrote:
>
> I've added two things for the Beta5 release to try to address the
> libar issue on Solaris:
>
> 1) Configuring the build with "--enable-poll" will now have libar
> use poll() instead of select();
>
> 2) An incomplete writev() will be retried later when the nameserver
> socket is again reporting write-ready.
>
> I'm running this now on blackops.org. If it doesn't fall over in
> the next several hours, I'll post Beta5 with these changes. Gary,
> you can build libar from Beta5 and compile 2.2.2 against it if you
> want to try it but keep the changes minimal.
I've just built opendkim-2.2.2 with libar from opendkim-2.3.0b5 and
started it on my test server. It seems fine in a quick test. It is
indeed using poll() now:
# pstack 2106
2106: opendkim -x /etc/mail/opendkim.conf
----------------- lwp# 1 / thread# 1 --------------------
feada795 pollsys (8036ffc, 1, 8036f50, 0)
fea7f8be poll (8036ffc, 1, 1388, fef369fa) + 52
fef36404 mi_listener (80a3ba0, 0, 80a2858, 1c2a, 80, 1) + 1f4
fef33671 smfi_main (8047d74, feffb800, 0, 0, 0, 0) + 79
08068765 main (3, 8047db8, 8047dc8, 8047dac) + 2b95
08057eed _start (3, 8047e60, 8047e69, 8047e6c, 0, 8047e84) + 7d
----------------- lwp# 2 / thread# 2 --------------------
feada795 pollsys (80a3538, 2, fe92ee10, 0)
fea7f8be poll (80a3538, 2, 540be400) + 52
fef56ede ar_socket_wait (80b36e0, 540be400) + 7e
fef53cc7 ar_dispatcher (80b48f0) + 3f7
fead73b7 _thr_setup (fe820200) + 4e
fead76a0 _lwp_start (fe820200, 0, 0, fe92eff8, fead76a0, fe820200)
----------------- lwp# 3 / thread# 3 --------------------
feada795 pollsys (80a37e8, 2, 0, 0)
fea7f8be poll (80a37e8, 2, ffffffff) + 52
fef56ede ar_socket_wait (80b3710, ffffffff) + 7e
fef53cc7 ar_dispatcher (80b7d90) + 3f7
fead73b7 _thr_setup (fe820a00) + 4e
fead76a0 _lwp_start (fe820a00, 0, 0, fe81eff8, fead76a0, fe820a00)
----------------- lwp# 4 / thread# 4 --------------------
fead9b75 sigtimedwait (fe71fef0, fe71ff00, 0)
feacc71d sigwait (fe71ffc0) + 1c
feac4b82 __posix_sigwait (fe71ffc0, fe71ffd0) + 2e
0805a31b dkimf_reloader (0) + 4b
fead73b7 _thr_setup (fe821200) + 4e
fead76a0 _lwp_start (fe821200, 0, 0, fe71fff8, fead76a0, fe821200)
----------------- lwp# 5 / thread# 5 --------------------
fead9b75 sigtimedwait (fe620f00, fe620f10, 0)
feacc71d sigwait (fe620fc0, 2, fe620fdc, fef382a9) + 1c
fef382f7 mi_signal_thread (80a1ab0) + 5b
fead73b7 _thr_setup (fe821a00) + 4e
fead76a0 _lwp_start (fe821a00, 0, 0, fe620ff8, fead76a0, fe821a00)
--
-Gary Mills- -Unix Group- -Computer and Network Services-
Received on Sat Jan 29 2011 - 01:49:17 PST