<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=User%3AWoozle%2FMastodon%2Fsetup%2Ftake_3%2Fpaste-7</id>
	<title>User:Woozle/Mastodon/setup/take 3/paste-7 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=User%3AWoozle%2FMastodon%2Fsetup%2Ftake_3%2Fpaste-7"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=User:Woozle/Mastodon/setup/take_3/paste-7&amp;action=history"/>
	<updated>2026-10-17T02:52:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=User:Woozle/Mastodon/setup/take_3/paste-7&amp;diff=23596&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;: &lt;code&gt;icmstdn@cloud4:~/apps/mastodon$ export RAILS_ENV=production&lt;/code&gt; : &lt;code&gt;icmstdn@cloud4:~/apps/mastodon$ ~/.rbenv/shims/bundle exec puma -C config/puma.rb&lt;/code&gt; &lt;pr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=User:Woozle/Mastodon/setup/take_3/paste-7&amp;diff=23596&amp;oldid=prev"/>
		<updated>2018-01-09T15:57:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;: &amp;lt;code&amp;gt;icmstdn@cloud4:~/apps/mastodon$ export RAILS_ENV=production&amp;lt;/code&amp;gt; : &amp;lt;code&amp;gt;icmstdn@cloud4:~/apps/mastodon$ ~/.rbenv/shims/bundle exec puma -C config/puma.rb&amp;lt;/code&amp;gt; &amp;lt;pr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;: &amp;lt;code&amp;gt;icmstdn@cloud4:~/apps/mastodon$ export RAILS_ENV=production&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;icmstdn@cloud4:~/apps/mastodon$ ~/.rbenv/shims/bundle exec puma -C config/puma.rb&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[5421] Puma starting in cluster mode...&lt;br /&gt;
[5421] * Version 3.11.0 (ruby 2.4.2-p198), codename: Love Song&lt;br /&gt;
[5421] * Min threads: 5, max threads: 5&lt;br /&gt;
[5421] * Environment: production&lt;br /&gt;
[5421] * Process workers: 2&lt;br /&gt;
[5421] * Preloading application&lt;br /&gt;
Creating scope :cache_ids. Overwriting existing method Notification.cache_ids.&lt;br /&gt;
[5421] * Listening on tcp://0.0.0.0:3000&lt;br /&gt;
[5421] Use Ctrl-C to stop&lt;br /&gt;
bundler: failed to load command: puma (/home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma)&lt;br /&gt;
Errno::ENOMEM: Cannot allocate memory - fork(2)&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cluster.rb:126:in `fork&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cluster.rb:126:in `block in spawn_workers&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cluster.rb:122:in `times&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cluster.rb:122:in `spawn_workers&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cluster.rb:453:in `run&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/launcher.rb:183:in `run&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cli.rb:77:in `run&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/bin/puma:10:in `&amp;lt;top (required)&amp;gt;&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma:23:in `load&amp;#039;&lt;br /&gt;
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma:23:in `&amp;lt;top (required)&amp;gt;&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now... is this &amp;#039;&amp;#039;really&amp;#039;&amp;#039; a memory error?&lt;br /&gt;
&lt;br /&gt;
Note that this does seem to correctly change the listening port (see [https://stackoverflow.com/questions/1478747/why-does-ruby-on-rails-use-http-0-0-0-03000-instead-of-http-localhost3000 this] for why this might be a good idea):&lt;br /&gt;
:&amp;lt;code&amp;gt;icmstdn@cloud4:~/apps/mastodon$ ~/.rbenv/shims/bundle exec puma -C config/puma.rb -b tcp://localhost&amp;lt;/code&amp;gt;&lt;br /&gt;
...but I get that same ENOMEM error.&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>