|
From: Fabio A M. <ma...@al...> - 2002-05-15 16:06:41
|
The reality: threads HAS limits, ask to users to recompile libpthreads is unthinkable, surely the have more threaded applications and we can risk a incompatibility bug. But how long does a cchatd thread lives? For those who remembers the code (probably main.c) all threads ends after replying the http request, the keep-alive socket is kept into a list, with no thread directly associated to it. The major problem will happen when we build a interview room for high audiences. But is there any chance to recieve more then 1000 connection requests? Well, I'm sure that the most intelligent thing to do is implement a fork solution (yes, I was wrong, better accepting this now, then after the point of no return). So we need a volunteer to implement this. Does anybody feel inspired to do this? If don't I'll do it after I finish the new release of another project of mine (mini-pub v0.2 and mini-door v0.1) Let's have fun. mazza P.S.: mini-pub also need volunteers, any language is accepted, mult-plataform prefered. Pvt me if interested. -------------------- Looking for a better .sig. Suggestions are being accepted. On Wed, 15 May 2002, Marcin Krzyzanowski wrote: !On Wed, May 15, 2002 at 06:38:57AM -0700, Sky High wrote: !> About threads... !> !> Hi, I have told you about that thread limit, haven't !> I? !> If not, sorry. !> But don't worry too much. There is a way to go through !> this 1024 threads limit, but you must recompile !> libpthreads... not so difficult. :-) ! !Yes, but does it a sollution for many people ? maybe for you, me and a few people. I thik that it's not a solution. In my oppinion only solution is to mix threads and fork together. (we have to remember that fork have also limits) ! !-- ! !Marcin Krzyzanowski !www : http://krzak.linux.net.pl !email : kr...@li..., kr...@tu... !IRC : [krzyzak] @#linuxnews @#zdrowo_jebnieci ! !_______________________________________________________________ ! !Have big pipes? SourceForge.net is looking for download mirrors. We supply !the hardware. You get the recognition. Email Us: ban...@so... !_______________________________________________ !Cchatd-devel mailing list !Cch...@li... !https://lists.sourceforge.net/lists/listinfo/cchatd-devel ! |