Skip to content

Puma crashes with no output when stdout_redirect is set #359

@natew

Description

@natew

Using rails 4, rubinius at master (372b2d2) and puma 2.5.0.

Current config:

#!/usr/bin/env puma

basedir = '/var/www/2u/web/current'

directory "#{basedir}"
environment 'production'
daemonize true

bind "unix://#{basedir}/tmp/puma/puma.sock"
pidfile "#{basedir}/tmp/puma/pid"
state_path "#{basedir}/tmp/puma/state"

# stdout_redirect "#{basedir}/tmp/log/out.puma.log", "#{basedir}/tmp/log/err.puma.log", true

threads 4, 24
#workers 1
preload_app!

When i uncomment the stdout_redirect it will write to out.puma.log:

=== puma startup: 2013-08-27 16:09:15 +0000 ===

But it crashes after what seems like the full bootup, with nothing going into err.puma.log.

Edit: looks like working now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions