Alright, it seems that I am having a bit of a problem with mongrel. My mongrel processes have been crashing pretty often and twice last night. I''m really not sure why, but I really need to fix it. I am running 0.3.13.3. Here is the mongrel.log file. Any ideas, things to look at, etc... is appreciated. Thanks, Carl PS, do all the broken pipe lines mean Mongrel is serving the static media files? ** Daemonized, any open files are closed. Look at log/mongrel.8130.pid and log/mongrel.log for info. ** Starting Mongrel listening at 127.0.0.1:8130 ** Starting Rails with production environment ... ** Daemonized, any open files are closed. Look at log/mongrel.8131.pid and log/mongrel.log for info. ** Starting Mongrel listening at 127.0.0.1:8131 ** Starting Rails with production environment ... ** Daemonized, any open files are closed. Look at log/mongrel.8132.pid and log/mongrel.log for info. ** Starting Mongrel listening at 127.0.0.1:8132 ** Starting Rails with production environment ... ** Daemonized, any open files are closed. Look at log/mongrel.8133.pid and log/mongrel.log for info. ** Starting Mongrel listening at 127.0.0.1:8133 (... more initialization stuff. Just the usual ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/40/13/431/media.wmv: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe (... a ton more broken pipe errors ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe (... a ton more broken pipe errors ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ images/header.png: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/31/1013/media.flv: Broken pipe (... a ton more broken pipe errors ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/83/1038/media.wmv: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/83/1038/media.wmv: Broken pipe (... a ton more broken pipe errors ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/83/1038/media.wmv: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe jWl50ivOcGhTQzEh5h5mQystOI0U2oDa4hXZY0VrqCCPd3HX151wmBwBYtPR (... and a bunch more gibberish and broken pipe errors ...) SuiOuNQ+jr9nJly0zLJx6xc1bCzIcW8pbbaQhDRUoqIaQ2NAPYB7B163EMTf b0gNr5K/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 +acrI8k9prFuuKDrpZQUoUS5qoFQT+zvI0IA7DXqQherSISA0Y4/H 314aHIH59lY31UpcClFCdqgdVJ3akKBASQCe/RsUDBB7s3rcVHZ8vGmJZg6c (... and a bunch more gibberish and broken pipe errors ...) Y7a4lJCZCs6ZkAkpsyORvNrSIYa6OR6cZyFrXeaCFY6R2fEYCu3cXkSQhp8T IGDA5FSffjQye97tMzX2vO7Yt3jEawJ2v7yZNMvdvL0TSPhUUiXI9TNwy1M3 9uNa0JDKHRyop4vlHb/e5GhTrrpctDnxtVFLDzbyPa3/AError sending file /home2/ webapps/nfccms/releases/20060807071308/public/media/01/32/1023/media.flv: Broken pipe Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe (... a ton more broken pipe errors ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/93/1039/image-6.jpg: Broken pipe /home2/webapps/nfccms/current/config/../app/controllers/media_controller.rb: 104: warning: Object#id will be deprecated; use Object#object_id Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe (... a ton more broken pipe errors ...) Error sending file /home2/webapps/nfccms/releases/20060807071308/public/ media/01/32/1023/media.flv: Broken pipe /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 582:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 636:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 625:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 956:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb: 955:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:127:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/ command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 K0f/TbrFtxG21uH AShA8dvBw7D8DhSyffClG7cO+TN3vDC+wTfs7oIhyX+u8ovpfoIWKPzPWeX+ (... and a bunch more gibberish till the end ...)
On Sat, 2006-08-12 at 11:53 -0500, Carl Lerche wrote:> Alright, it seems that I am having a bit of a problem with mongrel. My > mongrel processes have been crashing pretty often and twice last night. I''m > really not sure why, but I really need to fix it. I am running 0.3.13.3. Here > is the mongrel.log file. Any ideas, things to look at, etc... is appreciated. >Carl, try out the 0.3.13.14 pre-release when you get a chance: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Also remove sendfile: gem uninstall sendfile The broken pipe lines do mean that mongrel is serving static files, which isn''t such a good way to set things up. Make sure you configure so that apache or lighttpd are serving the files. The gibberish looks like base64 encodings, which is really bothersome. You better be moved on to 1.1.6 by now. These could very well be someone trying to exploit your server. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
Zed, Thanks for the suggestions. I will try out the pre-release and let you know how it goes. Also, I am using Apache 2.2.2 with mod_proxy_balancer (I probably should update to 2.2.3). I don''t know what you mean by be on 1.1.6. I also don''t have the sendfile gem as I know it is not recommended. As for mongrel serving static files, I will have to play with my mod_rewrite configuration as that is what seems to be the problem. I will include it here just in case anybody might have any suggestions for that. Thanks for all the help so far guys! -carl RewriteEngine On # Make sure people go to www.djforums.com, not djforums.com RewriteCond %{HTTP_HOST} ^djforums.com$ [NC] RewriteRule ^(.*)$ http://www.djforums.com.com$1 [R=301,L] # Yes, I''ve read no-www.com, but my site already has much Google-Fu on # www.blah.com. Feel free to comment this out. # Uncomment for rewrite debugging #RewriteLog logs/myapp_rewrite_log #RewriteLogLevel 9 # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] # Rewrite index to check for static RewriteRule ^/$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://djforums%{REQUEST_URI} [P,QSA,L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www.)?djforums.com.*$ [NC] RewriteRule .(gif|jpg|mov|flv|wmv|swf)$ - [F]
>Carl, try out the 0.3.13.14 pre-release when you get a chance: > >gem install mongrel --source=http://mongrel.rubyforge.org/releases/Ok, I''m probably doing something dumb, but for some reason mongrel isn''t opening a log file (log/mongrel.log) anymore. I tried restarting a number of times (in production and development modes). Not having a log makes it hard to figure out what''s going wrong. Any ideas? Thanks, Carl
On Sat, 2006-08-12 at 12:49 -0500, Carl Lerche wrote:> Zed, > > Thanks for the suggestions. I will try out the pre-release and let you know > how it goes. Also, I am using Apache 2.2.2 with mod_proxy_balancer (I > probably should update to 2.2.3). I don''t know what you mean by be on 1.1.6. > I also don''t have the sendfile gem as I know it is not recommended."be on 1.1.6" means Rails 1.1.6. You MUST upgrade to this version of rails as there were serious security alerts because of an exploit that could destroy your whole application and probably get you fired AND I WILL NOT TALK TO YOU EVER AGAIN BECAUSE YOU WILL BE EMBARRASSING ME WAY TOO MUCH CARL. Sorry for the dramatics. Do that now. Now. Why are you reading this. Go! :-) -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
On Sat, 2006-08-12 at 13:10 -0500, Carl Lerche wrote:> >Carl, try out the 0.3.13.14 pre-release when you get a chance: > > > >gem install mongrel --source=http://mongrel.rubyforge.org/releases/ > > Ok, I''m probably doing something dumb, but for some reason mongrel isn''t > opening a log file (log/mongrel.log) anymore. I tried restarting a number of > times (in production and development modes). Not having a log makes it hard to > figure out what''s going wrong. Any ideas?You''ll have to edit your config files so that you set a full path. Zed
>"be on 1.1.6" means Rails 1.1.6. You MUST upgrade to this version of >rails as there were serious security alerts because of an exploit that >could destroy your whole application and probably get you fired AND I >WILL NOT TALK TO YOU EVER AGAIN BECAUSE YOU WILL BE EMBARRASSING ME WAY >TOO MUCH CARL.Oh no... I''m a bad sys admin :( Anyway, I updated rails to 1.1.6, mongrel to the pre-release, removed the hot link protection from my mod_rewrite config which seems to send static files to apache now. The mongrel log file looks a lot healthier. I''ll have to monitor it but I"m supposed to catch an international flight tonight, still haven''t packed, still have to run errands AND get to the airport 4 hours early :-/ Better get workin... Thanks for all the help :) -carl
Alright, more trouble :( 2 mongrel processes have crashed since my last email. Here is the relevant mongrel.log bit: Sat Aug 12 14:32:02 CDT 2006: BAD CLIENT (127.0.0.1): HTTP element QUERY_STRING is longer than the (1024 * 10) allowed length. /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb: 597:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:597:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:664:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:664:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:651:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel/configurator.rb:258:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel/configurator.rb:257:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ mongrel_rails:128:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel/command.rb:203:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ active_record/callbacks.rb:347: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-freebsd6] /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb: 597:in `close'': Invalid argument (Errno::EINVAL) from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:597:in `process_client'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:664:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:664:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel.rb:651:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel/configurator.rb:258:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel/configurator.rb:257:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ mongrel_rails:128:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ mongrel/command.rb:203:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ active_record/callbacks.rb:347: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-freebsd6]
What OS are you on Carl? It looks like Ruby sockets on *your* OS can throw yet another fantastic different exception in yet again another unusual situation that I have to cover all over again. I''ll pump out a fix in five minutes, but let me know what OS you have (exact type, version, etc) so I can run more tests later. Zed On Sat, 2006-08-12 at 13:10 -0700, Carl Lerche wrote:> Alright, more trouble :( > > 2 mongrel processes have crashed since my last email. Here is the > relevant mongrel.log bit: > > Sat Aug 12 14:32:02 CDT 2006: BAD CLIENT (127.0.0.1): HTTP element > QUERY_STRING is longer than the (1024 * 10) allowed length. > /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb: > 597:in `close'': Invalid argument (Errno::EINVAL) > from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ > mongrel.rb:597:in `process_client''
On Sat, 2006-08-12 at 13:10 -0700, Carl Lerche wrote:> Alright, more trouble :( > > 2 mongrel processes have crashed since my last email. Here is the > relevant mongrel.log bit:Alright Carl, should be fixed for good now. Try the pre-release AGAIN and report back to me. Thanks for the testing, you definately are the odd case here. gem install mongrel --source=http://mongrel.rubyforge.org/releases/ -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
Hey there, > uname -mrs FreeBSD 6.1-RELEASE i386 So, FreeBSD 6.1. I guess I jumped to 6 too early? Thanks, -carl On Aug 12, 2006, at 2:02 PM, Zed Shaw wrote:> What OS are you on Carl? It looks like Ruby sockets on *your* OS can > throw yet another fantastic different exception in yet again another > unusual situation that I have to cover all over again. > > I''ll pump out a fix in five minutes, but let me know what OS you have > (exact type, version, etc) so I can run more tests later. > > Zed > > On Sat, 2006-08-12 at 13:10 -0700, Carl Lerche wrote: >> Alright, more trouble :( >> >> 2 mongrel processes have crashed since my last email. Here is the >> relevant mongrel.log bit: >> >> Sat Aug 12 14:32:02 CDT 2006: BAD CLIENT (127.0.0.1): HTTP element >> QUERY_STRING is longer than the (1024 * 10) allowed length. >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb: >> 597:in `close'': Invalid argument (Errno::EINVAL) >> from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/ >> mongrel.rb:597:in `process_client'' > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
On Sat, 2006-08-12 at 13:10 -0700, Carl Lerche wrote:> Alright, more trouble :( > > 2 mongrel processes have crashed since my last email. Here is the > relevant mongrel.log bit:Carl, just to make sure, don''t install these pre-releases in production just yet. I''m still working on them, just test them and let me know what happens. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
Zed, thanks for the quick response. I will try out the fix. Also, I didn''t see my last email hit the mailing list yet. So, in case it didn''t, I''m on FreeBSD 6.1-RELEASE i386 I''ll let you know how the fix works. -carl On Aug 12, 2006, at 3:01 PM, Zed Shaw wrote:> On Sat, 2006-08-12 at 13:10 -0700, Carl Lerche wrote: >> Alright, more trouble :( >> >> 2 mongrel processes have crashed since my last email. Here is the >> relevant mongrel.log bit: > > Alright Carl, should be fixed for good now. Try the pre-release AGAIN > and report back to me. Thanks for the testing, you definately are the > odd case here. > > gem install mongrel --source=http://mongrel.rubyforge.org/releases/ > > > -- > Zed A. Shaw > http://www.zedshaw.com/ > http://mongrel.rubyforge.org/ > http://www.railsmachine.com/ -- Need Mongrel support? > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
Alright, will do. Anyway, I''m having the same problem that Jonathan del Strother just emailed in. The headers sent are 404 and then it just dumps the HTML source as text into the browser. Here are the headers I''m getting: HTTP/1.1 404 Not Found Date: Sat, 12 Aug 2006 23:02:52 GMT Content-Length: 35144 Content-Type: text/plain; charset=ISO-8859-1 -carl> > Carl, just to make sure, don''t install these pre-releases in > production > just yet. I''m still working on them, just test them and let me know > what happens. >
On Sat, 2006-08-12 at 15:46 -0700, Carl Lerche wrote:> Zed, thanks for the quick response. I will try out the fix. Also, I > didn''t see my last email hit the mailing list yet. So, in case it > didn''t, I''m on FreeBSD 6.1-RELEASE i386 > > I''ll let you know how the fix works.Carl, ok, the redirect problem is fixed, grab the one I just posted (Aug 12, 4:30pm PDT). Let me know if the outcome. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
Zed, thanks for the quick fixes. I am running the latest pre-release and will let you know what happens. Thanks, Carl On Aug 12, 2006, at 4:30 PM, Zed Shaw wrote:> On Sat, 2006-08-12 at 15:46 -0700, Carl Lerche wrote: >> Zed, thanks for the quick response. I will try out the fix. Also, I >> didn''t see my last email hit the mailing list yet. So, in case it >> didn''t, I''m on FreeBSD 6.1-RELEASE i386 >> >> I''ll let you know how the fix works. > > Carl, ok, the redirect problem is fixed, grab the one I just posted > (Aug > 12, 4:30pm PDT). Let me know if the outcome. > > > -- > Zed A. Shaw > http://www.zedshaw.com/ > http://mongrel.rubyforge.org/ > http://www.railsmachine.com/ -- Need Mongrel support? > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users