check my last email to oops forum Thank you very much.
Best regards, Edward Millington. BSc, Network+ Systems Administrator Cariaccess Communications Ltd. Palm Plaza Wildey St. Michael Barbados 1-246-430-7435 Fax : 1-246-431-0170 [EMAIL PROTECTED] www.cariaccess.com ----- Original Message ----- From: "Joe Cooper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 9:08 AM Subject: Re: [OOPS] increasing the number of threads on linux > Oh, cool. Good to see the hard limit for Linux removed. > > Try the file descriptor and user ports increases that have been mentioned... > > Edward Millington wrote: > > by default I run 1500 thread for oops. /usr/local/oops/oops -d -W 1500 -c > > /usr/local/oops/oops.cfg& > > > > All I had to do was to use the -w option thanks to Igor. > > > > But as usual, regardless of what -w was set to over 1000, oops only approach > > 1000 threads and stop. > > > > I am running kernel 2.4.18. > > > > ----- Original Message ----- > > From: "Joe Cooper" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, March 08, 2002 7:09 AM > > Subject: Re: [OOPS] increasing the number of threads on linux > > > > > > > >>Edward, are you forgetting that you had to patch your Oops to get to > >>1000 threads under Linux (the default configuration in Oops under Linux > >>used to set a hard limit of 256--there was a time, long long ago, when > >>Linux didn't handle large thread pools very well). It's the same > >>process you used back then. It may be that Oops defaults to a more sane > >>maximum under Linux now, so you didn't have to patch it the last time > >>you compiled--but I know you've patched it in the past, I remember > >>telling you how to do it. ;-) > >> > >>Grep out that 1000 (like you did for 256) and up it to 1500, or whatever > >>you need. You may still see performance problems...that many threads > >>will have a huge overhead on any OS (Linux moreso than some, less than > >>most). > >> > >>Linux kernel 2.4 and above have no reasonable thread limits that you're > >>going to hit. I'm guessing you can spawn a few thousand if you want to > >>(but don't do that--thread overhead would kill you!). > >> > >>BTW-The reason it stops working at around 980, is probably because Oops > >>wants to spawn some number of threads that pushes it over the 1000 > >>limit. Oops doesn't spawn just one when it runs out of free threads, it > >>spawns a bunch of them (because spawning threads is expensive, but once > >>they are running it is relatively cheap). Someone correct me if my > >>guess is incorrect (I haven't looked at the code--but I know Oops > >>pre-spawns a pool of threads on startup). > >> > >>Edward Millington wrote: > >> > >>>HI there > >>> > >>>Does anyone knows how I can increase the number of thread linux can > >>>handle for oops? > >>> > >>>I find that linux could handle up to 950+ thread fairly well. At around > >>>980 threads, oops stops working. > >>> > >> > > >> > >>>Is there a way to solve this? > >>> > >>>With this big problem, I am thing of going back to squid. > >>> > >>> > >>>Thank you very much. > >>> > >>-- > >>Joe Cooper <[EMAIL PROTECTED]> > >>http://www.swelltech.com > >>Web Caching Appliances and Support > -- > Joe Cooper <[EMAIL PROTECTED]> > http://www.swelltech.com > Web Caching Appliances and Support > > ===================================================================== > If you would like to unsubscribe from this list send message to > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body. > Archive is accessible on http://lists.paco.net/oops-eng/ > ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body. Archive is accessible on http://lists.paco.net/oops-eng/
