Hi!

This has been brought up on the list before, but I couldn't find a
conclusive analysis or a solution. I have:

apache 2.0.50 (Debian version 2.0.50-11)
mod_mono 1.0.1 (Debian version 1.0.1-1)
xsp 1.0.1 (Debian version mono-apache-server 1.0.1-1)
asp.net-examples 1.0.1 (Debian version 1.0.1-1)

Everything should be configured correctly, but when accessing the
asp.net examples through http://localhost/samples/, nothing happens in
the browser. A ps listing shows that apache2 is running, and has spawned
two mono processes:

root     30546     1  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30547 30546  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30548 30546  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30549 30546  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30550 30546  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30551 30546  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30555 30546  0 19:54 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 30557 30556  0 19:54 ?        00:00:00 /usr/bin/mono --debug 
/usr/share/dotnet/bin/mod-mono-server.exe --filename /tmp/.mod_mono_server --nonstop 
--appconfigdir /etc/mono-server
www-data 30556 30548  0 19:54 ?        00:00:00 /usr/bin/mono --debug 
/usr/share/dotnet/bin/mod-mono-server.exe --filename /tmp/.mod_mono_server --nonstop 
--appconfigdir /etc/mono-server

(Sorry for the overly long lines.)

Then, strace -p 30556 will spit out repeated iterations of the
following:

gettimeofday({1093796750, 921468}, NULL) = 0
futex(0x40e15944, FUTEX_WAKE, 1)        = 0
clock_gettime(0, {1093796750, 922805000}) = 0
futex(0x40e1596c, FUTEX_WAIT, 399, {0, 98195000}) = -1 ETIMEDOUT (Connection timed out)

strace -p 30557 shows the following:
Process 30557 attached - interrupt to quit
poll( <unfinished ...>
Process 30557 detached

And it just stops there forever (or at least for as long as I waited
before pressing Ctrl-C). The apache process that appears to be handling
the connection shows the following by strace -p 30555:

Process 30555 attached - interrupt to quit
semop(110657662, 0x402fa7ac, 1 <unfinished ...>
Process 30555 detached

Again, nothing until Ctrl-C is pressed.

I recall reading something about apache trying to connect to the xsp
backend socket too soon, and that an increased timeout value could be a
remedy for this.

Any ideas?

Cheers,
-- 
Fabian Fagerholm <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to