Giter Site home page Giter Site logo

Comments (5)

tj avatar tj commented on May 17, 2024

example:

admin@TjHolowaychuk:$ sudo /etc/init.d/thin stop
[sudo] password for admin:
[stop] /etc/thin/app.yml ...
Stopping server on 0.0.0.0:3000 ...
^C^[[A^C
admin@TjHolowaychuk:
$ sudo /etc/init.d/thin stop
[stop] /etc/thin/app.yml ...
Stopping server on 0.0.0.0:3000 ...
Can't stop process, no PID found in /home/admin/www/pids/thin.3000.pid
Stopping server on 0.0.0.0:3001 ...
^C
admin@TjHolowaychuk:~$ sudo /etc/init.d/thin stop
[stop] /etc/thin/app.yml ...
Stopping server on 0.0.0.0:3000 ...
Can't stop process, no PID found in /home/admin/www/pids/thin.3000.pid
Stopping server on 0.0.0.0:3001 ...
Can't stop process, no PID found in /home/admin/www/pids/thin.3001.pid

from thin.

macournoyer avatar macournoyer commented on May 17, 2024

Maybe the path to your PID file is wrong? Is your app in /home/admin/www ? Can you paste your app.yml file plz.
Also are you on 1.9, I know there are some issues w/ signals on 1.9: http://thin.lighthouseapp.com/projects/7212/tickets/123-thin-does-not-obey-quit-term-signal-under-ruby-19

from thin.

tj avatar tj commented on May 17, 2024

Hmm yeah that is where the app is, and here is the yml

$ sudo cat /etc/thin/app.yml

[sudo] password for admin:

pid: /home/admin/www/pids/thin.pid
wait: 30
log: /home/admin/www/logs/thin.log
rackup: /home/admin/www/config.ru
timeout: 350
max_conns: 1024
port: 3000
max_persistent_conns: 512
chdir: /home/admin/www
environment: production
address: 0.0.0.0
servers: 2
daemonize: true
require: []

from thin.

tj avatar tj commented on May 17, 2024

$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]

from thin.

macournoyer avatar macournoyer commented on May 17, 2024

can you try w/ latest version (1.2.6) plz

from thin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.