Bug 120150

Summary: [maintainer-update] net-mgmt/nagios: Link binaries against libthr(3) where available
Product: Ports & Packages Reporter: Jarrod Sayers <jarrod>
Component: Individual Port(s)Assignee: Wesley Shields <wxs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
net-mgmt-nagios-2.10-libthr.diff none

Description Jarrod Sayers 2008-01-30 13:20:01 UTC
Many users have reported issues whereby a fork()'d Nagios process consumes 100%
of it's available CPU time.  Depending on system configurations this can have
detrimental side affects until the process is killed or the system restarted.

Users have been working around this by mapping out the use of libpthread(3) in
/etc/libmap.conf.  This patch should resolve this issue by compiling Nagios
binaries against the libthr(3) threading library where available removing the
need to map libpthread(3) out.

This patch is identical to that of net-mgmt/nagios-devel's recently committed
fix for the same issue.  Also bundled is the addition of libltdl as requested
by Tom Judge (tjudge # mintel.com).

Fix: Downloadable diff from:
Comment 1 Wesley Shields freebsd_committer 2008-01-30 14:38:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 2 Wesley Shields freebsd_committer 2008-01-30 15:05:58 UTC
State Changed
From-To: open->analyzed
Comment 3 dfilter service freebsd_committer 2008-02-04 19:57:30 UTC
wxs         2008-02-04 19:57:24 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/nagios      Makefile 
    net-mgmt/nagios/files patch-configure.in 
  Link with libthr when available.  This should fix the CPU consumption
  PR:             ports/120150 ports/119766
  Submitted by:   jarrod@netleader.com.au bernd.kuhlen@wetteronline.de
  Approved by:    maintainer (implicit) garga (mentor)
  Revision  Changes    Path
  1.66      +2 -1      ports/net-mgmt/nagios/Makefile
  1.2       +38 -4     ports/net-mgmt/nagios/files/patch-configure.in
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Wesley Shields freebsd_committer 2008-02-04 19:58:36 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!