Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Anfängerfragen ›

Fatal Error: Out of Memory

Eingetragen von klausi (76)
am 23.01.2009 - 23:29 Uhr in
  • Anfängerfragen
  • Drupal 6.x

Hi Leute,

leider hat auch eine Erhöhung des memory_limits auf 64 MB durch den Provider meines Sharehosting-Pakets auch nicht zum gewünschten Erfolg geführt - soll heißen:
Fehlermeldungen der Art: Fatal Error: Out of Memory (allocated ...
auf bestimmten Seiten (u.a. admin/build/modules) nach Aktivierung des VIEWS-Moduls! )-:

Diese Seite ist derzeit im Offlinebetrieb, hat gerade 6 Nodes, kein Inhaltsmenü (Primarylinks oder Secondarylinks), 12 Inhaltstypen mit durchschnittlich 8-10 Feldern.

MySQL habe ich schon per PHPMyAdmin repariert, optimiert und analysiert - ohne Erfolg! )-:

Mein Status:

Drupal 6.9
Aktualisierungsbenachrichtigung Aktiviert
Aktualisierungsstatus des Drupal-Kern Aktuell
Aktualisierungsstatus von Modulen und Themes Aktuell
Cron-Wartungsaufgaben Zuletzt vor 4 Stunden 32 Minuten ausgeführt
Cron kann per Hand ausgeführt werden.
Dateisystem Beschreibbar (öffentliche Download-Art)
Datenbankaktualisierungen Aktuell
GD-Bibliothek bundled (2.0.34 compatible)
ImageAPI GD Memory Limit 64M
It is highly recommended that you set you PHP memory_limit to 96M to use ImageAPI GD. A 1600x1200 images consumes ~45M of memory when decompressed and there are instances where ImageAPI GD is operating on two decompressed images at once.
Konfigurationsdatei Geschützt
MySQL-Datenbank 5.0.67
PHP 5.2.6-0.dotdeb.1
PHP Register Globals Deaktiviert
PHP-Speicherlimit 64M
Unicode-Bibliothek PHP-Erweiterung "mbstring"
Webserver Apache/2.2.3 (Debian)
Zugriff auf update.php Geschützt

Meine aktivierten Module:

      modules/system/system.module system module
      modules/block/block.module block module
      modules/book/book.module book module
      modules/comment/comment.module comment module 
      modules/contact/contact.module contact module 
      modules/filter/filter.module filter module 
      modules/forum/forum.module forum module 
      modules/locale/locale.module locale module 
      modules/menu/menu.module menu module  
      modules/node/node.module node module  
      modules/poll/poll.module poll module  
      modules/profile/profile.module profile module  
      modules/search/search.module search module 
      modules/taxonomy/taxonomy.module taxonomy module 
      modules/throttle/throttle.module throttle module  
      modules/update/update.module update module  
      modules/user/user.module user module  
      sites/all/modules/mollom/mollom.module mollom module 
      sites/all/modules/cck/content.module content module  
      sites/all/modules/cck/modules/fieldgroup/fieldgrou... fieldgroup module  
      sites/all/modules/cck/modules/nodereference/nodere... nodereference module   
      sites/all/modules/cck/modules/number/number.module number module      
      sites/all/modules/cck/modules/optionwidgets/option... optionwidgets module    
      sites/all/modules/cck/modules/text/text.module text module
      sites/all/modules/cck/modules/userreference/userre... userreference module
      sites/all/modules/date/date/date.module date module 
      sites/all/modules/date/date_api.module date_api module
      sites/all/modules/date/date_timezone/date_timezone... date_timezone module
      sites/all/modules/email/email.module email module 
      sites/all/modules/imagefield/imagefield.module imagefield module
      sites/all/modules/link/link.module link module 
      sites/all/modules/spamspan/spamspan.module spamspan module
      sites/all/modules/token/token.module token module 
      sites/all/modules/auto_nodetitle/auto_nodetitle.mo... auto_nodetitle module 
      sites/all/modules/filefield/filefield.module filefield module  
      sites/all/modules/imageapi/imageapi.module imageapi module  
      sites/all/modules/imageapi/imageapi_gd.module imageapi_gd module  
      sites/all/modules/computed_field/computed_field.mo... computed_field module  

PHPINFO:

PHP Version 5.2.6-0.dotdeb.1

