[Mongrel] Win32 service question

2007-11-20 Thread Csaba Okrona
Hi All, First, I'm new to the list, so I'd like to say hello to all fellow mongrelists :) Second, I'd like to ask you if there's any way to make a simple mongrel script run multithreaded? No rails, just plain old class MyHandler Mongrel::HttpHandler . . . h =

[Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread Shiva Kumaran
hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how to configure help me with regards shiva -- Posted via

Re: [Mongrel] Win32 service question

2007-11-20 Thread Geoffrey Bays
Csaba: You can run anything multithreaded on Windows by using Ruby Threads. These are green threads, not native ones, and they are non-blocking, which is what you would want. Look up some examples of using the Thread class, which is in the Ruby language core, and you should be on your way. You can

Re: [Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread Rafael G.
Shiva Kumaran escribió: hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how to configure help me with regards shiva

Re: [Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread Luis Lavena
On Nov 20, 2007 10:53 AM, Shiva Kumaran [EMAIL PROTECTED] wrote: hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how to

[Mongrel] Timestamping in log file?

2007-11-20 Thread Steve Midgley
Hi, I'm wondering if it's easy to add timestamps to the mongrel log? I am having a problem where an externally spawned application by Rails is failing. Mongrel kindly logs the error message returned by this application when it fails. But it doesn't record a timestamp as to when the error

Re: [Mongrel] (Humor) Little Bobby Tables

2007-11-20 Thread Wayne E. Seguin
On Nov 20, 2007 3:19 PM, Steve Midgley [EMAIL PROTECTED] wrote: I thought all you mongrelians might appreciate this: http://xkcd.com/327/ I haven't laughed out loud at a comic in a while. I realize it's a working group but I figure many here might get a laugh today out of this one. Steve

Re: [Mongrel] Timestamping in log file?

2007-11-20 Thread Wayne E. Seguin
Steve, I just committed a change set to trunk that prepends Time.now.httpdate to most output strings. I am refactoring the logging to be more uniform and will be setting it up to log using the common logfile format: http://www.w3.org/Daemon/User/Config/Logging.html#common-logfile-format Hope

Re: [Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread Shiva Kumaran
Rafael García wrote: Shiva Kumaran escribió: hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how to configure help me

[Mongrel] Canceled uploads and exceptions.

2007-11-20 Thread Christian
Hi, I'm currently putting together a program that allows a user to cancel a current file upload while it's happening. When I cancel the upload in the browser, I get a Error reading HTTP body: #RuntimeError: Socket read returned insufficient data: 4139 exception. That's all fine, and

Re: [Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread James Tucker
Shiva Kumaran wrote: Rafael García wrote: Shiva Kumaran escribió: hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how

Re: [Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread Luis Lavena
On Nov 21, 2007 3:18 AM, James Tucker [EMAIL PROTECTED] wrote: Yeah this is an unfortunate bug with the way that 'bin' files are setup on windows. In particular, you can't call exec on a text file containing nothing but ruby. The solution is to add .bat or .cmd to the binary name in the

Re: [Mongrel] Meta-question: anonymity makes me cranky

2007-11-20 Thread Joe Ruby MUDCRAP-CE
I think everybody should be required to be MUDCRAP-CE before being able to post... Joe -- Posted via http://www.ruby-forum.com/. ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] how to configure mongrel_cluster in windows

2007-11-20 Thread James Tucker
Luis Lavena wrote: On Nov 21, 2007 3:18 AM, James Tucker [EMAIL PROTECTED] wrote: Yeah this is an unfortunate bug with the way that 'bin' files are setup on windows. In particular, you can't call exec on a text file containing nothing but ruby. The solution is to add .bat or .cmd to the

Re: [Mongrel] Win32 service question

2007-11-20 Thread Csaba Okrona
Thank you both, Geoffrey and cdr for your help. I didn't know it was threaded on win32 by default :) Then I don't really get why there's so big performance difference bw/ a unix backed mongrel and a win32 one... On Nov 20, 2007 1:04 PM, cdr [EMAIL PROTECTED] wrote: Csaba: You can run