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

100% cpu on linux #13

Open
stigtsp opened this issue Sep 16, 2018 · 0 comments
Open

100% cpu on linux #13

stigtsp opened this issue Sep 16, 2018 · 0 comments

Comments

@stigtsp
Copy link

stigtsp commented Sep 16, 2018

Hi
After starting esp-lisp CPU spikes to 100% on one core while idling, repl comes up.

$ ps axu | grep esp-lisp
user      24098 98.7  0.0   6164   832 pts/6    R+   00:27   1:54 ../esp-lisp
lisp> [% 11:50 load: 0.00 ]

Here is a snippet of strace esp-lisp :

_newselect(1, [0], NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=5, tv_nsec=127416376}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=5, tv_nsec=127424967}) = 0
ioctl(0, TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
_newselect(1, [0], NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=5, tv_nsec=127463810}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=5, tv_nsec=127471381}) = 0
ioctl(0, TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
_newselect(1, [0], NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=5, tv_nsec=127510697}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=5, tv_nsec=127517576}) = 0
ioctl(0, TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0

os: linux-4.18.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant