Segmentation fault
I'm using CentOS 5.8 with kernel Linux 2.6.18-308.16.1.el5xen (VDS). And I urgently need to cut CPU for mysqld but cpulimit goes in Segmentation fault after a some time of running. I tried both developer and master releases of cpulimit.
My startup is: cpulimit -e mysqld -l 85 Host provider says next info: Processor information Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 4 cores
But I am not sure that all 4 cores are in use because when mysql uses (if look in top, cpu column) >100%, server lags insanely.
Hi, can you provide a core dump or a stacktrace with gdb?
Whenever I try to use it with the -e flag, I get a segmentation fault error, too. [Linux user]
This is still an issue. Using Arch Linux, -e processname results in segmentation fault.
no brainer workaround: cpulimit ... -p $(pgrep <name>) :-)
Would this be fixed by the suggestions in #57 ?
What fixed this for me was compiling cpulimit in another distro and copying the executable. For example, I compiled in Ubuntu and used in CentOS
Still valid ten years later.