Scalr Install issue

26 views
Skip to first unread message

SARANYA

unread,
Jan 31, 2017, 1:57:33 PM1/31/17
to scalr-discuss
When I ran this  /opt/scalr-server/bin/scalr-server-ctl reconfigure

1) It ended up with the below error
Running handlers:
[2017-01-30T13:27:45-05:00] ERROR: Running exception handlers
  - Raven::Chef::SentryHandler
Running handlers complete
[2017-01-30T13:27:49-05:00] ERROR: Exception handlers complete
[2017-01-30T13:27:49-05:00] FATAL: Stacktrace dumped to /opt/scalr-server/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 55 resources updated in 17.636795179 seconds
[2017-01-30T13:27:49-05:00] ERROR: supervisor_service[service-poller] (scalr-server::group_service_always_post line 5) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
[2017-01-30T13:27:50-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)


2) Even though it started up some of scalr process

3) Also, am not able to connect to it using http://ipofyourserver/ after the install. Ensured from n/w team that port 80 is enabled to allow traffic. How can I troubleshoot?



Marc O'Brien

unread,
Jan 31, 2017, 2:28:00 PM1/31/17
to scalr-discuss
Hi Saranya,

This is the relevant error: Errno::ENOMEM: Cannot allocate memory

You will likely need to increase the RAM available on this instance.  Excerpt from our Suggested Hardware Specification documentation:

4gb ram is our minimum requirement for a small Scalr install.  2x m3.medium (one app one DB) for a larger deployment (1000 instances) or 1x m3.medium for a smaller deployment (50 instances) should be sufficient.  Please note, you will want to use m3 vs t2 instances as burstable t2 type instances can lead to poor performance if you have long running workloads.

Let us know if this does not resolve the error behavior.  By the way, welcome to the Scalr Open Source community! We're excited to have you join us.  Please feel free to post any issues or questions you have moving forward and we will do our best to lend a hand.

Many thanks,
Wm. Marc O'Brien
Scalr Technical Support
Reply all
Reply to author
Forward
0 new messages