7
A
回答
11
好問題!如果考慮以下內容,我敢打賭原子的數量。該Efficiency Guide對系統限制的部分:
Processes
The maximum number of simultaneously alive Erlang processes is by default 32768. This limit can be raised up to at most 268435456 processes at startup (see documentation of the system flag +P in the erl(1) documentation). The maximum limit of 268435456 processes will at least on a 32-bit architecture be impossible to reach due to memory shortage.
Distributed nodes
Known nodes
A remote node Y has to be known to node X if there exist any pids, ports, references, or funs (Erlang data types) from Y on X, or if X and Y are connected. The maximum number of remote nodes simultaneously/ever known to a node is limited by the maximum number of atoms available for node names. All data concerning remote nodes, except for the node name atom, are garbage-collected.
此外,erl manual section介紹你可以用它來改變在您的節點的進程數的標誌:
+P Number
Sets the maximum number of concurrent processes for this system. Number must be in the range 16..134217727. Default is 32768.
既然你可以改變的數量每個節點的併發進程,但是你不能改變允許的原子數量,而進程名稱是在每個節點副本中複製的原子,這應該是全局註冊進程總數的允許值。
希望它能幫助:)
編輯:其實,原來你可以更改允許原子數:)
Atoms
By default, the maximum number of atoms is 1048576. This limit can be raised or lowered using the +t option.
+t size
Set the maximum number of atoms the VM can handle. Default is 1048576.
相關問題
- 1. XText註冊全局變量
- 2. PHP版本大於5.0並註冊全局變量?
- 3. 將CLI參數註冊爲GET時的全局註冊問題
- 4. 如何爲我的Laravel應用程序註冊全局變量?
- 5. 自注冊全局對象
- 6. 刪除全局註冊JsonConverter
- 7. Grails - 全局插件註冊
- 8. 註冊全局熱鍵的副本
- 9. Unix中子進程的最大數量
- 10. supervisord管理進程的最大數量?
- 11. 最大數量的PHP CLI進程
- 12. Android和FCM,一條消息中註冊ID的最大數量?
- 13. 使用WPF應用程序進程句柄來註冊全局熱鍵
- 14. 檢測註冊表全局變量的使用
- 15. 註冊一個循環內使用JavaScript的全局變量
- 16. 在Mac上註冊全局熱鍵?
- 17. 在angular2全局註冊一個指令
- 18. 在Windows CE中註冊全局熱鍵
- 19. 無法註冊多個全局熱鍵
- 20. MVVM Light全局消息註冊?
- 21. 註冊多線程的Windows註冊表的進程的副本
- 22. 全球註冊ClientScript的最佳方式?
- 23. 如何在Spring中註冊java.sql.Timestamp的全局格式化程序?
- 24. 如何爲php會話註冊全局變量
- 25. 變量不會在全局上下文中註冊,爲什麼?
- 26. PHP窗體郵件和註冊全局變量
- 27. C++:在定義之前註冊全局變量
- 28. 一個DLL可以註冊/註銷的最大次數?
- 29. /proc/<pid>/limits中的最大進程是否表示該進程的子進程的最大數量
- 30. 父進程和子進程的全局變量
謝謝你,所以再沒有任何限制。 :d。 –