出现在字体的选择上面 , 而是在MOTIF中在选择框的使用设置中还要设置一次字体
119 Q: 请问SUN的E250以上机器支持“双机热备 磁盘阵列”的使用方式吗?Ultra系
列的机器是否也能支持呢?
A: SUN的E250以上机器支持“双机热备 磁盘阵列”的使用方式 , 可以使用
SunCluster软件实现;Netrat系列电信服务器也支持;Ultra系列的机器 , 不
在支持的列表中 。但是 , “双机热备 磁盘阵列”的具体含义应该搞清楚 。推
荐的文档在sun cluster collection 中 。
120 Q: 我在一个JAVA程序中打开50个SOCKET端口 , 结果出现异常:
java.net.SocketException:Too many open files
请问如何解决此问题?谢谢!另外 , 请问在一个JAVA进程中可以同时启动的线
程数是多少?最大线程数受什么限制?能否达到240个线程?谢谢!如上问题
如果可以通过修改配置来解决的话 , 会有什么样的负面影响?
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上运行 , 但是出现了
问题:要运行的脚本部分:
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`
推荐阅读
- 关于i519的红外和由红外所想到的
- solaris9下实现socks5代理
- 棉花苗期、蕾期和花铃期害虫的防治措施
- 如何在 solaris 中使用 auto mount 来 mount NFS
- 范闲和战豆豆什么关系
- solaris中有类似windows的DLL有关的函数吗?
- Solaris 8.0 +Oracle 9.2.0 +VRTSvcs 双机安装文档
- Solaris下究竟如何使用setuid/seteuid/setreuid
- 粉粉日记怎么同步和备份?粉粉日记同步和备份解决方法
- 华为p30中显示时间和天气的操作教程
