Re: munin related

2013-10-08 Thread Trond Endrestøl
On Mon, 7 Oct 2013 19:57+0200, Laszlo Danielisz wrote:

 Yep killing nscd help me to get out of this trouble.

I have long suspected nscd to reinitialise the timers whenever an 
entry is requested while still held in the cache, be it a positive or 
a negative result.

As such the only reasonable solution is to never cache negative 
results (TTL=0) and keep the positive TTL relatively short, say no 
more than 60 minutes.

Can someone more knowledgeable on nscd internals confirm my suspicion?

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: munin related

2013-10-08 Thread Laszlo Danielisz
Not a bad idea.





 From: Mark Felder f...@freebsd.org
To: freebsd-questions@freebsd.org 
Sent: Monday, October 7, 2013 8:35 PM
Subject: Re: munin related
 

On Mon, Oct 7, 2013, at 12:57, Laszlo Danielisz wrote:
 Dear Dan, 
 
 Yep killing nscd help me to get out of this trouble.
 
 Thank you very much! 
 

Some day it might be feasible to tie a hook into pkg that clears the
uid/gid cache in nscd when trying to install packages so this isn't a
problem.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: munin related

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 1:15, Trond Endrestøl wrote:
 On Mon, 7 Oct 2013 19:57+0200, Laszlo Danielisz wrote:
 
  Yep killing nscd help me to get out of this trouble.
 
 I have long suspected nscd to reinitialise the timers whenever an 
 entry is requested while still held in the cache, be it a positive or 
 a negative result.
 
 As such the only reasonable solution is to never cache negative 
 results (TTL=0) and keep the positive TTL relatively short, say no 
 more than 60 minutes.
 
 Can someone more knowledgeable on nscd internals confirm my suspicion?
 

I'm not that guy, but I do remember watching this closely on the mailing
lists a while back. I can't deploy nscd because of negative cache issues
and I don't think this patch in this thread was ever committed. I
haven't had time to investigate, though.


http://freebsd.1045724.n5.nabble.com/PATCH-Fix-for-negative-cacheing-problem-in-NSCD-td5722843.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: munin related

2013-10-07 Thread Dan Nelson
In the last episode (Oct 05), Laszlo Danielisz said:
 Today while trying to install munin-node on 9.2 from ports I keep getting
 the following error:
 
 ===  Checking if sysutils/munin-common already installed
 === Creating users and/or groups.
 Using existing group `munin'.
 Creating user `munin' with uid `842'.
 pw: user 'munin' already exists
 *** [create-users-groups] Error code 74
 
 Stop in /usr/ports/sysutils/munin-common.
 *** [build-depends] Error code 1
 
 Stop in /usr/ports/sysutils/munin-node.
 *** [build] Error code 1
 
 Stop in /usr/ports/sysutils/munin-node.
 
 
 Do you have any  idea what can cause this?
 The ports are up to date.

Do you have nscd caching enabled?  It sometimes doesn't realize immediately
that users/groups have been added to the system.  Try restarting nscd, or
disabling it temporarily while you install.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: munin related

2013-10-07 Thread Laszlo Danielisz
Dear Dan, 

Yep killing nscd help me to get out of this trouble.

Thank you very much! 

-- 
Laszlo Danielisz



On 2013 October 7 Monday at 5:55 PM, Dan Nelson wrote:

 In the last episode (Oct 05), Laszlo Danielisz said:
  Today while trying to install munin-node on 9.2 from ports I keep getting
  the following error:
  
  ===  Checking if sysutils/munin-common already installed
  === Creating users and/or groups.
  Using existing group `munin'.
  Creating user `munin' with uid `842'.
  pw: user 'munin' already exists
  *** [create-users-groups] Error code 74
  
  Stop in /usr/ports/sysutils/munin-common.
  *** [build-depends] Error code 1
  
  Stop in /usr/ports/sysutils/munin-node.
  *** [build] Error code 1
  
  Stop in /usr/ports/sysutils/munin-node.
  
  
  Do you have any  idea what can cause this?
  The ports are up to date.
  
 
 
 Do you have nscd caching enabled? It sometimes doesn't realize immediately
 that users/groups have been added to the system. Try restarting nscd, or
 disabling it temporarily while you install.
 
 -- 
 Dan Nelson
 dnel...@allantgroup.com (mailto:dnel...@allantgroup.com)
 ___
 freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org) mailing 
 list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 
 (mailto:freebsd-questions-unsubscr...@freebsd.org)
 
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: munin related

2013-10-07 Thread Mark Felder
On Mon, Oct 7, 2013, at 12:57, Laszlo Danielisz wrote:
 Dear Dan, 
 
 Yep killing nscd help me to get out of this trouble.
 
 Thank you very much! 
 

Some day it might be feasible to tie a hook into pkg that clears the
uid/gid cache in nscd when trying to install packages so this isn't a
problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


munin related

2013-10-05 Thread Laszlo Danielisz
Hi everybody,

Today while trying to install munin-node on 9.2 from ports I keep getting the 
following error:

===  Checking if sysutils/munin-common already installed
=== Creating users and/or groups.
Using existing group `munin'.
Creating user `munin' with uid `842'.
pw: user 'munin' already exists
*** [create-users-groups] Error code 74

Stop in /usr/ports/sysutils/munin-common.
*** [build-depends] Error code 1

Stop in /usr/ports/sysutils/munin-node.
*** [build] Error code 1

Stop in /usr/ports/sysutils/munin-node.


Do you have any  idea what can cause this?
The ports are up to date.

I've tried before installing munin-node via pkg_add, it installed successfully 
but didn't work properly so I uninstall and tried it via ports.

Any suggestions?

Thx!
Laci
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org