[kepler-dev] [Bug 5322] dcd_mgr crashes often

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Mar 2 12:07:59 PST 2011


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5322

--- Comment #1 from Derik Barseghian <barseghian at nceas.ucsb.edu> 2011-03-02 12:07:59 PST ---
I've only started paying attention to the message when dcd_mgr dies, but so far
2/2 times it dies with:
pthread_create: Resource temporarily unavailable

For the last crash, my dcd_mgr log has 250 messages like:
connection thread 1
connection thread 2
connection thread 2
etc. The thread number is always one of 0,1,2. 

This is just speculation, but my guess is threads are not being resused, there
are 250, and that is too many.


Some gumstix system info follows:

root at overo:/etc/init.d# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 9.04
Release:    9.04
Codename:    jaunty

root at overo:/etc/init.d# uname -a
Linux overo 2.6.32 #1 Thu Mar 4 03:52:51 PST 2010 armv7l GNU/Linux

root at overo:/etc/init.d# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 20
file size               (blocks, -f) unlimited
pending signals                 (-i) 16382
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


root at overo:/etc/init.d# sysctl -a |  grep -i thread
kernel.threads-max = 3760
vm.nr_pdflush_threads = 0

root at overo:/etc/init.d# cat /proc/meminfo 
MemTotal:         241596 kB
MemFree:          119324 kB
Buffers:           20596 kB
Cached:            30888 kB
SwapCached:            0 kB
Active:            76052 kB
Inactive:          32308 kB
Active(anon):      57084 kB
Inactive(anon):        0 kB
Active(file):      18968 kB
Inactive(file):    32308 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 8 kB
Writeback:             0 kB
AnonPages:         56904 kB
Mapped:             7932 kB
Shmem:               208 kB
Slab:               8160 kB
SReclaimable:       4328 kB
SUnreclaim:         3832 kB
KernelStack:        1304 kB
PageTables:         1840 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      120796 kB
Committed_AS:    2452660 kB
VmallocTotal:     647168 kB
VmallocUsed:        2288 kB
VmallocChunk:     643580 kB

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list