Консультация № 72713
26.01.2007, 10:17
0.00 руб.
0 1 1
Доброе время суток всем! Помогите кто чем может. На линухе стоял апач, последнее время подвисал, сегодня рухнул, при попытке запустить выдает следующее (см приложение)в чем может быть дело?

Приложение:
[Fri Jan 26 02:34:17 2007] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 0 idle, and 17 total childrenAllowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x3c 0x21Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)[Fri Jan 26 03:36:39 2007] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 0 idle, and 20 total childrenAllowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 18 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)[Fri Jan 26 06:47:54 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 07:32:27 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 07:32:36 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 07:33:00 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 09:23:35 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 09:26:01 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 09:32:17 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors[Fri Jan 26 09:33:54 2007] [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the number of descriptors

Обсуждение

Неизвестный
26.01.2007, 12:05
общий
это ответ
Здравствуйте, Киртянов Денис Ильич!

похоже на вашей системе исчерпались ресурсы. судя по сообщениям закончилась оперативная память и кол-во открытых файловых дескрипторов.

самое простое решение - перезапустите сервер.
если такое будет повторятся часто - то надо выяснять какая программа течет по ресурсам и боротся с этим(например перейти на более свежую версию программы или вообще обновить всю систему в целом).

более сложное решение - попытатся без перезагрузки выяснить какая программа занимает ресурсы и перезапустить ее.

команды которые будут полезны для просмотра ресурсов системы:
top - общая загрузка системы, можно отсортировать по размеру памяти занимаемой программами

cat /proc/meminfo общие сведения о занятой и свободной памяти в системе
Форма ответа