Displaying 20 results from an estimated 12000 matches similar to: "Early morning strange error saying: Status: 500 Internal Server Error"
2007 Apr 04
13
Mongrel dying daily with Ruby 1.8.6
Hi guys,
I''ve been running mongrel for a while now with Ruby 1.8.4, and last
week upgraded to 1.8.6.
Since upgrading, each morning when I wake up there''s a big problem:
1. Accessing the site returns a "500 Internal Server Error"
2. All the mongrel_rails processes are still running, but none of
them are active (when I run top)
3. Lighttpd and pound are still
2006 Nov 25
2
Mongrel 0.3.18 PR -- Lightning Fast Turnaround
Alright folks, I put in a fix for camping and added the patch by Thomas Hurst for the accf_http deferred accept settings for FreeBSD.
As usual, please test this release out and let me know if it has any additional problems. I''ll be working on win32 builds today and tomorrow with Luis.
Install with:
sudo gem install fastthread --source=http://mongrel.rubyforge.org/releases
sudo gem
2006 Dec 15
15
running mongrel in production on win32
Hey guys, I''m running the mongrel server that comes with rails-1.2rc1
for development on a winxp box, anticipating taking it into production
on a win2k3 box in the next few weeks. I''ve had a couple of crashes
occur during development that give me pause, however. I made a ticket
for the last one here:
http://dev.rubyonrails.org/ticket/6841
I know, or at least believe, that
2006 Dec 06
12
Debugging high CPU with Mongrel
I''m running a site that gets ~30k to 40k page hits per day. In the last 4
days my mongrel processes have been jumping into high CPU usage a couple of
times a day to the point where my site becomes unresponsive (database on a
diff machine with no load). The only way for me to resolve the problem and
reduce load on the machine is to delete my rails cache directory (I have
plenty of space
2006 Nov 27
5
win32 problems
I''m setting up a Rails app for a client that uses Windows. I''m
getting this error:
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb:
32: uninitial
ized constant Mongrel::HttpHandler (NameError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in `re
quire''
from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/
2006 Dec 01
1
no more wedged mongrels with fastthread
With Mongrel 0.3.18, I have not seen a single one of the hangs that I
have been grousing about for the past N weeks.
Thanks MenTaLguY and Zed!
Q: Mongrel loads fastthread, Mongrel loads Rails, Rails loads OCI8,
OCI8 requires ''thread''. That means OCI8 is using fastthread too,
right?
Steve
2007 Feb 02
7
Mongrels 1.0.1 falling asleep w/ Rails 1.2
I''m a bit surprised I can''t find anything about this in the mailing
list archives. Basically since Mongrel 1.0.1 I''ve had Mongrels fall
asleep without any real cause. A deep sleep, actually more like a
coma. The mongrel in question (I''m using a cluster of three) can not
be revived. A cluster::stop, then cluster::start is nessesary.
A ::restart would not
2006 Dec 20
6
Mongrel 1.0 RC1 Full Win32 Build
Hello Minions!
It''s *finally* here. Mongrel 1.0 RC1 for everyone to test, even the win32 folks. I managed to get everything to build on windows, including fastthread, and even cleaned up the "releases source":http://mongrel.rubyforge.org/releases/ so that it should install cleaner. Win32 will have to try and report problems, as it seems rubygems is real finicky on win32.
2006 Dec 28
3
Mongrel fails in Win32, mongrel_service missing, with possible fix
I just ran into an issue with a new mongrel install on Win32. When
trying to run mongrel from RadRails 0.7.2 on win32, I got an error
while loading that it couldn''t locate mongrel_service.
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load --
C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.3.1/lib/mongrel_service/init.rb
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
I updated to ruby 1.8.6p111 last night and updated some gems and now
mongrel doesn''t work:
MacOS 10.4.10
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1]
$ gem list rails
*** LOCAL GEMS ***
rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6)
Here''s a simple test:
$ rails test5
create ...
$ cd test5
$ script/server
=> Booting
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi,
I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster
0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1.
I am load balancing 3 mongrel processes using the random port trick.
When I start mongrel the processes have about 60MB, but after some hour of
usage the memory ballons upto more than 180MB and the site becomes terribly
slow. Forcing me to restart mongrel
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing
mongrel on trunk 1.9 and trunk rubygems and got this error compiling
fastthread:
/Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc
creating Makefile
make
gcc -I.
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.
2006 Dec 16
3
fastthread 0.5.3
I''ve just committed fastthread 0.5.3, which finally gives us a working
SizedQueue (which hadn''t really ever worked in previous versions).
Mostly it was just a matter of refactoring Queue and SizedQueue into a
single class behind the scenes, so I could move the signalling of the
SizedQueue-specific condition variable inside the queue''s critical
section. Failing to do so
2007 Mar 20
10
fastthread 1.0
Well, just when I thought I was out of the fastthread business...
Okay, in brief:
fastthread is a Ruby extension which re-implements the primitives in
Ruby''s thread.rb in C. It was merged into 1.8.6, replacing the old
thread.rb implementation, but the version that was merged had a couple
serious bugs.
So -- now I release fastthread 1.0, which is basically the Ruby 1.8.6
version with
2007 Jan 19
7
fastthread 0.6.2
It looks like I got too creative in 0.6.1 and consequently ran afoul of
a bug in the Ruby interpreter. 0.6.2 works around the bug and should be
entirely stable at this point.
Thanks to Young Hyun for his help in coming up with test cases.
== what?
fastthread is a Ruby library which provides a faster (and
non-memory-leaking) C implementation of the concurrency primitives from
stdlib''s
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2007 Apr 30
5
ERROR: Failed to build gem native extension.
Hi all,
I''d really appreciate some help with this...
As you see below, I tried to install mongrel after updating my gems, but I
get the error shown:
sudo gem install mongrel
Select which gem to install for your platform (i486-linux)
1. mongrel 1.0.1 (ruby)
2. mongrel 1.0.1 (mswin32)
3. mongrel 1.0 (mswin32)
4. mongrel 1.0 (ruby)
5. Skip this gem
6. Cancel installation
> 1
2006 Dec 06
5
Win32 gems for mongrel (0.3.18) and mongrel_service (0.3.1)
Hello Users!,
Since the pre-release 0.3.18 (last week) Lot of things happen in
ruby-land (check the DoS security bulletin, please).
Anyway, the win32 folks being left on the side of the road, and cannot
provide feedback of stability due lack of binaries for the latest
releases.
So, I managed to upload the pre-built gem to my host:
http://www.mmediasys.com/releases/mongrel-0.3.18-mswin32.gem
2007 Nov 23
6
Fresh install on Debian Etch - Mongrel immediately hangs
Hi,
I just did a clean install of
Ruby 1.8.5
Rubygems 0.9.0
and the Mongrel and Mongrel_Cluster gems.
I used only the Debian Etch package manager, nothing compiled myself.
Now, on a testapp when I do a script/server, I get the:
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
warning. But it''s not serving my app. Ruby is immediately on 100% CPU
load (and 0.7%