ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] падения апача под нагрузкой
@ 2009-12-23 16:41 Anton Gorlov
  2009-12-23 17:20 ` Michael Shigorin
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Gorlov @ 2009-12-23 16:41 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

С недавнего времени стал падать апач. В лог ругается

[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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] падения апача под нагрузкой
  2009-12-23 16:41 [Sysadmins] падения апача под нагрузкой Anton Gorlov
@ 2009-12-23 17:20 ` Michael Shigorin
  2009-12-23 18:15   ` Anton Gorlov
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Shigorin @ 2009-12-23 17:20 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

On Wed, Dec 23, 2009 at 07:41:41PM +0300, Anton Gorlov wrote:
> [Wed Dec 23 18:29:04 2009] [alert] (11)Resource temporarily
> unavailable: setuid: unable to change to uid: 111

Аутентификация локальная?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] падения апача под нагрузкой
  2009-12-23 17:20 ` Michael Shigorin
@ 2009-12-23 18:15   ` Anton Gorlov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Gorlov @ 2009-12-23 18:15 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Michael Shigorin пишет:
> On Wed, Dec 23, 2009 at 07:41:41PM +0300, Anton Gorlov wrote:
>> [Wed Dec 23 18:29:04 2009] [alert] (11)Resource temporarily
>> unavailable: setuid: unable to change to uid: 111
> Аутентификация локальная?
угу.. кроме апача и нгинкса тут нету ничего.. Даже мускл вынесен на 
другую машинку



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-23 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-23 16:41 [Sysadmins] падения апача под нагрузкой Anton Gorlov
2009-12-23 17:20 ` Michael Shigorin
2009-12-23 18:15   ` Anton Gorlov

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