Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

nscd hängt sich auf

Featured Replies

Hey,

wir haben ab uns zu mal das Problem, dass sich nscd aufhängt.
Das Ganze äußert sich so, dass der nscd Prozess 1-2 CPU Kerne zu 100% auslastet und auf nichts mehr reagiert, bis man den Service neustartet.
Das hat dann natürlich zur Folge, dass der froxlor cronjob nicht mehr läuft und teilweise liefern Kundenseiten dann nur noch 403 Fehler, wenn man sie aufruft.

Der cronjob hängt bei dem Punkt:

Writing 70 entries to shadow file


Im nscd.log hängt es dann bei den folgenden Zeilen:

considering GETBYNAME entry "www-data", timeout 1564393743
Reloading "www-data" in group cache


Auf dem Server läuft Ubuntu 18.04 und es ist froxlor 0.9.40.1 installiert. Wir benutzen PHP-FPM und libnss-extrausers ist konfiguriert und aktiviert.
Grundsätzlich würde ich sagen, dass es nicht direkt an einer falschen Konfiguration liegt, da es die meiste Zeit fehlerfrei läuft. Alle paar Wochen bleibt er dann aber mal stecken.

Bei Google findet man ähnliche Fehler meist nur in Verbindung mit libnss-ldap und alle Fehler die ich hier im Forum gefunden habe, waren auf fehlerhafte Konfigurationen zurückzuführen.

Dieser Thread kommt der Sache glaube ich am Nächsten, allerdings scheint mir das trotzdem nicht der selbe Fehler zu sein.

Bei Extrausers braucht man Ansich kein nscd, schmeiß runter den Müll ;)

  • Author
29 minutes ago, d00p said:

Bei Extrausers braucht man Ansich kein nscd, schmeiß runter den Müll ;)

Na das war einfach, danke!
Allerdings steht jetzt im cronjob "sh: 1: nscd: not found". Kann ich das ignorieren?

In 0.10.0 ist das bereits soweit behoben - folgende Änderungen sollten das auch in 0.9.41 beheben:

https://github.com/Froxlor/Froxlor/blob/0.9.x/scripts/froxlor_master_cronjob.php#L92 und https://github.com/Froxlor/Froxlor/blob/0.9.x/scripts/jobs/cron_tasks.php#L179 jeweils:

- if (Settings::Get('system.mod_fcgid') == 1 || (int)Settings::Get('phpfpm.enabled') == 1) {
+ if ((Settings::Get('system.mod_fcgid') == 1 || (int) Settings::Get('phpfpm.enabled') == 1) && Settings::Get('system.nssextrausers') == 0) {

 

  • Author
1 hour ago, d00p said:

In 0.10.0 ist das bereits soweit behoben - folgende Änderungen sollten das auch in 0.9.41 beheben:

https://github.com/Froxlor/Froxlor/blob/0.9.x/scripts/froxlor_master_cronjob.php#L92 und https://github.com/Froxlor/Froxlor/blob/0.9.x/scripts/jobs/cron_tasks.php#L179 jeweils:


- if (Settings::Get('system.mod_fcgid') == 1 || (int)Settings::Get('phpfpm.enabled') == 1) {
+ if ((Settings::Get('system.mod_fcgid') == 1 || (int) Settings::Get('phpfpm.enabled') == 1) && Settings::Get('system.nssextrausers') == 0) {

 

Damit funktioniert's. Nochmal vielen Dank.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.