From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Message-ID: <4B324845.9060302@altlinux.ru> Date: Wed, 23 Dec 2009 19:41:41 +0300 From: Anton Gorlov User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: ALT Linux sysadmin discuss Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [Sysadmins] =?utf-8?b?0L/QsNC00LXQvdC40Y8g0LDQv9Cw0YfQsCDQv9C+?= =?utf-8?b?0LQg0L3QsNCz0YDRg9C30LrQvtC5?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2009 16:41:26 -0000 Archived-At: List-Archive: С недавнего времени стал падать апач. В лог ругается [Wed Dec 23 18:29:04 2009] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 111 [Wed Dec 23 18:29:05 2009] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 111 [Wed Dec 23 18:29:05 2009] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 111 [Wed Dec 23 18:29:05 2009] [alert] Child 31272 returned a Fatal error... Apache is exiting! [Wed Dec 23 18:29:05 2009] [emerg] (43)Identifier removed: couldn't grab the accept mutex [Wed Dec 23 18:29:05 2009] [emerg] (43)Identifier removed: couldn't grab the accept mutex [Wed Dec 23 18:29:05 2009] [emerg] (43)Identifier removed: couldn't grab the accept mutex getent passwd | grep 111 syslogd:x:105:111::/dev/null:/dev/null apache2:x:111:118:Apache2 WWW server:/var/www/apache2:/dev/null Думал что возможно не хватает numproc - увеличил значение до: apache2 soft nproc 8192 apache2 hard nproc 8192 не помогло. Во что ещё может упираться? В open files ? (1024) В настройках сервера StartServers 40 MinSpareServers 10 MaxSpareServers 1800 ServerLimit 2000 MaxClients 1700 MaxRequestsPerChild 80 su - -s /bin/sh -c "ulimit -a" apache2 core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 56832 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 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 16384 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited