Serveur indisponible

Le serveur a été indisponible ce matin de 11h à 11h30. La cause semble être un paramétrage de PHP utilisant trop de mémoire. La mémoire + swap étant à 100 %.

Un reboot a été effectué pour enrayer le problème. Ci-dessous un extrait des logs :

Feb 23 10:57:48 golgoth kernel: php5-cgi invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
Feb 23 11:05:05 golgoth kernel: Pid: 21091, comm: php5-cgi Tainted: G   M    2.6.24.5-grsec-xxxx-grs-ipv4-64 #3
Feb 23 11:05:05 golgoth kernel:
Feb 23 11:05:05 golgoth kernel: Call Trace:
Feb 23 11:05:05 golgoth kernel:  [<ffffffff80251b79>] oom_kill_process+0x149/0x160
Feb 23 11:05:05 golgoth kernel:  [<ffffffff80251e3b>] out_of_memory+0x1ab/0x230
Feb 23 11:05:05 golgoth kernel:  [<ffffffff8025418f>] __alloc_pages+0x2df/0x390
Feb 23 11:05:05 golgoth kernel:  [<ffffffff802562b2>] __do_page_cache_readahead+0xe2/0x220
Feb 23 11:05:05 golgoth kernel:  [<ffffffff8024f31e>] filemap_fault+0x29e/0x3f0
Feb 23 11:05:05 golgoth kernel:  [<ffffffff8025f10f>] __do_fault+0x7f/0x450
Feb 23 11:05:05 golgoth kernel:  [<ffffffff8025f7a6>] handle_mm_fault+0x1a6/0x7c0
Feb 23 11:05:05 golgoth kernel:  [<ffffffff802131c9>] do_page_fault+0x159/0x820
(…)Feb 23 11:05:06 golgoth kernel: Swap cache: add 4536112, delete 4536109, find 41511650/41849140, race 6+50
Feb 23 11:05:06 golgoth kernel: Free swap  = 0kB
Feb 23 11:05:06 golgoth kernel: Total swap = 1020116kB
Feb 23 11:05:06 golgoth kernel: Free swap:            0kB
Feb 23 11:05:06 golgoth kernel: 257968 pages of RAM
Feb 23 11:05:06 golgoth kernel: 5998 reserved pages
Feb 23 11:05:06 golgoth kernel: 117949 pages shared
Feb 23 11:05:06 golgoth kernel: 3 pages swap cached
Feb 23 11:05:06 golgoth kernel: Out of memory: kill process 17945 (apache2) score 562388 or a child
Feb 23 11:05:06 golgoth kernel: Killed process 20156 (php5-cgi)

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *