Re: [Mongrel] Mongrel crashes - bad doggie

2006-08-25 Thread Kaspar Schiess
Hopefully you're joking since that's in erb.rb (not a mongrel file). Also, you're the only person hitting these so you should look at what software you have that others might not have. Run you program under gdb and do a backtrace when it crashes to see what might cause it. I was joking -

Re: [Mongrel] Mongrel crashes - bad doggie

2006-08-25 Thread snacktime
I'd post that on the Xen mailing list or your hosting provider and see what they say. Linux isn't exactly known for handling out of memory conditions very well, so who knows what might happen with Xen added to the picture in a case like this. I'll bet it's come up before though and someone

Re: [Mongrel] Invalid HTTP format, parsing fails

2006-08-25 Thread Ross Singer
Well, the urgency of this has waned a bit, since I successfully got lighty/fcgi working last night.Still, I've been pretty fond on mongrel, so far, so I'd like to migrate back to it eventually.Thanks,-Ross. On 8/24/06, Ross Singer [EMAIL PROTECTED] wrote: Hi,I am having a bit of a problem with my

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Luis Lavena
On 8/25/06, Jean-Eric Cuendet (ML) [EMAIL PROTECTED] wrote: Hi, It would be nice if Mongrel would do multiapps in one Mongrel instance. For the moment, I have one Mongrel for each app of my server, each on a different port. For example: http://server:8080/app1 http://server:8080/app2

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Jarkko Laine
On 25.8.2006, at 16.45, Jean-Eric Cuendet (ML) wrote: Hi, It would be nice if Mongrel would do multiapps in one Mongrel instance. For the moment, I have one Mongrel for each app of my server, each on a different port. For example: http://server:8080/app1 http://server:8080/app2

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread linux user
On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote:[snip] No these files are not there. I tried to locate mongrel.log in production.log, but its not there. I only have log/production.log but that was created by rails script when the

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Luis Lavena
On 8/25/06, linux user [EMAIL PROTECTED] wrote: [snip] Luis I tried this too an fresh rails application and use the following command to start mongrel mongrel_rails start -c C:/temp/snap -e production the only log file I get in the log folder are development.log mongrel_debug\files.log

[Mongrel] SVN security hole explained

2006-08-25 Thread Francois Beausoleil
Hi all, If you are using Pound / Pen or another load balancer, I believe you should read this: http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel My article refers to Dan Benjamin's http://hivelogic.com/articles/2006/04/30/preventing_svn_exposure My point is

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Wilson Bilkovich
On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote: I am begining to think its platform related Win2K SP4, I don't have access to XP. May be I need to re-install ruby rails ?? but that would be ridiculous. I have installed ruby,

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Luis Lavena
On 8/25/06, Wilson Bilkovich [EMAIL PROTECTED] wrote: On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote: I am begining to think its platform related Win2K SP4, I don't have access to XP. May be I need to re-install ruby rails ?? but that

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread Ezra Zygmuntowicz
On Aug 25, 2006, at 8:26 AM, Francois Beausoleil wrote:Hi all,If you are using Pound / Pen or another load balancer, I believe youshould read this:http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrelMy article refers to Dan

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread linux user
On 8/25/06, Wilson Bilkovich [EMAIL PROTECTED] wrote: On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote: I am begining to think its platform related Win2K SP4, I don't have access to XP. May be I need to re-install ruby rails ?? but that would be

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Kirk Haines
On 8/25/06, Jarkko Laine [EMAIL PROTECTED] wrote: No offense, Jean-Eric, but you already asked this two weeks ago [1] and got 7 responses, including one from Zed himself [2]. The answer: You can't do that as long as Rails is not thread-safe, in other words not any time soon. Some time ago

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread linux user
On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote:[snip] Luis I should have checked the timestamp of production.log last time when I started mongrel -e production.Thanks I think I have solved the problem and I have found the conflicting option, but I

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread John Butler
If you are using Pound / Pen or another load balancer, I believe you should read this: http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel My article refers to Dan Benjamin's http://hivelogic.com/articles/2006/04/30/preventing_svn_exposure My point is that

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Ezra Zygmuntowicz
On Aug 25, 2006, at 9:22 AM, Kirk Haines wrote: On 8/25/06, Jarkko Laine [EMAIL PROTECTED] wrote: No offense, Jean-Eric, but you already asked this two weeks ago [1] and got 7 responses, including one from Zed himself [2]. The answer: You can't do that as long as Rails is not thread-safe,

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread linux user
On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote:[snip] I will try this, but since all my 4 mongrels on a single machine start from the same application-root, this would cause out of sequence statements in log/request.log. It would have been so much

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Luis Lavena
On 8/25/06, linux user [EMAIL PROTECTED] wrote: [snip] No by logging I mean capturing all output on console whether generated by puts,p,print or by mongrel in a log file. Ohhh, you're trying to debug your app using puts, print and p? bad Idea, follow Ezra suggestion, doing that could brake

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread carmen
This is a Subversion working copy administrative directory. Visit http://subversion.tigris.org/ for more information. is there actualy anything important in there? i mean if you authenticate with SSH keys, and even if you dont, i dont think it caches passwords? and it surely doesnt cache the

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread Shane Vitarana
I don't see why this is a huge security issue either. At the worst someone can view your commit history by viewing the .svn/entries file. The password auth files are stored in the repository itself, not in the .svn directories in the working copy. Shane Vitarana shanesbrian.net On 8/25/06,

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread linux user
On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote:[snip] No by logging I mean capturing all output on console whether generated by puts,p,print or by mongrel in a log file.Ohhh, you're trying to debug your app using puts, print and p?bad Idea, follow

