You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ja...@area319.de on 2003/01/21 11:53:25 UTC

[users@httpd] apache 2.0.44 / perchild mpm and curious locks

I've posted it already before:
After a few request apache locks (but only for the vritualhost, not all).
What do you think?

simon

The debug output:
[Tue Jan 21 11:56:26 2003] [info] mod_unique_id: using ip addr 10.17.11.23
[Tue Jan 21 11:56:27 2003] [notice] Digest: generating secret for digest
authentication ...
[Tue Jan 21 11:56:27 2003] [notice] Digest: done
[Tue Jan 21 11:56:27 2003] [info] mod_unique_id: using ip addr 10.17.11.23
[Tue Jan 21 11:56:28 2003] [notice] Apache/2.0.44 (Unix) PHP/4.3.0
configured -- resuming normal operations
[Tue Jan 21 11:56:28 2003] [info] Server built: Jan 21 2003 09:46:20
[Tue Jan 21 11:56:28 2003] [debug] perchild.c(1422): AcceptMutex: flock
(default: sysvsem)
[Tue Jan 21 11:56:57 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 0, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:56:57 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 0, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:56:57 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 0, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:57:21 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 2, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:57:21 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 2, SD: 8, sd from table: 8, hostname
from server: foo.test.x

...
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 1, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [info] (32)Broken pipe: core_output_filter:
writing data to the network
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 3, SD: 8, sd from table: 10, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1799): Passing request.
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1655): passing request to
another child.  Vhost: foo.test.x, child 3 9
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1707): Writing message to 9,
passing sd:  26
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1717): Writing message
succeeded 46
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 4, SD: 8, sd from table: 10, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1799): Passing request.
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1655): passing request to
another child.  Vhost: foo.test.x, child 4 9
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1707): Writing message to 9,
passing sd:  26
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1717): Writing message
succeeded 46

...
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1799): Passing request.
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1655): passing request to
another child.  Vhost: foo.test.x, child 8 9
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1707): Writing message to 9,
passing sd:  26
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1717): Writing message
succeeded 46
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 0, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [info] (32)Broken pipe: core_output_filter:
writing data to the network
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 2, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [info] (32)Broken pipe: core_output_filter:
writing data to the network
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 1, SD: 8, sd from table: 8, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [info] (32)Broken pipe: core_output_filter:
writing data to the network
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 9, SD: 8, sd from table: 20, hostname
from server: foo.test.x
[Tue Jan 21 11:57:22 2003] [debug] perchild.c(1799): Passing request.

...

[Tue Jan 21 11:57:39 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 4, SD: 8, sd from table: 10, hostname
from server: foo.test.x
[Tue Jan 21 11:57:39 2003] [debug] perchild.c(1799): Passing request.
[Tue Jan 21 11:57:39 2003] [debug] perchild.c(1655): passing request to
another child.  Vhost: foo.test.x, child 4 9
[Tue Jan 21 11:57:39 2003] [debug] perchild.c(1707): Writing message to 9,
passing sd:  31
[Tue Jan 21 11:57:39 2003] [debug] perchild.c(1717): Writing message
succeeded 46
[Tue Jan 21 11:58:23 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 4, SD: 10, sd from table: 10,
hostname from server: bar.test.x
[Tue Jan 21 11:58:23 2003] [debug] perchild.c(1790): Determining if
request should be passed. Child Num: 4, SD: 10, sd from table: 10,
hostname from server: bar.test.x
[Tue Jan 21 12:01:30 2003] [emerg] (9)Bad file descriptor:
apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
[Tue Jan 21 12:01:30 2003] [emerg] (9)Bad file descriptor:
apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
[Tue Jan 21 12:01:30 2003] [emerg] (9)Bad file descriptor:
apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
[Tue Jan 21 12:01:30 2003] [info] removed PID file
/pool/system/apache2/logs/httpd.pid (pid=22125)
[Tue Jan 21 12:01:30 2003] [notice] caught SIGTERM, shutting down




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache 2.0.44 / perchild mpm and curious locks

Posted by ja...@area319.de.
I forgot, it does NOT matters if it's a php file.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache 2.0.44 / perchild mpm and curious locks

Posted by ja...@area319.de.
Here's like a pstree looks:
root@breed # pstree -c -l -n -u 22814
httpd-+-httpd(nobody)
      |-httpd(foo)---httpd-+-httpd
      |                    |-httpd
      |                    |-httpd
      |                    |-httpd
      |                    `-httpd
      |-httpd(foo)---httpd-+-httpd
      |                    |-httpd
      |                    |-httpd
      |                    |-httpd
      |                    |-httpd
      |                    `-httpd
      |-httpd(nobody)---httpd-+-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       `-httpd
      |-httpd(nobody)---httpd-+-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       `-httpd
      |-httpd(nobody)---httpd-+-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       `-httpd
      |-httpd(nobody)---httpd-+-httpd
      |                       |-httpd
      |                       |-httpd
      |                       |-httpd
      |                       `-httpd
      |-httpd(foo)---httpd-+-httpd
      |                    |-httpd
      |                    |-httpd
      |                    |-httpd
      |                    `-httpd
      |-httpd(bar)---httpd-+-httpd
      |                    |-httpd
      |                    |-httpd
      |                    |-httpd
      |                    `-httpd
      |-httpd(bar)---httpd-+-httpd
      |                    |-httpd
      |                    |-httpd
      |                    |-httpd
      |                    `-httpd
      `-httpd(bar)---httpd-+-httpd
                           |-httpd
                           |-httpd
                           |-httpd
                           `-httpd




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache 2.0.44 / perchild mpm and curious locks

Posted by Chris Meadors <cl...@hereintown.net>.
janus@area319.de wrote:
> I've posted it already before:
> After a few request apache locks (but only for the vritualhost, not all).
> What do you think?

That's exactly what I had been seeing with 2.0.43.  I was so excited to 
see that 2.0.44 had been released, I came into work early and was going 
to test it out.  But checking my mail I fear my problem won't be fixed. 
  But I'll still try it out.

Oh, about the virtual host, I think you'll find if you continue testing 
that on other times different virtual hosts will hang, and even the non 
virtual host will hang at times.

-- 
Chris


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org