httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jehøj-Krogager Niels Erik <ni...@wmdata.com>
Subject Problems with inetd ServerType mode after update
Date Tue, 13 Aug 2002 08:02:57 GMT
Hi

My apache server have been running "ServerType inet" for half a year without
problems, but after last update of my RedHat 7.2 I get this error when
trying to access the apache server:
	Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.12124") failed
	Error: MM: mm:core: failed to acquire semaphore (No space left on
device): OS: Identifier removed
Often only the first line is displayed.

Here is some of what I have tried, to figure out what has happened with the
semaphores.
When I start apache with "ServerType standalone" there comes 5 semphores
(shown with ipcs -s) owned by apache and 2 owned by root.

	[root@dumbo xxx]# ipcs -s -pc
	
	------ Semaphore Arrays Creators/Owners --------
	semid      perms      cuid       cgid       uid        gid       
	10518528   600        root       root       apache     root      
	10551297   600        root       root       apache     root      
	10649602   600        root       root       apache     root      
	10682371   600        root       root       apache     root      
	10715140   600        root       root       root       root      
	10747909   600        root       root       root       root      
	10780678   600        root       root       apache     apache    

When I stop the apache server they all dissapere again.

When I start with "ServerType inet" , there will come 4 new semaphores for
every request, and they never disapear
After first request:
	[root@dumbo xxx]# ipcs -s -pc
	
	------ Semaphore Arrays Creators/Owners --------
	semid      perms      cuid       cgid       uid        gid       
	10813440   600        root       root       apache     root      
	10846209   600        root       root       apache     root      
	10878978   600        root       root       apache     root      
	10911747   600        root       root       apache     root      

After second request:
	[root@dumbo xxx]# ipcs -s -pc
	
	------ Semaphore Arrays Creators/Owners --------
	semid      perms      cuid       cgid       uid        gid       
	10813440   600        root       root       apache     root      
	10846209   600        root       root       apache     root      
	10878978   600        root       root       apache     root      
	10911747   600        root       root       apache     root      
	10944516   600        root       root       apache     root      
	10977285   600        root       root       apache     root      
	11010054   600        root       root       apache     root      
	11042823   600        root       root       apache     root      

If I only access the apache server from one IP-address there will come 126
semaphores, and then it seems like there is a reuse. If I then try to browse
to the apache server from a new IP-address ther will be 128 semaphores, and
all request will  start giving the errors.

My configuration is:
	Red Hat Linux release 7.2 (Enigma)
	apache-1.3.22-6
	apache-devel-1.3.22-6

The apache server have been running for half a year without problems, but
last week I update the server and the errors startet. 
The following packets where updatet.
	[root@dumbo xxx]# /usr/sbin/autoupdate 
	Upgrading rpms:
	  cpp-2.96-108.7.2.i386.rpm
	  gcc-2.96-108.7.2.i386.rpm
	  gcc-c++-2.96-108.7.2.i386.rpm
	  gcc-g77-2.96-108.7.2.i386.rpm
	  gdb-5.2-2.i386.rpm
	  glibc-2.2.4-27.i686.rpm
	  glibc-common-2.2.4-27.i386.rpm
	  glibc-devel-2.2.4-27.i386.rpm
	  libstdc++-2.96-108.7.2.i386.rpm
	  libstdc++-devel-2.96-108.7.2.i386.rpm
	  mm-1.1.3-8.i386.rpm
	  mm-devel-1.1.3-8.i386.rpm
	  mod_ssl-2.8.5-6.i386.rpm
	  nscd-2.2.4-27.i386.rpm
	  openssh-3.1p1-6.i386.rpm
	  openssh-clients-3.1p1-6.i386.rpm
	  openssh-server-3.1p1-6.i386.rpm
	  warning: /usr/share/ssl/openssl.cnf created as
/usr/share/ssl/openssl.cnf.rpmnew
	  openssl-0.9.6b-28.i686.rpm
	  openssl-devel-0.9.6b-28.i386.rpm
	  warning: /etc/squid/squid.conf created as
/etc/squid/squid.conf.rpmnew
	  squid-2.4.STABLE6-6.7.3.i386.rpm
	  warning: /etc/rc.d/init.d/snmpd created as
/etc/rc.d/init.d/snmpd.rpmnew
	  ucd-snmp-4.2.5-7.72.0.i386.rpm
	  ucd-snmp-utils-4.2.5-7.72.0.i386.rpm
	  util-linux-2.11f-17.7.2.i386.rpm
	Upgraded total of 23 rpms.

	[root@dumbo xxx]# /usr/sbin/autoupdate --kernel
	Installing kernel rpms:
	  kernel-2.4.9-34.i686.rpm

Before that I was running kernel-2.4.9-21. I don't know the version of the
other packets before I made the update.
I suspect it is the mm-1.1.3-8.i386.rpm, but I dont know much about how it
works?!

Can anybody help me ?!

Thanks,
Niels Erik
______________________________________
Niels Erik Jehøj-Krogager
WM-data
Frichshuset
Hermodsvej 22
8230 Åbyhøj
Tlf.:  8744 4444, direkte: 8744 4465
Fax: 8744 4487
mailto:nikro@wmdata.com
http://www.wmdata.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message