gpt4 book ai didi

ruby-on-rails - 运行包导致无限循环

转载 作者:行者123 更新时间:2023-12-04 18:52:43 25 4
gpt4 key购买 nike

当我跑bundle -vbundle install我有一个无休止的循环和内存泄漏。这里有一个
ps -aux结果

li        9082  3.6  0.1  57340 14748 pts/7    Sl+  07:43   0:00 /usr/local/bin/ruby /usr/local/bin/bundle -v
li 9084 0.0 0.0 4444 624 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9085 3.7 0.1 54700 14184 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9087 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9088 3.5 0.1 54740 14184 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9090 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9091 3.5 0.1 54644 14092 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9093 0.0 0.0 4444 624 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9094 3.5 0.1 54704 14192 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9096 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9097 3.5 0.1 54716 14204 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9099 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9100 3.5 0.1 54656 14204 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9102 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9103 5.3 0.1 54724 14232 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9105 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9106 5.0 0.1 54732 14216 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9108 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9109 4.6 0.1 54680 14244 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9111 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9112 4.6 0.1 54772 14264 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9114 0.0 0.0 4444 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9115 5.0 0.1 54704 14276 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9117 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9118 4.6 0.1 54796 14100 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9120 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9121 5.0 0.1 54724 14280 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9123 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9124 7.0 0.1 54804 14248 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9126 0.0 0.0 4448 632 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9127 7.0 0.1 54824 14296 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9129 0.0 0.0 4448 632 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9130 7.5 0.1 54704 14304 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9132 0.0 0.0 4448 632 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9133 8.0 0.1 54828 14264 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9135 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9136 7.5 0.1 54824 14308 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9138 0.0 0.0 4448 632 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9139 7.0 0.1 54728 14308 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9141 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9142 15.0 0.1 54844 14312 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9144 0.0 0.0 4448 632 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9145 14.0 0.1 54808 14340 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9147 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9148 15.0 0.1 54860 14332 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9150 0.0 0.0 4448 632 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9151 14.0 0.1 54868 14344 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9153 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9154 14.0 0.1 54876 14308 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9156 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9157 14.0 0.1 54852 14368 pts/7 Sl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9159 0.0 0.0 4448 628 pts/7 S+ 07:43 0:00 sh -c /usr/local/bin/ruby extconf.rb 2>&1
li 9160 0.0 0.0 35972 7640 pts/7 Rl+ 07:43 0:00 /usr/local/bin/ruby extconf.rb
li 9162 0.0 0.0 22644 1332 pts/9 R+ 07:43 0:00 ps -axu

如果我不终止进程,列表将永远持续下去,直到内存不足。

这里发生了什么?
gem list | grep bundler我有 bundler (1.5.3)

ruby 2.1.0p0(2013-12-25 修订版 44422)[x86_64-linux]

最佳答案

我清除了 ruby​​ 并重新安装了 ruby​​ 来修复它

关于ruby-on-rails - 运行包导致无限循环,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22242364/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com