System  Linux host89.sitepush.net 2.6.18-6-k7 #1 SMP Mon Oct 13 16:52:47 UTC 2008 i686 
Build Date  May 2 2008 10:18:24 
Server API  CGI/FastCGI 
Virtual Directory Support  disabled 
Configuration File (php.ini) Path  /etc/php5/cgi 
Loaded Configuration File  /etc/apache2/confixx_phpini/web560/1/php.ini 
Scan this dir for additional .ini files  /etc/php5/cgi/conf.d 
additional .ini files parsed  /etc/php5/cgi/conf.d/curl.ini, /etc/php5/cgi/conf.d/gd.ini, /etc/php5/cgi/conf.d/imap.ini, /etc/php5/cgi/conf.d/mcrypt.ini, /etc/php5/cgi/conf.d/mhash.ini, /etc/php5/cgi/conf.d/mysql.ini, /etc/php5/cgi/conf.d/mysqli.ini, /etc/php5/cgi/conf.d/odbc.ini, /etc/php5/cgi/conf.d/pdo.ini, /etc/php5/cgi/conf.d/pdo_mysql.ini, /etc/php5/cgi/conf.d/pdo_odbc.ini, /etc/php5/cgi/conf.d/snmp.ini, /etc/php5/cgi/conf.d/zend.ini 
PHP API  20041225 
PHP Extension  20060613 
Zend Extension  220060519 
Debug Build  no 
Thread Safety  disabled 
Zend Memory Manager  enabled 
IPv6 Support  enabled 
Registered PHP Streams  zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps 
Registered Stream Socket Transports  tcp, udp, unix, udg, ssl, sslv3, sslv2, tls 
Registered Stream Filters  string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.* 

This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project 

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies


This program was built by Dotdeb.


--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log /var/log/apache2/php.log /var/log/apache2/php.log
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir /usr/lib/php5/20060613+lfs /usr/lib/php5/20060613+lfs
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/php .:/usr/share/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
mail_extra_headers On On
max_execution_time 60 60
max_input_nesting_level 64 64
max_input_time 90 90
memory_limit 64M 64M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
suhosin.log.phpscript 0 0
suhosin.log.phpscript.is_safe Off Off
suhosin.log.phpscript.name no value no value
suhosin.log.sapi no value no value
suhosin.log.script no value no value
suhosin.log.script.name no value no value
suhosin.log.syslog no value no value
suhosin.log.syslog.facility no value no value
suhosin.log.syslog.priority no value no value
suhosin.log.use-x-forwarded-for Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 8M 8M
upload_tmp_dir /var/www/web560/phptmp/ /var/www/web560/phptmp/
user_dir no value no value
variables_order GPCSE GPCSE
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off


bcmath
BCMath support  enabled 


bz2
BZip2 Support  Enabled 
Stream Wrapper support  compress.bz2:// 
Stream Filter support  bzip2.decompress, bzip2.compress 
BZip2 Version  1.0.3, 15-Feb-2005 


calendar
Calendar support  enabled 


cgi-fcgi
Directive Local Value Master Value
cgi.check_shebang_line 1 1
cgi.fix_pathinfo 1 1
cgi.nph 0 0
cgi.rfc2616_headers 0 0
fastcgi.logging 1 1


ctype
ctype functions  enabled 


curl
cURL support  enabled 
cURL Information  libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5 


date
date/time support  enabled 
"Olson" Timezone Database Version  2008.2 
Timezone Database  internal 
Default timezone  Europe/Berlin 

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value


dba
DBA support  enabled 
Supported handlers  cdb cdb_make db4 inifile flatfile 


dom
DOM/XML  enabled 
DOM/XML API Version  20031129 
libxml Version  2.6.27 
HTML Support  enabled 
XPath Support  enabled 
XPointer Support  enabled 
Schema Support  enabled 
RelaxNG Support  enabled 


exif
EXIF Support  enabled 
EXIF Version  1.4 $Id: exif.c,v 1.173.2.5.2.25 2008/03/12 17:33:14 iliaa Exp $ 
Supported EXIF Version  0220 
Supported filetypes  JPEG,TIFF 


filter
Input Validation and Filtering  enabled 
Revision  $Revision: 1.52.2.42 $ 

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value


ftp
FTP support  enabled 


gd
GD Support  enabled 
GD Version  bundled (2.0.34 compatible) 
FreeType Support  enabled 
FreeType Linkage  with freetype 
FreeType Version  2.2.1 
T1Lib Support  enabled 
GIF Read Support  enabled 
GIF Create Support  enabled 
JPG Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XPM Support  enabled 
XBM Support  enabled 


gettext
GetText Support  enabled 


hash
hash support  enabled 
Hashing Engines  md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 


iconv
iconv support  enabled 
iconv implementation  glibc 
iconv library version  2.3.6 

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1


imap
IMAP c-Client Version  2001 
SSL Support  enabled 
Kerberos Support  enabled 


json
json support  enabled 
json version  1.2.1 


libxml
libXML support  active 
libXML Version  2.6.27 
libXML streams  enabled 


mbstring
Multibyte Support  enabled 
Multibyte string engine  libmbfl 
Multibyte (japanese) regex support  enabled 
Multibyte regex (oniguruma) version  4.4.4 
Multibyte regex (oniguruma) backtrack check  On 

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


mcrypt
mcrypt support enabled
Version  2.5.7 
Api No  20021217 
Supported ciphers  cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes 
Supported modes  cbc cfb ctr ecb ncfb nofb ofb stream 

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value


mhash
MHASH support  Enabled 
MHASH API Version  20060101 


mime_magic
mime_magic support invalid magic file, disabled

Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /usr/share/file/magic.mime /usr/share/file/magic.mime


mysql
MySQL Support enabled
Active Persistent Links  0 
Active Links  0 
Client API version  5.0.67 
MYSQL_MODULE_TYPE  external 
MYSQL_SOCKET  /var/run/mysqld/mysqld.sock 
MYSQL_INCLUDE  -I/usr/include/mysql 
MYSQL_LIBS  -L/usr/lib -lmysqlclient 

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off


mysqli
MysqlI Support enabled
Client API library version  5.0.67 
Client API header version  5.0.51a 
MYSQLI_SOCKET  /var/run/mysqld/mysqld.sock 

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off


odbc
ODBC Support enabled
Active Persistent Links  0 
Active Links  0 
ODBC library  unixODBC 
ODBC_INCLUDE  -I/usr/include 
ODBC_LFLAGS  -L/usr/lib 
ODBC_LIBS  -lodbc 

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited


openssl
OpenSSL support  enabled 
OpenSSL Version  OpenSSL 0.9.8c 05 Sep 2006 


pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled 
PCRE Library Version  7.6 2008-01-28 

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000


PDO
PDO support enabled
PDO drivers  mysql, odbc 


pdo_mysql
PDO Driver for MySQL, client library version 5.0.67


PDO_ODBC
PDO Driver for ODBC (unixODBC) enabled
ODBC Connection Pooling  Enabled, strict matching 


posix
Revision  $Revision: 1.70.2.3.2.18 $ 


Reflection
Reflection enabled
Version  $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $ 


session
Session Support  enabled 
Registered save handlers  files user 
Registered serializer handlers  php php_binary wddx 

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 0 0
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php5 /var/lib/php5
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0


shmop
shmop support  enabled 


SimpleXML
Simplexml support enabled
Revision  $Revision: 1.151.2.22.2.39 $ 
Schema support  enabled 


soap
Soap Client  enabled 
Soap Server  enabled 

Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400


sockets
Sockets Support  enabled 


SPL
SPL support enabled
Interfaces  Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject 
Classes  AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException 


standard
Regex Library  Bundled library enabled 
Dynamic Library Support  enabled 
Path to sendmail  /usr/sbin/sendmail -t -i 

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value


sysvmsg
sysvmsg support  enabled 
Revision  $Revision: 1.20.2.3.2.7 $ 


tokenizer
Tokenizer Support  enabled 


wddx
WDDX Support enabled
WDDX Session Serializer  enabled 


xml
XML Support  active 
XML Namespace Support  active 
libxml2 Version  2.6.27 


xmlreader
XMLReader  enabled 


xmlwriter
XMLWriter  enabled 


Zend Optimizer
Optimization Pass 1  enabled 
Optimization Pass 2  enabled 
Optimization Pass 3  enabled 
Optimization Pass 4  enabled 
Optimization Pass 9  enabled 
Zend Loader  enabled 
License Path  no value 
Obfuscation level  3 


zip
Zip  enabled 
Extension Version  $Id: php_zip.c,v 1.1.2.43 2008/01/18 00:51:38 pajoye Exp $ 
Zip version  1.8.11 
Libzip version  0.8.0-compatible 


zlib
ZLib Support  enabled 
Stream Wrapper support  compress.zlib:// 
Stream Filter support  zlib.inflate, zlib.deflate 
Compiled Version  1.2.3 
Linked Version  1.2.3 

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value