[Mongrel] running multiple mongrels from same application root - is it safe?

2006-08-25 Thread linux user
Hi All I was wondering if I runmultiple mongrels from same application root (one physical path) on the same machine is it safe as far as logging is concerned. I mean won't there be race conditions or file locks and out of sequence logging statements? TIA -daya

Re: [Mongrel] Invalid HTTP format, parsing fails

2006-08-25 Thread Ross Singer
While I agree with this fundamentally, pragmatically this is an unrealistic expectation. I get this vendor to fix it, another vendor pops up with another dumb unescaped character.You can type these characters into the query string on IE or Safari and get the same result, it wouldn't have to be

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Ezra Zygmuntowicz
On Aug 25, 2006, at 12:40 PM, linux user wrote: On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote:[snip] No by logging I mean capturing all output on console whether generated by puts,p,print or by mongrel in a log file.Ohhh, you're trying to debug

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread snacktime
On 8/25/06, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote: This is certainly an interesting idea but the problem I see with this is ActiveRecord's database connection hates fork. Most of the time if you use fork in a rails app you will immediately get the Mysql server has gone away

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread Philip Hallstrom
I don't see why this is a huge security issue either. At the worst someone can view your commit history by viewing the .svn/entries file. The password auth files are stored in the repository itself, not in the .svn directories in the working copy. Maybe not huge, but that file gives you

[Mongrel] really a GemPlugin/mongrel_cluster question

2006-08-25 Thread Asa Hopkins
Hi folks,I'd like to run the Mongrel prerelease (0.3.13.4 prerelease) and mongrel_cluster 0.2.1 on my shared host (which doesn't want to install prerelease software for all to use).  I can install the gems in my own directory, and run mongrel 0.3.13.4 with --prefix just fine.  However, I think due

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Zed Shaw
On Fri, 2006-08-25 at 15:45 +0200, Jean-Eric Cuendet (ML) wrote: Hi, It would be nice if Mongrel would do multiapps in one Mongrel instance. For the moment, I have one Mongrel for each app of my server, each on a different port. For example: http://server:8080/app1

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread Zed Shaw
On Fri, 2006-08-25 at 11:26 -0400, Francois Beausoleil wrote: Hi all, If you are using Pound / Pen or another load balancer, I believe you should read this: http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel My article refers to Dan Benjamin's

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Zed Shaw
On Fri, 2006-08-25 at 11:29 -0400, Wilson Bilkovich wrote: On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote: I am begining to think its platform related Win2K SP4, I don't have access to XP. May be I need to re-install ruby rails ?? but

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Zed Shaw
On Fri, 2006-08-25 at 10:22 -0600, Kirk Haines wrote: On 8/25/06, Jarkko Laine [EMAIL PROTECTED] wrote: No offense, Jean-Eric, but you already asked this two weeks ago [1] and got 7 responses, including one from Zed himself [2]. The answer: You can't do that as long as Rails is not

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread Zed Shaw
On Fri, 2006-08-25 at 17:11 +, carmen wrote: This is a Subversion working copy administrative directory. Visit http://subversion.tigris.org/ for more information. is there actualy anything important in there? i mean if you authenticate with SSH keys, and even if you dont, i dont think

Re: [Mongrel] running multiple mongrels from same application root - is it safe?

2006-08-25 Thread Zed Shaw
On Fri, 2006-08-25 at 14:43 -0500, linux user wrote: Hi All I was wondering if I run multiple mongrels from same application root (one physical path) on the same machine is it safe as far as logging is concerned. I mean won't there be race conditions or file locks and out of sequence

Re: [Mongrel] running multiple mongrels from same application root - is it safe?

2006-08-25 Thread linux user
On 8/25/06, Zed Shaw [EMAIL PROTECTED] wrote: On Fri, 2006-08-25 at 14:43 -0500, linux user wrote: Hi All I was wondering if I runmultiple mongrels from same application root (one physical path) on the same machine is it safe as far as logging is concerned. I mean won't there be race conditions

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Wilson Bilkovich
On 8/25/06, Zed Shaw [EMAIL PROTECTED] wrote: On Fri, 2006-08-25 at 11:29 -0400, Wilson Bilkovich wrote: On 8/25/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/25/06, linux user [EMAIL PROTECTED] wrote: I am begining to think its platform related Win2K SP4, I don't have access

Re: [Mongrel] Mongrel grammar file

2006-08-25 Thread Jeremy Kemper
On 8/25/06, snacktime [EMAIL PROTECTED] wrote: Hey Zed, any chance you mind sharing the grammar file you use withlemon to create the parser?I've been meaning to sit down and learnhow to use one of those things.If not, any suggestions on a goodresource for learning how to use a LALR parser? The