LINUX.ORG.RU

Вылетел squid! Какого х..?


0

0

В логах только вот это:

May 1 17:37:58 Server squid[2245]: Squid Parent: child process 5724 started
May 1 17:37:59 Server squid[2245]: Squid Parent: child process 5724 exited due to signal 25
May 1 17:38:02 Server squid[2245]: Squid Parent: child process 5727 started
May 1 17:38:04 Server squid[2245]: Squid Parent: child process 5727 exited due to signal 25
May 1 17:38:04 Server squid[2245]: Exiting due to repeated, frequent failures

ОС: ASP11.2
Squid: 2.6 stable 6 (собран из сырцов)

Может у когото было такое? В чём может быть причина?

Ковырял squid.conf перед этим?

sdio ★★★★★
()

http://www.lam-mpi.org/MailArchives/lam/2005/05/10560.php

signal 25 = SIGXFSZ

Google search "SIGXFSZ" I'm feeling lucky = http://www.wlug.org.nz/SIGXFSZ

" This signal is raised when the maximum file size is exceeded, as configured by ulimit(1). The default action of this signal is to terminate the program and dump core. "

Check to see what files your program has written, how large your limits are (`limit' in csh, `ulimit -a' in bash). It could also be a filesize limitation in your filesystem.

anonymous
()
Ответ на: комментарий от sdio

> Ковырял squid.conf перед этим?
нет.

> Точно, было такое при логах размером в 2Гб.
файл access.log достиг 2-ух гиг, значит оно!

Спасибо!

SlavikSS ★★
() автор топика
Ответ на: комментарий от anonymous

[root@Server ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 7935
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
max rt priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 7935
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

(file size стоит unlimited!)

SlavikSS ★★
() автор топика
Ответ на: комментарий от SlavikSS

logrotate решает. Удивительно, что его у тебя нет.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.