Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limits of threads #23

Open
imZack opened this issue Oct 22, 2014 · 0 comments
Open

Limits of threads #23

imZack opened this issue Oct 22, 2014 · 0 comments
Assignees

Comments

@imZack
Copy link
Contributor

imZack commented Oct 22, 2014

On UC-8100

cat /proc/{$pid}/status

moxa@Moxa:/proc/7682$ cat status
Name:   python
State:  S (sleeping)
Tgid:   7682
Pid:    7682
PPid:   2860
TracerPid:      0
Uid:    1000    1000    1000    1000
Gid:    1002    1002    1002    1002
FDSize: 256
Groups: 27 1002
VmPeak:  2013320 kB
VmSize:  2013320 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     12276 kB
VmRSS:     12276 kB
VmData:  2005960 kB
VmStk:       136 kB
VmExe:      1776 kB
VmLib:      3028 kB
VmPTE:       506 kB
VmSwap:        0 kB
Threads:        242
SigQ:   0/1961
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed:   1
Cpus_allowed_list:      0
voluntary_ctxt_switches:        10078
nonvoluntary_ctxt_switches:     194

A single process of Py 2.7 is about 256 threads.

@imZack imZack self-assigned this Oct 22, 2014
@imZack imZack added this to the Release v1.0.0 milestone Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant