|
From: Saswat P. <sa...@gm...> - 2007-10-20 03:28:47
|
hi all,
I have a C++ application which creates a threadpool with 100 threads.
When I run my application with valgrind --leak-check=yes , I got followin error
vg_alloc_ThreadState: no free slots available
Increase VG_N_THREADS, rebuild and try again.
valgrind: the 'impossible' happened:
VG_N_THREADS is too low
I tried increasing VG_N_THREADS value to 5000 , recompiled and ran again.
Didn't help.
Could you suggest me a value for VG_N_THREADS to get this working.
I searched and found a bug already existed and closed .
81970 vg_alloc_ThreadState: no free slots available
(closed because the workaround is simple: increase
VG_N_THREADS, rebuild and try again.)
valgrind --version : valgrind-3.1.1
uname -a
Linux dev-lnx01 2.6.9-42.7.ELsmp #1 SMP Tue Sep 5 18:29:39 EDT 2006
i686 i686 i386 GNU/Linux
Thanks.
Saswat
|