[Mono-devel-list] Mono using Huge amounts of resources?

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Dec 7 00:28:33 EST 2004

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.


More information about the Mono-devel-list mailing list