Symfony2 bootstrap.php.cache versucht, eine nicht vorhandene Datei einzuschließen
wir haben eine Symfony 2.6.8-Anwendung, wir bekommen zufällig dieses seltsame Fehlerprotokoll:
[Do 11. Juni 12:29:14 2015] [Fehler] [Client 1.1.1.1] Schwerwiegender PHP-Fehler: require (): Fehler beim Öffnen 'aab' (include_path = '.: / Usr / share / php: / usr / share / pear ') in /data/apps/front/1.1.1/app/bootstrap.php.cache in Zeile 2752
Die Linie 2752 vonbootstrap.php.cache
ist:
if ($file = $this->findFile($class)) {
require $file; // line 2752
return true;
}
DasfindFile()
Methode ist:
public function findFile($class)
{
if (false === $file = apc_fetch($this->prefix.$class))
{
apc_store($this->prefix.$class, $file = $this->decorated->findFile($class));
}
}
Weitere Konfigurationsinformationen, die wir verwenden:
Symfony 2.6.8PHP 5.4.41APC 3.1.13 Ich verstehe nicht, was das istaab
Datei, die angefordert wird. Wir verwenden einen APC-Autoloader, daher vermute ich, dass APC Einträge beschädigt hat, da die Anwendung beim Neustart von Apache2 wie vorgesehen funktioniert. Ich kann nicht debuggen, wenn sich die Anwendung in diesem Status befindet, da wir @ verwendeapc.stat = 0
so werden die PHP-Dateien nicht bei jeder Anfrage neu geladen. Das Ändern des Bootstraps funktioniert nicht.
Vielleicht werden unsere APC-Einstellungen nicht angepasst:
apc.cache_by_default => On => On
apc.canonicalize => On => On
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.file_md5 => Off => Off
apc.file_update_protection => 2 => 2
apc.filters => no value => no value
apc.gc_ttl => 3600 => 3600
apc.include_once_override => Off => Off
apc.lazy_classes => Off => Off
apc.lazy_functions => Off => Off
apc.max_file_size => 1M => 1M
apc.mmap_file_mask => no value => no value
apc.num_files_hint => 1000 => 1000
apc.preload_path => no value => no value
apc.report_autofilter => Off => Off
apc.rfc1867 => Off => Off
apc.rfc1867_freq => 0 => 0
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_prefix => upload_ => upload_
apc.rfc1867_ttl => 3600 => 3600
apc.serializer => default => default
apc.shm_segments => 1 => 1
apc.shm_size => 128M => 128M
apc.shm_strings_buffer => 4M => 4M
apc.slam_defense => On => On
apc.stat => Off => Off
apc.stat_ctime => Off => Off
apc.ttl => 0 => 0
apc.use_request_time => On => On
apc.user_entries_hint => 4096 => 4096
apc.user_ttl => 0 => 0
apc.write_lock => On => On
Jeder Hinweis wäre willkommen!