Additional Modules
Module Name
dbase
ionCube Loader
sysvsem
sysvshm

Hat jemand hilfreiche Ideen?
Werden noch weitere Daten benötigt?
Wo liegt das Problem (PHP, Apache, MySQL, DRUPAL)?
Meine Vermutung geht derzeit in Richtung limitierter MySQL-Anfragen-Anzahl ....

‹ Funktionen ausgeben MAMP MySql problem ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Also ich persönlich

Eingetragen von Cyberschorsch (782)
am 24.01.2009 - 13:43 Uhr

Also ich persönlich bevorzuge 128M beim Speicherlimit. Imageapi warnt dich auch wie du lesen kannst. Aber ich glaube nicht, dass es das Problem ist. Ich vermute wie du auch, dass da irgendwas mit den MySQL Anfragen schiefläuft.

Am besten du machst es wie üblich: Deaktivere ein Modul nach dem anderen und schau wo es dann aufhört. Dann aktivierst du wieder die Module bis es wieder anfängt und schon weißt wo der Übeltäter sitzt ;)

mfg mofa

  • Anmelden oder Registrieren um Kommentare zu schreiben

Views Modul

Eingetragen von klausi (76)
am 24.01.2009 - 19:16 Uhr

Das habe ich schon grob getan und bin der Meinung, es hängt am Views-Modul!
Nur ohne dem ist Drupal nur halb so schön (-;

Aktiviere ich das Modul (Basis+UI), dann werden zwar die MySQL-Tabellen (4 Stück) kreiiert, aber im Adminbereich nichts angezeigt und die Seite ist admin/build/module gibt o.g. Fehlermeldung zurück!

Da ja sonst kaum etwas an Modulen aktiviert ist, nodes fast vollständig fehlen und die Seite noch offline ist, wird es schwierig für mich (Laien), etwas zur Problemlösung beizutragen )-:

Die erstellten Inhaltstypen beherbergen einige Felder (fields), aber daran kann es m.E. nicht liegen ...

  • Anmelden oder Registrieren um Kommentare zu schreiben

Erhöhung memory limit - kein Erfolg

Eingetragen von klausi (76)
am 26.01.2009 - 13:18 Uhr

Die Erhöhung des memory_limits von 64 MB auf 128 MB brachte auch keinen Erfolg!

Hier noch ein Auszug aus meiner .htaccess im root-Verzeichnis:

#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
# <FilesMatch "\.(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
#  Order allow,deny
# </FilesMatch>

# Don't show directory listings for URLs which map to a directory.
# Options -Indexes

# Follow symbolic links in this directory.
# Options +FollowSymLinks

# Make Drupal handle any 404 errors.
#ErrorDocument 404 /index.php

# Force simple error message for requests for non-existent favicon.ico.
#<Files favicon.ico>
  # There is no end quote below, for compatibility with Apache 1.3.
#  ErrorDocument 404 "The requested file favicon.ico was not found.
#</Files>

# Set the default handler.
#DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

# PHP 4, Apache 1.
#<IfModule mod_php4.c>
#  php_value magic_quotes_gpc                0
#  php_value register_globals                0
#  php_value session.auto_start              0
#  php_value mbstring.http_input             pass
#  php_value mbstring.http_output            pass
#  php_value mbstring.encoding_translation   0
#</IfModule>

# PHP 4, Apache 2.
#<IfModule sapi_apache2.c>
#  php_value magic_quotes_gpc                0
#  php_value register_globals                0
#  php_value session.auto_start              0
#  php_value mbstring.http_input             pass
#  php_value mbstring.http_output            pass
#  php_value mbstring.encoding_translation   0
#</IfModule>

# PHP 5, Apache 1 and 2.
#<IfModule mod_php5.c>
#  php_value magic_quotes_gpc                0
#  php_value register_globals                0
#  php_value session.auto_start              0
#  php_value mbstring.http_input             pass
#  php_value mbstring.http_output            pass
#  php_value mbstring.encoding_translation   0
#</IfModule>

# Requires mod_expires to be enabled.
# <IfModule mod_expires.c>
  # Enable expirations.
#  ExpiresActive On

  # Cache all files for 2 weeks after access (A).
#  ExpiresDefault A1209600

  # Do not cache dynamically generated pages.
#  ExpiresByType text/html A1
# </IfModule>

# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on

  # If your site can be accessed both with and without the 'www.' prefix, you
  # can use one of the following settings to redirect users to your preferred
  # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
  #
  # To redirect all users to access the site WITH the 'www.' prefix,
  # (http://example.com/... will be redirected to http://www.example.com/...)
  # adapt and uncomment the following:
  # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  # RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
  #
  # To redirect all users to access the site WITHOUT the 'www.' prefix,
  # (http://www.example.com/... will be redirected to http://example.com/...)
  # uncomment and adapt the following:
  # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
  # RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  # RewriteBase /drupal
  #
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  # RewriteBase /

  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

# $Id: .htaccess,v 1.90.2.3 2008/12/10 20:04:08 goba Exp $

Vielleicht hilft dies Problemlösung weiter?!

  • Anmelden oder Registrieren um Kommentare zu schreiben

Erläuterung zur Fehlermeldung

Eingetragen von klausi (76)
am 27.01.2009 - 17:33 Uhr

Zwei Grundlegende Fragen zur Klärung meines Problems:

a)nach Forensuche stellt sich mir wiederholt die Frage nach einem Unterschied zwischen "out of memory...." und "allowed of memory..."

b)Was bedeuten die Zahlen im Detail?
Fatal error: Out of memory (allocated 24117248) (tried to allocate 1250701 bytes) in /var/www/web560/html/includes/database.mysqli.inc on line 303

Ich habe derzeit 128MB seitens des Provider zugewiesen bekommen und zusätzlich in der settings.php die Angabe ini_set memory_limit ('128M') etc. eingetragen --> also warum erzählt mir die Fehlermeldung etwas von 24MB?

  • Anmelden oder Registrieren um Kommentare zu schreiben

Wertveränderung bei memory allocated

Eingetragen von klausi (76)
am 02.02.2009 - 11:51 Uhr

Status Quo:
Ich habe verschiedene Browser benutzt, Themes getestet, Module deaktiviert (teilweise auch deinstalliert sofern dev-, alpha- oder im beta-Status) und die deutsche Sprache deaktiviert - die Fehlermeldung auf admin/build/modules bleibt trotzdem erhalten
-->Fatal error: Out of memory (allocated 23855104) (tried to allocate 61 bytes) in [...]/includes/database.mysqli.inc on line 161

Kurios ist nur, weshalb verringert sich der erste Wert?
Ich habe doch das CMS "verschlankt"!

Hat jemand einen Rat?
Probleme derart wurden im Forum schon häufiger diskutiert, aber die skizzierten Lösung haben bei mir nicht zum Erfolg geführt!

Würde eine komplette Neuinstallation helfen?
Gibt es memory-Beschränkungen im Drupalcode?

Vielen Dank im Voraus für Eure Hilfe!

  • Anmelden oder Registrieren um Kommentare zu schreiben

Wenn schon ne

Eingetragen von Thoor (3678)
am 02.02.2009 - 12:41 Uhr

Wenn schon ne Neuinstallation, warum dann nicht gleich bei einem Provider, wo es laut Forum hier auch klappt mit Drupal 6 und seinen Modulen?

  • Anmelden oder Registrieren um Kommentare zu schreiben

Providerwechsel

Eingetragen von klausi (76)
am 02.02.2009 - 12:57 Uhr

Hallo,

das wäre aber erst Plan C!

Ich hoffe, ich bin zu diesem Schritt nicht gezwungen ...

  • Anmelden oder Registrieren um Kommentare zu schreiben

na ja ... war nur so ein

Eingetragen von Thoor (3678)
am 02.02.2009 - 13:01 Uhr

na ja ... war nur so ein Tipp :-) Musst schliesslich du wissen, ob Du dir das antun willst? An den Modulen liegts sicherlich nicht, denn die werden ja auch von einigen tausend anderen problemlos genutzt! Und wenn Du bei der Installation oder beim Updaten keine Fehler gebaut hast, dann liegts wohl am Provider ...

Bevor ich wie Du tagelang an ner Installation herumdoktore, da geh ich doch gleich wohin, wo es bei anderen "Drupalisten" auf Anhieb klappt. So ein KK ist normalerweise ratz fatz durch und Zugangsdaten gibts bei nem guten Provider eh sofort ...

  • Anmelden oder Registrieren um Kommentare zu schreiben

[gelöst] out of memory

Eingetragen von klausi (76)
am 10.02.2009 - 15:05 Uhr

Teil I:
die übrigen scheinen folgende werte für drupal nicht unerheblich:

