This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Figured they were threads, I however did not know how they came to be. Ok, thanks!
-----Original Message----- From: Rico -mc- Gloeckner [mailto:[EMAIL PROTECTED]] Sent: den 4 juli 2002 13:55 To: [EMAIL PROTECTED] Subject: Re: [hlds_linux] Why multiple hlds PIDs? I only run one server! On Thu, Jul 04, 2002 at 01:29:24PM +0200, Fredrik Guldbrandz�n wrote: > Well yes. They are Threads, please see my Explanation from the old Honksbot Forum: Q: I dont understand why my hlds server spawns up to five processes each one take more than 50mb of memory A: Youre wrong. They are no Processes, they are Threads. The fifty MB each of those Processes is showing up in 'top' is shared - thus, they are only consumed ONCE, but showed up on every Process. You can calculate it through. Mine for example show 5*150MB (what a hog!). These are 750 MB. The System has 1 GB of RAM and 500 MB of Swap. There is almost 1Gig RAM and 30 MB Swap used. For the Easyness say its 1GB used. Now there are 655MB cached (thats the harddisk Caches in RAM). 1Gig - 655 MB makes 345 MB. So to get the hlds Process for 750 MB the other Processes would need to take -405 MB? As you know, no Process can take up negative Memory (Oh, RAM would be soooo cheap) BTW, thats the very same Behaviour you see with Other multithreaded Deamons, for example Apache. Likewise, the Behaviour your Machine shows is very normal. Its the Bot spawning 4 Threads, so it can enqueue Date in one Thread whilst queueing it to IRC via another. I cant exactly remember the other two Threads, i had to dig through the source again. However, this Threading is necessary. Your Bot would flood himself off of IRC if that Queueing via Threads wouldnt be done. hth, -uKeeR -- | Rico -mc- Gloeckner | mv ~/.signature ~/.mail-headers _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

