日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

2 solaris基礎(chǔ)和常用知識(11)


出現(xiàn)在字體的選擇上面 , 而是在MOTIF中在選擇框的使用設(shè)置中還要設(shè)置一次字體

119 Q: 請問SUN的E250以上機器支持“雙機熱備 磁盤陣列”的使用方式嗎?Ultra系
列的機器是否也能支持呢?
A: SUN的E250以上機器支持“雙機熱備 磁盤陣列”的使用方式 , 可以使用
SunCluster軟件實現(xiàn);Netrat系列電信服務(wù)器也支持;Ultra系列的機器 , 不
在支持的列表中 。但是 , “雙機熱備 磁盤陣列”的具體含義應(yīng)該搞清楚 。推
薦的文檔在sun cluster collection 中 。

120 Q: 我在一個JAVA程序中打開50個SOCKET端口 , 結(jié)果出現(xiàn)異常:
java.net.SocketException:Too many open files
請問如何解決此問題?謝謝!另外 , 請問在一個JAVA進(jìn)程中可以同時啟動的線
程數(shù)是多少?最大線程數(shù)受什么限制?能否達(dá)到240個線程?謝謝!如上問題
如果可以通過修改配置來解決的話 , 會有什么樣的負(fù)面影響?
A: You have two ways to modify the limit number of files that a process
can open simutanously.
One: modify the /etc/system file add the following entry:
set rlim_fd_cur = #n
#n is the number you want. Should be no more than 1024.
You should reboot the machine.
Two: Use the system command: ulimit
$ulimit -n #n
Note: You should use B-shell.
And using the same terminal session(in the same terminal
window) to run the your application program( to guarantee your
application process is a child process of the setting
terminal.)You can man ulimit to see the detailed usaged.
The disadvantage brought by incread the file limite for a
process or the whole system is increasing the system memory
usage. But, for today"s machine, this disadvantage is not too
expensive. (William said:) There is no limit for max open
socket number in Java. But the operating system has a limit for
max open file descriptors.A socket resource is treated as a
file descriptor in Unix. The previous email answered your
question. You can try as said.

121 Q: 我想把一個HP平臺上運行的B SHELL 腳本在SOLARIS 2 。6上運行 , 但是出現(xiàn)了
問題:要運行的腳本部分:
command_count = 0
command_item[$command_count]=check_AutoRaid
command_count=`expr $command_count1`
command_item[$command_count] = check_system_resource
command_count=`expr $command_count1`
command_item[$command_count]= check_diskspace
command_count=`expr $command_count1`
command_item[$command_count]= check_bill_record
command_count=`expr $command_count1`

推薦閱讀