[Mono-devel-list] Mono using Huge amounts of resources?
Colt Majkrzak
majkrzak at gmail.com
Tue Dec 7 11:59:56 EST 2004
After enabling 'nobody' to login, I discovered that mono was returning
the following message/url. http://www.go-mono.com/issues.html
After checking out the error message details, I noticed that the
shared files mono uses weren't able to be created because by default
'nobody' has the user home directory set to / because its not normally
allowed to login. After setting a folder in which it could write to
(/var/www/nobody, since apache uses it) it was able to create the
shared files, and now the program executes normally. Is this a bug in
mono when it can't create the shared files ~/.wapi to kind of freak
out possibly?
All and all, matter is resolved, thanks for the suggestion!
On Tue, 07 Dec 2004 00:28:33 -0500, Gonzalo Paniagua Javier
<gonzalo at ximian.com> wrote:
> On Mon, 2004-12-06 at 22:54 -0600, Colt Majkrzak wrote:
> > Hello everyone, I've recently run into a very strange problem. I have
> > code snip that I ported from php to C# (using mono). This code use to
> > work great, but somewhere through the software upgrades to apache and
> > mono, something is a miss. I can write a php script that system("mono
> > file.exe"); and run it from the linux shell, and it works perfectly.
> > Now if I attempt to access the same file from over apache serving it,
> > use both 3ghz cpus and lag the box completely to nothing for about
> > 60-120seconds. The C# code basically opens a tcp connection, sends a
> > few lines, and reads a response. In the code its designed to time out
> > rather quickly if it doesn't receieve data back in a timely manner.
> > The only difference between me running it from the console, and from
> > apache, is when im running from the console, im running it as root, or
> > another user, but from over apache its being ran as 'nobody'.
> > Other then that im rather confused to what might be causing the
> > problem, but I defently can't have the huge resources its using. Any
> > help/ideas/suggestion are welcome. Please help! Many Thanks!
>
> Try 'su nobody' and then run the program. May be that way you'll get
> some hint on what's happening under the hood.
>
> -Gonzalo
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list