[Mono-list] mod_mono failing to start correctly, 1.2.6
Kevin Monceaux
Kevin at RawFedDogs.net
Tue Feb 19 13:59:19 EST 2008
Mono Fans,
On Fri, 28 Dec 2007, Ben Clewett wrote:
> This is from my apache error log on start:
>
> ** (/usr/lib/mono/1.0/mod-mono-server.exe:10744): WARNING **:
> _wapi_thread_set_termination_details: error looking up thread handle (nil)
> [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
> [error] Failed to connect to mod-mono-server after several attempts to
> spawn the process.
> [error] Failed to connect to mod-mono-server after several attempts to
> spawn the process.
> [error] Failed (etc)
>
> Do any members know if I can do something to try and avoid this problem?
I've just started experiencing similar errors under FreeBSD:
FreeBSD: 6.3-RELEASE
apache: 2.2.8
mono: 1.2.6_1
mod_mono: 1.2.6
xsp: 1.2.6_2
If I kill/restart apache and mono it works for a while then eventually
fails and displays a "Service Temporarily Unavailable" message when trying
to access the web site in question. In my apache error log I'm seeing:
[Tue Feb 19 09:27:22 2008] [notice] Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8
OpenSSL
/0.9.7e-p1 DAV/2 PHP/5.2.5 with Suhosin-Patch mod_mono/1.2.6 configured --
resum
ing normal operations
Fatal error 'thr_resume_wrapper: thread has returned from _thread_switch'
at lin
e 1128 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 22)
Stacktrace:
at (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost.ProcessReq
uest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,i
nt,string,string[],string[]) <0x00004>
at (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost.ProcessReq
uest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,i
nt,string,string[],string[]) <0xffffffff>
at (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost.ProcessReque
st
(int,string,string,string,string,string,int,string,int,string,string[],string
[]) <0xffffffff>
at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost.
ProcessRequest
(int,string,string,string,string,string,int,string,int,string,str
ing[],string[]) <0xffffffff>
at Mono.WebServer.ModMonoWorker.InnerRun (object) <0x00422>
at Mono.WebServer.ModMonoWorker.Run (object) <0x00017>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
(obje
ct) <0xffffffff>
at (wrapper runtime-invoke)
System.Threading.WaitCallback.runtime_invoke_void_
object (object,intptr,intptr,intptr) <0xffffffff>
[Tue Feb 19 09:50:29 2008] [error] (70014)End of file found: read_data
failed
[Tue Feb 19 09:50:29 2008] [error] Command stream corrupted, last command
was 1
[Tue Feb 19 09:50:39 2008] [error] Failed to connect to mod-mono-server
after se
veral attempts to spawn the process.
[Tue Feb 19 09:50:41 2008] [error] Failed to connect to mod-mono-server
after several attempts to spawn the process.
With the Failed to connect to mod-mono-server messages repeating every
couple of minutes until I restart it. If anyone knows how to resolve this
problem info would be greatly appreciated.
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!
More information about the Mono-list
mailing list