Page 1 of 1

Rails Error

Posted: Fri Apr 06, 2012 5:30 pm
by DazzaJ
Just wondering if anyone had a solution to constant rail errors.

I've reinstalled the entire system numerous times an yet still get the following errors:
The application spawner server exited unexpectedly: Unexpected end-of-file detected.

Exception class:
PhusionPassenger::ClassicRails::ApplicationSpawner::Error
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/classic_rails/application_spawner.rb 155 in `start'
1 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 219 in `spawn_rails_application'
2 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add'
3 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 214 in `spawn_rails_application'
4 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server_collection.rb 82 in `synchronize'
5 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
6 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 213 in `spawn_rails_application'
7 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 132 in `spawn_application'
8 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application'
9 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 357 in `__send__'
10 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 357 in `server_main_loop'
11 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 206 in `start_synchronously'
12 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/helper-scripts/passenger-spawn-server 99
I've done a full system update, and find that this error seems to occur anywhere, sometimes.
Log in and it sometime gives me the error, refresh a couple of times and it will eventually let me in.
Click on an APP and it may work, or may not with similar error.

Any ideas?

Re: Rails Error

Posted: Sat Apr 07, 2012 2:25 pm
by cpg
Possibly low memory system?

How much hardware is there? (CPU, disk, memory ...)

Re: Rails Error

Posted: Mon Apr 09, 2012 2:10 am
by DazzaJ
Currently running on AMD X2 255
2 GB Ram - currently showing 1.71GB Total: 635MB used (Rest shared with graphics)
1 x 320 GB Hard drive with second 1.5 TB
Standard config.

Re: Rails Error

Posted: Mon Apr 09, 2012 3:10 am
by cpg
Hardware looks more than sufficient.

Code: Select all

tail -400 /var/hda/platform/html/log/production.log | fpaste
let's see the output of that and see what's happening.