Bug 120150 - [maintainer-update] net-mgmt/nagios: Link binaries against libthr(3) where available
Summary: [maintainer-update] net-mgmt/nagios: Link binaries against libthr(3) where av...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 13:20 UTC by Jarrod Sayers
Modified: 2008-02-04 20:00 UTC (History)
0 users

See Also:


Attachments
net-mgmt-nagios-2.10-libthr.diff (2.60 KB, patch)
2008-01-30 13:20 UTC, Jarrod Sayers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:
http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-2.10-libthr.diff
Comment 1 Wesley Shields freebsd_committer freebsd_triage 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 freebsd_triage 2008-01-30 15:05:58 UTC
State Changed
From-To: open->analyzed
Comment 3 dfilter service freebsd_committer freebsd_triage 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 
  Log:
  Link with libthr when available.  This should fix the CPU consumption
  problem.
  
  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
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2008-02-04 19:58:36 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!