<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>83065</bug_id>
          
          <creation_ts>2012-04-03 14:01:22 -0700</creation_ts>
          <short_desc>kill-old-processes should kill apache2 and httpd</short_desc>
          <delta_ts>2012-04-04 12:52:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>ap</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>lforschler</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>594864</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-04-03 14:01:22 -0700</bug_when>
    <thetext>kill-old-processes should kill apache2 and httpd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594865</commentid>
    <comment_count>1</comment_count>
      <attachid>135421</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-04-03 14:02:39 -0700</bug_when>
    <thetext>Created attachment 135421
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594867</commentid>
    <comment_count>2</comment_count>
      <attachid>135421</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-04-03 14:07:14 -0700</bug_when>
    <thetext>Comment on attachment 135421
Patch

seems OK.  Also seems like a hard way to bring down httpd, etc.  Also this would suck if you&apos;re tryign to run a http server on the same machine as a buildbot. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>595286</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-04-04 00:27:21 -0700</bug_when>
    <thetext>Committed in http://trac.webkit.org/changeset/113114.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>595815</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-04 12:47:33 -0700</bug_when>
    <thetext>Does this mean that a machine with buildbots cannot have web sharing enabled?

What is apache2 and why does it need to be killed? 

This script is quite weird. In addition to &quot;WebKitPluginAgen&quot; without &quot;t&quot;, there are mystery processes &quot;Safari Web Content&quot;, &quot;TestWebKitAPI Web Content&quot;, &quot;WebKitTestRunner Web Content&quot;, which I don&apos;t think exist anywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>595817</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-04 12:48:57 -0700</bug_when>
    <thetext>&quot;per5.12&quot; and &quot;Problem Reporter&quot; are another mystery processes. What&apos;s going on here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>595821</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-04-04 12:52:57 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Does this mean that a machine with buildbots cannot have web sharing enabled?
&gt; 

I believe with web sharing, httpd runs as root, so it wouldn&apos;t be killed and should be fine.

&gt; What is apache2 and why does it need to be killed? 

apache2 is what most linux distros call httpd (httpd is reserved for apache 1.x), and what new-run-webkit-tests normally uses for the web server. The patch probably only needed httpd on the mac, since it doesn&apos;t ship w/ an apache2.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>135421</attachid>
            <date>2012-04-03 14:02:39 -0700</date>
            <delta_ts>2012-04-03 14:07:14 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-83065-20120403140238.patch</filename>
            <type>text/plain</type>
            <size>1438</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDExMzA4NikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE0IEBACisyMDEyLTA0LTAzICBSeW9zdWtlIE5pd2EgIDxybml3YUB3ZWJraXQub3JnPgor
CisgICAgICAgIGtpbGwtb2xkLXByb2Nlc3NlcyBzaG91bGQga2lsbCBhcGFjaGUyIGFuZCBodHRw
ZAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9ODMwNjUK
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBLaWxsIGFw
YWNoZTIgYW5kIGh0dHBkIG9uIE1hYyBhbmQgTGludXggKFdpbmRvd3MgdXNlcyBsaWdodHRwZCkg
dG8gZnJlZSB1cCBwb3J0IDgwMDAuCisKKyAgICAgICAgKiBCdWlsZFNsYXZlU3VwcG9ydC9raWxs
LW9sZC1wcm9jZXNzZXM6CisKIDIwMTItMDQtMDMgIE9qYW4gVmFmYWkgIDxvamFuQGNocm9taXVt
Lm9yZz4KIAogICAgICAgICBHaXZlIG1vcmUgaHVtYW4gZnJpZW5kbHkgZXJyb3IgbWVzc2FnZSB3
aGVuIGJ1aWxkZXJzIGZhaWwgdG8gbG9hZCBvciBoYXZlIHN0YWxlIGRhdGEuCkluZGV4OiBUb29s
cy9CdWlsZFNsYXZlU3VwcG9ydC9raWxsLW9sZC1wcm9jZXNzZXMKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gVG9v
bHMvQnVpbGRTbGF2ZVN1cHBvcnQva2lsbC1vbGQtcHJvY2Vzc2VzCShyZXZpc2lvbiAxMTMwODIp
CisrKyBUb29scy9CdWlsZFNsYXZlU3VwcG9ydC9raWxsLW9sZC1wcm9jZXNzZXMJKHdvcmtpbmcg
Y29weSkKQEAgLTU1LDExICs1NSwxMyBAQCBkZWYgbWFpbigpOg0KICAgICBdDQogDQogICAgIHRh
c2tzVG9LaWxsTWFjID0gWw0KKyAgICAgICAgImFwYWNoZTIiLA0KICAgICAgICAgImNjMXBsdXMi
LA0KICAgICAgICAgImNjMW9ianBsdXMiLA0KICAgICAgICAgImNsYW5nIiwNCiAgICAgICAgICJj
bGFuZysrIiwNCiAgICAgICAgICJnY2MtNC4yIiwNCisgICAgICAgICJodHRwZCIsDQogICAgICAg
ICAiaTY4Ni1hcHBsZS1kYXJ3aW4xMC1nY2MtNC4yLjEiLA0KICAgICAgICAgImpzYyIsDQogICAg
ICAgICAibWFrZSIsDQpAQCAtODIsOSArODQsMTEgQEAgZGVmIG1haW4oKToNCiAgICAgXQ0KIA0K
ICAgICB0YXNrVG9LaWxsVW5peCA9IFsNCisgICAgICAgICJhcGFjaGUyIiwNCiAgICAgICAgICJj
YzFwbHVzIiwNCiAgICAgICAgICJEdW1wUmVuZGVyVHJlZSIsDQogICAgICAgICAiZ29sZCIsDQor
ICAgICAgICAiaHR0cGQiLA0KICAgICAgICAgImxkIiwNCiAgICAgICAgICJtYWtlIiwNCiAgICAg
ICAgICJydWJ5IiwNCg==
</data>
<flag name="review"
          id="139923"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>