logo       

tweaking srun: msg#00029

text.xml.resin.user

Subject: tweaking srun

While trying to figure out a problem that may or may not be with resin (I may be back with this one in a day or two). I discovered some unusal behavior while trying to tweak the srun configuration.

I'm trying to tweak resin-3.0.6 for a high traffic, very short response website. I wanted to adjust the 'timeout', 'live-time' and 'dead-time' properties of srun, from the config docs:

http://caucho.com/resin-3.0/config/resin.xtp#srun

None of these properties seem to be valid. When i set one, resin tells me:

conf/resin.conf:67: `live-time' is an unknown property of `com.caucho.server.cluster.ClusterPort'.

So i go an remove the - character to see if it a spelling mistake, but resin just tells me this:

conf/resin.conf:67: live-time="5s" is an unexpected attribute in <srun>.
<srun> syntax: ( (@id | @server-id | <server-id>)?
& (@backup | <backup>)?
& (@dead-time | <dead-time>)?
& (@host | <host>)?
& (@index | <index>)?
& (@live-time | <live-time>)?
& (<openssl> | <jsse-ssl>)?
& (@port | <port>)
& (@protocol | <protocol>)?
& (@tcp-no-delay | <tcp-no-delay>)?
& (@timeout | <tcp-no-delay>)?)

'backup', 'dead-time', 'live-time', 'protocol', 'tcp-no-delay' or 'timeout' are expected.



Are these indeed the right property names and place to be modifying them? I only did a quick search through the archives, and bug lists and could not find anything related...so hopefully I'm not repeating a question that's already been answered some where else.

- Alex




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise