[Mono-list] Problem in Mono WebServices

Gayan Perera gayanper at gmail.com
Tue Oct 11 23:29:26 EDT 2005


i'm runing a webservice in Fedora 3 using mod_mono on apachee. so i did a
little tress tesing on it using the
below code,

private void button1_Click(object sender, System.EventArgs e)
{

for (int i=0; i < 150;i++)
{
System.Threading.Thread t=new System.Threading.Thread(new
System.Threading.ThreadStart(this.Exece));
t.Start();
t.Name="thread " + i.ToString();
System.Console.WriteLine(i);
}
}

private void Exece()
{
RunOnMonoClient.com.uvwsl.www.RunOnMono mRunOnMono= new
RunOnMonoClient.com.uvwsl.www.RunOnMono();

System.Threading.Thread.Sleep(1000);
Console.WriteLine(mRunOnMono.GetEmployees()[1]);
mRunOnMono.Dispose();
}


but after runing the 99 request successfully it give a time out error. and
until i restart the apachee server this will not work again.

can any body tell me wat is the reason for this. and a solution to overcome
this.

thanks
Gayan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051012/5866084a/attachment.html


More information about the Mono-list mailing list