r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Terry
9-Oct-2008
[2999x2]
yeah
well, you access some JS.. and it manips the image
Henrik
9-Oct-2008
[3001]
Yes, the plugin can manipulate the DOM. I still don't think you can 
load binaries into the plugin from  the DOM
Terry
9-Oct-2008
[3002]
you can message the plugin
Graham
9-Oct-2008
[3003x4]
eeek ..need to switch to plugin group
Looks like my cheyenne server has crashed ...
http://compkarori.no-ip.biz:8001/
static pages ( index.html ) work .. but cgi and rsp don't.
Terry
9-Oct-2008
[3007x2]
Security Error: Content at http://compkarori.no-ip.biz:8001/ may 
not load or link to chrome://firebug/content/highlighter.css.
In other words, I can't see it in Firebug
Graham
9-Oct-2008
[3009]
Just a crash involving cgi and rsp.  Static pages are still okay.
Dockimbel
9-Oct-2008
[3010x2]
I've seen that happen here too in rare cases (cause undetermined). 
If you can run the %UniServe/clients/rconsole.r script on your server, 
you should check for this :
probe uniserve/services/task-master/shared/pool-count
Graham
9-Oct-2008
[3012]
I'lll have to wait to I get to work .. unfortunately I don't have 
vnc access to this box
Dockimbel
9-Oct-2008
[3013]
In some cases, this value can be messed up and Cheyenne doesn't seem 
able to start a new process anymore. I've made a small improvement 
in v0.9.19, but I'm unsure how if it will be really efficient.
Graham
9-Oct-2008
[3014]
I'd better upgrade to 9.19
Dockimbel
9-Oct-2008
[3015]
Right, but test well your RSP webapps first with this new version 
before upgrading in production.
Graham
9-Oct-2008
[3016x2]
Odd .. crashed on me again.  the above probe said 8
This is with 9.19
Dockimbel
10-Oct-2008
[3018]
Have you identified the pattern of actions causing that ?
Graham
10-Oct-2008
[3019x2]
I was just calling imagemagick ...
but now it's running okay again.  Very odd.
Henrik
10-Oct-2008
[3021]
Sounds like the erratic crashes I've been getting. I thought I had 
found a pattern, but no.
Terry
10-Oct-2008
[3022]
It's clearly divide by zero.
Graham
10-Oct-2008
[3023]
Henrik, are your crashes also with the rsp engine?
Henrik
10-Oct-2008
[3024]
Graham, I'm not sure. I have to restart Cheyenne to get it going 
again.
Graham
10-Oct-2008
[3025]
are static pages still working when it crashes?
Henrik
10-Oct-2008
[3026]
I honestly haven't checked.
Graham
10-Oct-2008
[3027]
please check next time ... well, if you have some static pages!
Henrik
10-Oct-2008
[3028]
I will.
Dockimbel
10-Oct-2008
[3029]
It seems that the issue is caused by helper processes being stuck 
in "busy" mode and 'pool-count reaching the max value (8 in v0.9.18), 
so that any new CGI or RSP request coming won't find a free helper 
process. I still don't see why helper processes would remain stuck 
in "busy" mode. I'll run a few tests tomorrow to investigate that 
more deeply.
Graham
10-Oct-2008
[3030]
can we change the max value?
Dockimbel
10-Oct-2008
[3031x2]
sure
it's not yet exported in config file, but you can change the default 
value in %Cheyenne.r source code.
Graham
10-Oct-2008
[3033]
ok
Nicolas
10-Oct-2008
[3034x2]
Hi Henrick, I store my site at %/c/www/
sorry for the delayed response
Graham
11-Oct-2008
[3036x3]
Crashed again ... static pages still serving, just rsp down and this 
is with 9.19
All I'm doing is editing RSP pages, and running them.
running source code cheyenne.r on OpenSuse  ( I think )
Henrik
11-Oct-2008
[3039]
Nicolas, sorry, the question has scrolled out of view here. Would 
you mind posting it again?
Graham
11-Oct-2008
[3040x3]
Nicholas "Hi, I'm new to cheyenne. I've tried http://localhost/
and I get the message It works!. But I can't view my site.  How can 
I ? Any tips?"
odd ..
should be Cheyenne/www/site here ....
Henrik
11-Oct-2008
[3043]
I can't view my site
 <- what exactly happens?
Terry
11-Oct-2008
[3044]
Nicolas.. your site needs to be in Cheyenne's www folder -> %/c/Cheyenne/www 
(or
Graham
11-Oct-2008
[3045]
Doc, is it this line here to increase the nymber of helper processes?

			shared/pool-max: any [all [flag? 'debug 0] 8]
Dockimbel
11-Oct-2008
[3046]
yes, just change the 8 value.
Nicolas
11-Oct-2008
[3047]
thanks for the help guys
Graham
11-Oct-2008
[3048]
Are there any issues with an rsp script executing scripts in the 
Cheyenne directory?  As opposed to www and below?  I get these odd 
error messages where the script can't access them due to protected-exec