This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Please try latest snapshot -- pthreads mutex users please note
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 06 Jul 2005 01:46:38 -0700
- Subject: Re: Please try latest snapshot -- pthreads mutex users please note
- References: <BAY107-F19381AD0B27C3E9347F63FD6D90@phx.gbl>
- Reply-to: cygwin at cygwin dot com
Arash Partow wrote:
> What kernel version and what NPTL version do you have installed?
Kernel version 2.6.10 and glibc 2.3.2 as packaged by Debian unstable. I
don't know whether they configure glibc for LinuxThreads or NPTL for
this package.
Under FreeBSD-5.4 I get the following:
$ ./example1 > /dev/null & thepid=$! ; while ps -lp $thepid | tail -1 |
awk '{ print $7 "\t" $8 }'; do sleep 3; done
[1] 36684
2384 1484
17708 16784
30232 29316
40384 39484
53480 52580
46276 45368
59304 58412
69164 68284
75660 74788
79164 78300
84760 83904
86824 85968
100864 100024
107860 107024
108448 107608
115284 114456
119536 118712
128820 128004
128820 128004
143176 142376
153184 152392
165868 165088
172660 171888
177696 176928
182348 181584
194496 187000
196052 179808
196052 179560
196052 183792
196052 185648
143908 134780
151232 143392
166308 143408
168400 166928
168400 166928
169468 167996
171936 170468
188388 170440
193696 179816
193696 186388
210392 171560
249968 129788
266156 113980
266156 111780
266156 109480
266156 108152
266156 106052
266156 103824
266156 101092
266156 150904
286988 164528
321416 131336
356660 99280
356660 98348
(the first column is 'VSZ', the second 'RSS') This is on a machine with
256MB RAM, so at this point it was swapping constantly and I eventually
killed it. The 'SIZE' column remained constant for a while after
hitting 356660, it must be some kind of limit.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/