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.
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to