[Mono-list] XSP web server (0.6)

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 07 Oct 2003 19:30:01 +0200

El mar, 07-10-2003 a las 19:07, Víctor Jalencas escribió:
> Yes, I did, but wasn't sure if mod_mono 0.5 was new enough for xsp 0.6
> After modifying mod_mono.c to log more info to the apache log (thanks to
> jonatan cortés), I've seen that the apache user (www in FreeBSD) does not
> have enough permissions to read the /tmp/mod_mono_server socket, which I
> launched as root or as myself. If I modify the permissions of the file while
> mod_mono_server is running, I get 'connection refused'.

In the INSTALL file:

	Make sure that both apache and mod-mono-server have write
	permission to that file."

> The user www does not have a login shell so it is not trivial (not
> desirable) to change this and launch mod_mono_server as www, so I've ended
> up modifying the socket location to end up in a directory owned by www's
> group and with the sticky bit so it is readable and writeable by it.

Another alternative is running mod-mono-server as the 'apache' user.

> Currently, after the first request, top shows mono is eating more than 98%
> of the CPU. Any ideas?

If you can reproduce it, please, file a bug report in bugzilla with
information on your system (distro, apache version,...), the version of
mono/class libraries/xsp/mod_mono you're using, configuration files
modified and, well, all the information needed to make it happen here