■ このスレッドは過去ログ倉庫に格納されています
誰かubuntu(Linux)に詳しいやつ・・・
- 1 :>>1:2017/08/22(火) 11:11:12.18 ID:uqJYKUaD.net
- どう頑張ってもスレッドが約12263ほどしか作れないのだが・・・
ーーー
12260
12261
12262
12263
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
Aborted (core dumped)
ーーー
- 2 :>>1:2017/08/22(火) 11:12:15.58 ID:uqJYKUaD.net
- ちなみにulimitは、
~$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 128241
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) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 128241
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
sysctl.confは、
net.core.somaxconn = 1000000
kernel.threads-max = 10000000
kernel.pid_max = 3000000
vm.max_map_count = 10000000
に設定した。
教えてエロい人・・・
- 3 :>>1:2017/08/22(火) 11:13:29.02 ID:uqJYKUaD.net
- ちな、実行したコードはこれ。
void worker( int n){
cout << n << endl;
cin >> n;
}
int main (void){
cout << "Go" << endl;
for(int i = 0; ; i++){
thread th (worker, i);
th.detach();
}
return 0;
}
- 4 :login:Penguin:2017/08/22(火) 12:30:12.77 ID:UAb+XD9Q.net
- 質問はこちらで
http://mao.2ch.net/test/read.cgi/linux/1494314571/
削除依頼出しといてね
- 5 :login:Penguin:2017/09/30(土) 17:13:56.03 ID:Ph87jJnW.net
- うぶんつ入れて
ほぼクロームBOOKだなこれ
おもすれー
- 6 :login:Penguin:2017/12/26(火) 13:54:00.73 ID:XKxkSLp0.net
- 一部PCのBIOSを破壊するバグでUbuntu 17.10が一時取り下げ
https://pc.watch.impress.co.jp/docs/news/1098412.html
- 7 :login:Penguin:2017/12/29(金) 12:31:41.59 ID:S/CsVkMC.net
- 誰でも簡単にパソコン1台で稼げる方法など
参考までに、
⇒ 『宮本のゴウリエセレレ』 というブログで見ることができるらしいです。
グーグル検索⇒『宮本のゴウリエセレレ』
GRGR9PAODG
総レス数 7
3 KB
掲示板に戻る
全部
前100
次100
最新50
read.cgi ver.24052200