Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Allgemeines zu Drupal ›

Too many open files error? - Apache File Handle-Limits und 930 Sprachdateien - eine Herausforderung an die Performanz

Eingetragen von unleash (98)
am 09.01.2012 - 01:22 Uhr in
  • Allgemeines zu Drupal
  • Drupal 7.x oder neuer

Nachdem ich die drupal-commons 6.x 2.3 jetzt mal (ganz grundsätzlich) installieren kann bin ich schon etwas weiter. Der installationsprozess läuft durch - aber immer noch mit einigne Fehlern - too many files open. Ein Performanzproblem sicher! Die Installation läuft buggy und mit fehlermeldungen - ergenbis ist
eine Seite wie hier http://campus-24.com

Der neue leistungsfähigere SERVER ist im Grund auch nicht mehr weit.

Was mich aber bzg. der Performanzthematik dennoch interessiert (hat) ist die FRAGE wie starkt das Problem ist und was die Ursachen sind.... Eine Suche nach den Fehler "too many files open" ergab ein insges. interessantes Bild mit verschidenen Vermutngen. ( hier der Thread mit der Zusammenstellung http://drupal.org/node/1396990 )


Avoid too many file_exists() calls during bootstrap - with patch - not tested yet!

Posted by c960657 on March 25, 2010 at 1:02pm
http://drupal.org/node/752730#comment-5440100

Too many open files error?
Posted by nr152522 on April 16, 2007 at 2:57pm
http://drupal.org/node/136732

Too many open files error?
http://drupal.org/node/1231106
Posted by mistaparker on July 27, 2011 at 2:07pm

Server Performance Warning: Drupal & modules (ab)uses too many files !
Posted by ClearXS on June 13, 2010 at 1:09am
http://drupal.org/node/825990#comment-5440056

Too many open files in includes/file.inc on line 888
Posted by muckermarc on May 27, 2009 at 12:05pm in the thread http://drupal.org/node/474152#comment-5440114
Die Lösung hier - ein Heraufsetzen der Limits der File Handles auf dem Apache.
wird insges. von vielen als erfolgreich angesehen. Das hab ich gleich auch mal gemacht.
Muss die Installation noch testen.

Dann noch besonders interessant:
Server Performance Warning: Drupal & modules (ab)uses too many files !
Posted by ClearXS on June 13, 2010 at 1:09am
http://drupal.org/node/825990#comment-5440056

Hinweis auf die vielen Files - insbes. die Übesetzungen

ca 925 Übersetzungs-Dateien in der drupal commons 6 x 2.3 - Übersetzungen in fast alle Sprachen...
Eine Suche ergab das - habe mal versucht die Installation zu verschlanken

Nach dem Motto "get rid of all those silly translation files or whatever for tiny miny parts of info and unnecesary subdivisions;"
http://drupal.org/node/825990

find  -type f -name "*.po"

linux-vi17:/home/martin/web_technik/drupal/commons_3_jan_12/commons-6.x-2.3/commons-6.x-2.3 # find  -type f -name "*.po"

./profiles/drupal_commons/modules/acquia/mollom/translations/._it.po
./profiles/drupal_commons/modules/acquia/mollom/translations/fr.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._sv.po
./profiles/drupal_commons/modules/acquia/mollom/translations/sv.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._fr.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._nb.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._pl.po
./profiles/drupal_commons/modules/acquia/mollom/translations/da.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._cs.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._hu.po
./profiles/drupal_commons/modules/acquia/mollom/translations/it.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._nn.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._th.po
./profiles/drupal_commons/modules/acquia/mollom/translations/nn.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._nl.po
./profiles/drupal_commons/modules/acquia/mollom/translations/pt-pt.po
./profiles/drupal_commons/modules/acquia/mollom/translations/th.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._da.po


wie gesagt mehr als 930 Dateien nur Sprache ... / Übersetzung...

Wenn man sich dann klar macht dass die file_exists() viel Zeit in Anspruch nehmen dann ist man sicher dabei nicht so happy mit 940 Sprachdateien spazieren zu laufen - wenn es auch viel viel wenigr sein koennten...vgl auch hier die http://drupal.org/node/1396990
Christian Schmid bemerkt: "I noticed that file_exists() is the most expensive built-in PHP function measured as total time spent calling the function for all invocations in a single request. This is more time than is spent in e.g. DOStatement->execute(). During the bootstrap process, Drupal does a lot of file_exists() checks to verify that files are still where they are supposed to be according to {system}.filename.

Er hat auch eine patch zur verfügung gestellt. - hab ich naber noch nicht in der 7er Drupal getestet, geschweige denn in der Commons 6.x 2.3

Was ich jetzt aber mache ist

a.- mit den bessere n Filehandles-(erweitertes Limit) auf dem Apache die Installatin nochmals zu testen.
b.- eine Installation mal zu testen - die die Ganzen Übesetzungen nicht hat - ich haue einfach mal die 930 Dateien raus.

Das müsste dann ja doch noch installierbar sein - die engl. Sprache ist ja per default dabei ...

meld ich wieder - und berichte.

lg unleash

‹ Upload Limit bei Backups Automatische Installation von Modulen in D7 - FTP-Daten? ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Mir sind Fehler unbekannt

Eingetragen von Patrick Schanen (515)
am 09.01.2012 - 10:00 Uhr

Mir sind solche Fehler unbekannt. Ich weiss leider nicht wie du es schaffst dir immer solche Probleme zu ergattern.

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
  • Wie erlaubt man neuen Benutzern auf die Resetseite zugreifen zu dürfen.
  • [gelöst] Anzeigeformat Text mit Bild in einem Artikel, Drupal 11
  • Social Media Buttons um Insteragram erweitern
  • Nach Installation der neuesten D10-Version kein Zugriff auf Website
  • Composer nach Umzug
  • [gelöst] Taxonomie Begriffe zeigt nicht alle Nodes an
  • Drupal 11 + Experience Builder (Canvas) + Layout Builder
  • Welche KI verwendet ihr?
  • Update Manger läst sich nicht Installieren
Weiter

Neue Kommentare

  • melde mich mal wieder, da ich
    vor 2 Wochen 1 Tag
  • Hey danke
    vor 2 Wochen 1 Tag
  • Update: jetzt gibt's ein
    vor 2 Wochen 2 Tagen
  • Hallo, im Prinzip habe ich
    vor 3 Wochen 2 Stunden
  • Da scheint die Terminologie
    vor 3 Wochen 5 Stunden
  • Kannst doch auch alles direkt
    vor 3 Wochen 4 Tagen
  • In der entsprechenden View
    vor 3 Wochen 4 Tagen
  • Dazu müsstest Du vermutlich
    vor 3 Wochen 4 Tagen
  • gelöst
    vor 6 Wochen 1 Tag
  • Ja natürlich. Dass ist etwas,
    vor 6 Wochen 1 Tag

Statistik

Beiträge im Forum: 250233
Registrierte User: 20452

Neue User:

  • ByteScrapers
  • Mroppoofpaync
  • 4aficiona2

» Alle User anzeigen

User nach Punkten sortiert:
wla9461
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 32 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association