Rails Error

DazzaJ
Posts: 7
Joined: Thu Apr 05, 2012 9:03 pm

Rails Error

Postby DazzaJ » Fri Apr 06, 2012 5:30 pm

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?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Rails Error

Postby cpg » Sat Apr 07, 2012 2:25 pm

Possibly low memory system?

How much hardware is there? (CPU, disk, memory ...)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

DazzaJ
Posts: 7
Joined: Thu Apr 05, 2012 9:03 pm

Re: Rails Error

Postby DazzaJ » Mon Apr 09, 2012 2:10 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Rails Error

Postby cpg » Mon Apr 09, 2012 3:10 am

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 12 guests