From: Anton Gorlov <stalker@altlinux.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] падения апача под нагрузкой Date: Wed, 23 Dec 2009 19:41:41 +0300 Message-ID: <4B324845.9060302@altlinux.ru> (raw) С недавнего времени стал падать апач. В лог ругается [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) В настройках сервера <IfModule mpm_prefork_module> StartServers 40 MinSpareServers 10 MaxSpareServers 1800 ServerLimit 2000 MaxClients 1700 MaxRequestsPerChild 80 </IfModule> 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
next reply other threads:[~2009-12-23 16:41 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-23 16:41 Anton Gorlov [this message] 2009-12-23 17:20 ` Michael Shigorin 2009-12-23 18:15 ` Anton Gorlov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4B324845.9060302@altlinux.ru \ --to=stalker@altlinux.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git