Name of thin process
Reported by DAddYE | February 2nd, 2008 @ 08:05 AM | in 0.6.3
Is possible call the thin process "thin" and not "ruby" ? So I can manage my process in a better way.
There is an example of top in my prod evn:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4991 root 20 0 82884 59m 3416 S 0 6.2 1:56.17 mongrel_rails
5006 root 20 0 72796 53m 2368 S 0 5.7 0:57.04 mongrel_rails
28234 root 20 0 54032 42m 5252 S 0 4.4 0:16.26 ruby (is thin)
5031 root 20 0 65372 42m 3380 S 0 4.4 0:38.45 mongrel_rails
28232 root 20 0 52248 39m 4156 S 0 4.2 0:14.90 ruby (is thin)
5130 root 20 0 61232 37m 3224 S 0 4.0 0:13.69 mongrel_rails
5037 root 20 0 59736 36m 3868 S 0 3.9 0:44.42 mongrel_rails
So I can make difference from thin a ruby process
Thanks!
Comments and changes to this ticket
-
macournoyer February 2nd, 2008 @ 02:05 PM
- Milestone set to 0.6.3
- State changed from new to resolved
Fixed on git.
Process name is now: thin server (0.0.0.0:3000)
thx for the suggestion!
-
macournoyer February 4th, 2008 @ 05:46 PM
- State changed from resolved to open
name still appear as ruby on top command
-
macournoyer February 5th, 2008 @ 12:39 AM
- State changed from open to resolved
Seems like name of process in top is ruby for mongrel and thin:
mongrel_rails start
On top:
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE 1461 ruby 0.0% 0:01.04 1 14 107 20M 188K 21M 38M
but works for both w/ 'ps'.
I'm closing since it's the same behaviour as mongrel.
-
macournoyer February 5th, 2008 @ 10:48 AM
yeah same for both w/ the -d option
Are you sure you see mongrel_rails as the process name w/ the top command?
What OS are you on?
-
Kevin Williams February 19th, 2008 @ 02:24 PM
I would MUCH rather see output like this: http://www.igvita.com/2008/02/19....
Perhaps we should make this a config option somehow?
-
macournoyer February 20th, 2008 @ 12:10 AM
yay that's an awesome idea Kevin.
Should be possible even w/ an adapter.
-
Zhe Sto February 20th, 2008 @ 11:04 PM
Maybe related to this thread - can the following be done for thin (to have
[port or socket/number of requests currently queued/being processed concurrently/number of requests processed during the server's lifetime] indicator)
like:
thin server [/tmp/app.1.sock|2|222]: handling 127.0.0.1: HEAD /feed/calendar/global/91/6de4
-
macournoyer March 21st, 2008 @ 09:53 PM
proctitle for thin has been implemented by grempe in a rack middleware: http://github.com/grempe/thin-pr...
-
John December 7th, 2024 @ 02:34 PM
- Tag set to daemon
Valójában, az emberek a világon imádnak online kaszinózni. Az egyetlen kaszinó, amit ajánlani tudok, a mr bet belépés casino, mert az emberek megbíznak benne. Nem tudtam elhinni, hogy szórakozással pénzt lehet keresni.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป