Apache vhosts [message #7129] |
Wed, 04 October 2006 14:03 |
Foblas
Messages: 16 Registered: August 2006 Location: Belarus, Minsk
|
Junior Member |
|
|
На одном из ВПСов при старте апач не побключает все хосты из vhosts.conf, их там очень много.
Может ли являться причиной какие либо параметры в конфиге ВПСа?
Как бы не менялоськоличество запускаемых файлов на ВПС вечно стопориться тут:
open("/etc/httpd/logs/gymnasium1_access_log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 1023
по strace выдает следующее:
open("/etc/httpd/logs/drums_access_log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EMFILE (Too many open files)
gettimeofday({1142088635, 926671}, NULL) = 0
open("/etc/localtime", O_RDONLY) = -1 EMFILE (Too many open files)
write(177, "[Sat Mar 11 14:50:35 2006] [erro"..., 127) = 127
write(2, "Unable to open logs\n", 20) = 20
close(1023) = 0
Как можно пофиксить?
|
|
|
|
Re: Apache vhosts [message #7133 is a reply to message #7129] |
Wed, 04 October 2006 14:31 |
Foblas
Messages: 16 Registered: August 2006 Location: Belarus, Minsk
|
Junior Member |
|
|
Нету
300: kmemsize 2176903 3696777 5242880 5592405 0
lockedpages 0 0 32 32 0
privvmpages 58352 89584 196608 256000 0
shmpages 14 14 8192 8192 0
dummy 0 0 0 0 0
numproc 29 60 512 512 0
physpages 13121 42462 0 2147483647 0
vmguarpages 0 0 131072 2147483647 0
oomguarpages 13121 42462 6144 2147483647 0
numtcpsock 6 33 150 150 0
numflock 4 6 1200 1220 0
numpty 0 3 16 16 0
numsiginfo 0 21 256 256 0
tcpsndbuf 27428 325288 479232 863232 0
tcprcvbuf 0 102488 319488 703488 0
othersockbuf 8912 226760 516096 1284096 22
dgramrcvbuf 0 8372 132096 132096 0
numothersock 8 45 300 300 0
dcachesize 688871 827708 1030000 4410000 0
numfile 1255 1497 4096 4096 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 128 128 0
Такое впечатление что одном процессу нельзя открывать более чем 1023 файла...
[Updated on: Wed, 04 October 2006 14:32] Report message to a moderator
|
|
|
|
|