[Bug 206853] [PATCH] www/tomcat6: use procstat instead of jps to check status of process

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 2 16:33:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206853

            Bug ID: 206853
           Summary: [PATCH] www/tomcat6: use procstat instead of jps to
                    check status of process
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale at FreeBSD.org
          Reporter: mizhka at gmail.com
          Assignee: ale at FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(ale at FreeBSD.org)

Created attachment 166442
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166442&action=edit
SVN diff file

Hi,

The patch changes only start/stop script. Now script tomcat6 uses jps to check
if process is running or not. But jps makes a lot of actions with running java
machines (at least perf attaching) and sometimes can fail if remote process is
busy. So it's better to use procstat because it doesn't touch running
processes. 

It works for me. Patch is very-very simple, so there is no impact on build
processes, that's why I'm not attaching testport & portlint outputs. Please let
me know it they are required.

Please review it!

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list