*** reinhard has joined #gnuenterprise good morning all good morning *** johannesV has joined #gnuenterprise good morning hello johannesV hi dimas_ *** kilo has joined #gnuenterprise *** btami has joined #gnuenterprise good morning *** reinhard has quit IRC bbl *** johannesV has quit IRC *** reinhard has joined #gnuenterprise *** jcater_ has joined #gnuenterprise *** jcater has quit IRC *** johannesV has joined #gnuenterprise *** Amorphous has quit IRC *** Amorphous has joined #gnuenterprise *** btami has quit IRC *** ninja has quit IRC *** dino4k has joined #gnuenterprise *** kilo has quit IRC does anybody know whether each thread of a mulit threaded program gets a different process number? *** klasstek has joined #gnuenterprise *** klasstek has quit IRC reinhard: i dont think so *** ninja has joined #gnuenterprise actually it looks to me like it would hmm lets test it hmm you could be right =) reinhard: if i create 200 threads... the next process id is 200 higher than before... i know its not a good averment.. but i didnt know a better (fast) way at the moment to test *** johannesV has quit IRC *** jcater_ has quit IRC dino4k: you could let all 200 threads run at the same time and look in ps -ef whether you see them all I think you would see them dino 7037 5668 9 16:15 pts/2 00:00:00 python2.4 test-thread.py dino 7238 5874 0 16:15 pts/3 00:00:00 ps -ef nothing to see strange, as I think I *do* see them ps -efL can you send the test-thread.py to reinhard at gnue dot org? * reinhard is lazy ;-) then you can see thread hehe its just: http://rafb.net/paste/results/jZMOyz39.html 12 lines ;) and 2 you can dele -e or not -.- thanks np the threads have all the same pid but another lw lw lwp gr reinhard 31081 11255 2 16:18 pts/0 00:00:00 python thread.py reinhard 31082 31081 0 16:18 pts/0 00:00:00 python thread.py reinhard 31083 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31084 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31085 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31086 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31087 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31088 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31089 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31090 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31091 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31092 31082 0 16:18 pts/0 00:00:00 python thread.py reinhard 31093 31082 0 16:18 pts/0 00:00:00 python thread.py etc. ps -ef ? so probably kernel version dependent... yes dino 5874 4382 0 15:57 pts/3 00:00:00 bash dino 7470 5668 6 16:21 pts/2 00:00:00 python2.4 test-thread.py dino 7671 5874 0 16:21 pts/3 00:00:00 ps -ef $ uname -r 2.6.14.3 $ uname -r 2.4.18 * reinhard hides i see ;) thats the point ;) it seems to that the 2.6 differ betwen thread and porcess ok thanks anyway dino4k * reinhard is relieved now no problem * dino4k afk thought that appserver creates 5000 subprocesses for a given task, but it only creates 5000 threads which is still much, but I know it is fixed in current version while if it were processes, it would be a different (aka new, unknown, unresolved) problem hmm *** btami has joined #gnuenterprise *** ninja has quit IRC *** jcater has joined #gnuenterprise *** cyteen has joined #gnuenterprise *** cyteen has quit IRC *** reinhard has quit IRC *** johannesV has joined #gnuenterprise *** kilo has joined #gnuenterprise *** jamest has joined #gnuenterprise *** btami has quit IRC *** btami has joined #gnuenterprise *** johannesV has quit IRC *** btami has quit IRC *** jamest has left #gnuenterprise *** dino4k has quit IRC *** kilo has quit IRC *** jamest has joined #gnuenterprise *** ninja has joined #gnuenterprise *** jamest has quit IRC *** jcater has quit IRC *** jcater has joined #gnuenterprise *** jcater has quit IRC *** ninja has quit IRC