CLONE -Process.pid does not give the correct PID on 64bit linux ----------------------------------------------------------------
Key: JRUBY-2645 URL: http://jira.codehaus.org/browse/JRUBY-2645 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.1b1 Environment: Linux client11 2.6.20-gentoo-r8y #2 SMP PREEMPT Tue Jul 10 12:39:18 EEST 2007 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode) Reporter: McClain Looney Assignee: Thomas E Enebo Priority: Minor Fix For: JRuby 1.1RC2 I'd like to monitor a JRuby process, but for now I'll have to write a wrapper script -- it would be nice if JRuby could report the correct PID. $ ruby -e "STDOUT.puts Process.pid" 30950 $ which jruby /opt/jruby-1.1b1/bin/jruby $ jruby -e "STDOUT.puts Process.pid" 20471808 Both PIDs should be in the same 30xxx range. There was another PID issue marked fixed a month ago, but I just downloaded the latest beta: 1.1b1 and this still seems to be unresolved. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email