resin设置权限_resin服务之一---安装及部署

[root@data-1-1 ~]# cd /application/resin/conf

[root@data-1-1 conf]# diff resin.conf  resin.conf.orig

[root@data-1-1 ~]# vim +88 /application/resin/conf/resin.conf   -->删除默认配置文件的88-146行。加入如下内容

-Xmx256m

-Xss1m

-Xdebug

-Dcom.sun.management.jmxremote

1M

256

65s

128

15s

要删除的内容:

88       

89       

90       

91

92       

103

104       

107        -Xmx256m

108        -Xss1m

109        -Xdebug

110        -Dcom.sun.management.jmxremote

111

112       

116

117       

120        -Dcom.sun.management.jmxremote

121        6600

122

123       

127        1M

128

129       

130        256

131

132       

133        65s

134

135       

136        128

137        15s

138

139       

146     

以上参数说明如下:

!-- resin Configure at 2016-1-11 -->

-Xms1024M

-XX:NewSize=512M

-XX:MaxNewSize=512M

-Xss1024k

-XX:NewRatio=2

-XX:MaxPermSize=100M

-Dsun.rmi.transport.tcp.responseTimeout=5000

1M

800

15s

256

5s

提示:可以把里的8080改成80,把resin配置成独立的web server,就是可以不使用Apache,直接使用resin做为web服务器。官方宣称:resin web server性能很牛。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值