max_execution_time --> 120
max_input_time --> 120
post_max_size --> 32M
upload_max_filesize --> 8M

für das memory_limit sollten 64 MB locker reichen (selbst wenn, die ImageAPI GD das Memory Limit auf 96 MB fordert)!

Teil II:
man sollte darauf achten, dass am Server keine generelle Speicherbeschränkung für PHP vorliegt, welche dann unabhängig von der php.ini-Einstellung greift!
Dies war u.a. bei mir der Fall. Ein Test mit Hilfe einer Datei auf dem zur Verfügung gestellten Speicherplatz (html-Ordner meist) mit folgendem Inhalt sollte Klarheit verschaffen:

<?php

phpinfo
();

?>

MfG

Klaus

  • Anmelden oder Registrieren um Kommentare zu schreiben

Fatal error: Out of memory (allocated 60817408) (tried to alloca

Eingetragen von George Orwell (89)
am 10.12.2009 - 10:36 Uhr

Ich möchte mich dem Problem anschließen:

bei mir hängt es bei der Installation, vermutlich von Modulen von CiviCRM oder OG bzw. deren benötigten Module.
Zumindest ist der Fehler hier erstmalig aufgetreten.

Gemäß den Beiträgen hier im Forum und auch hier im post habe ich in der settings.php folgende Einträge ausgelesen bzw. geändert
max_execution_time: 500 (vorhanden)
Max_input_time:500 (vorhanden)
post_max_size:32M (vorhanden)
upload_max_filesize: 20M (von 8 erhöht)
memory_limit = 128M ; Maximum amount of memory a script may consume (32MB)

einer meiner Vorredner erwähnte, dass die Einstellungen auch in der .htaccess & der settings.php eingetragen werden müssen. Ich habe mich dabei an die Anleitung unter http://drupal.org/node/207036 halten wollen. Dort ist zu lesen:

Zitat:

.htaccess

Edit the .htaccess file in the Drupal root directory. Look for the section:

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

and immediately after this add the following line:

php_value memory_limit 32M

Zitat:

settings.php

If Drupal is already installed, you can edit sites/default/settings.php. This method will affect only the site using this file.

Locate the PHP settings section and add the following line at the end of that section:

ini_set('memory_limit', '32M');

Die Zeilen habe ich hinzugefügt & die Dateien wieder hochgeladen.

Zitat:

Ein Test mit Hilfe einer Datei auf dem zur Verfügung gestellten Speicherplatz (html-Ordner meist) mit folgendem Inhalt sollte Klarheit verschaffen:

Dem Rat bin ich gefolgt und habe eine info.php mit dem o.a. Inhalt erstellt und in mein /html Order geladen.
Als Neuling war ich dankbar für das script, aber was fange ich jetzt damit an. Ändern tut sich in der Datei auf jeden Fall nichts.

Bei einem Refresh der Error-Seite bekoam ich eine weisse Seite.

Alsich daraufhin meine Domain aufrufen wollte, bekam ich folgende Fehlermeldung:

Zitat:

Fatal error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /var/www/ph15s941/html/modules/panels/includes/display-edit.inc on line 1575

In der Hoffnung mehr als 32M lösen das Problem, habe ich die Zahl in allen drei Dateien auf 40M erhöht:

Erst bekam ich folgende Fehlermeldung:

Zitat:

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 72159 bytes) in /var/www/ph15s941/html/includes/menu.inc on line 965

bei einem Refresh war alles wie weggeblasne:-(

Zur Kontrolle habe ich nun zwei Module (Message debug & Node import) installieren wollen:

Zitat:

Fatal error: Out of memory (allocated 61341696) (tried to allocate 22238 bytes) in /var/www/ph15s941/html/includes/database.mysql-common.inc on line 41

Schade das keine Erziehungsmaßnahmen helfen :-(
Ich verzweifel.. DENN JETZT KOMME ICH GAR NICHT MEHR AUF DIE SEITE: ich will doch nur ein funktionierendes System :-(

Worauf tippt ihr? "ph15s941"ist der Nutzername der DB. ist die denn voll? geht sowas?
Gruß

  • 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 2 Tagen
  • Update: jetzt gibt's ein
    vor 2 Wochen 2 Tagen
  • Hallo, im Prinzip habe ich
    vor 3 Wochen 7 Stunden
  • Da scheint die Terminologie
    vor 3 Wochen 10 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 2 Tagen

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 18 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