Comments (5)
example:
admin@TjHolowaychuk:$ sudo /etc/init.d/thin stop$ 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:
[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.
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.
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.
$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]
from thin.
can you try w/ latest version (1.2.6) plz
from thin.
Related Issues (20)
- Cannot start as a service
- Can't start Thin Server using Ruby 2.6 HOT 1
- Unable to install thin gem on macOS 11.0 Big Sur beta HOT 12
- Flaky specs HOT 1
- Fix mac install errors or document in readme HOT 2
- Running thin behind a pipe doesn't show messages HOT 4
- Building native extensions fails HOT 4
- Homepage in gemspec is not accessible HOT 2
- Include rack handler test HOT 1
- When the version 1.8.0 or 2.0.0 is released? HOT 8
- rspec doesn't run after cloning the repository HOT 1
- Not working on Debian / Linux Mint - eventmachine error HOT 1
- Multiple SSL certificates HOT 3
- 0712d603a31d97b9fa8a0260da400da2e4217d60
- Issue
- Support rack 3.0.0 HOT 1
- Support Mac M1 HOT 3
- Consider new release for ruby 3.2 support HOT 5
- Uninitialized constant Thin::Server::Fixnum (NameError) with ruby-3.2.2 HOT 2
- Improper handling of requests containing both `Content-Length` and `Transfer-Encoding` headers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thin.