You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-commits@incubator.apache.org by sh...@apache.org on 2009/09/08 22:22:00 UTC

svn commit: r812713 - /incubator/olio/workload/php/trunk/deploy/run.xml

Author: sheetal
Date: Tue Sep  8 22:21:59 2009
New Revision: 812713

URL: http://svn.apache.org/viewvc?rev=812713&view=rev
Log:
OLIO#84 for php-driver, added tmpDir property in ApacheHttpdService

Modified:
    incubator/olio/workload/php/trunk/deploy/run.xml

Modified: incubator/olio/workload/php/trunk/deploy/run.xml
URL: http://svn.apache.org/viewvc/incubator/olio/workload/php/trunk/deploy/run.xml?rev=812713&r1=812712&r2=812713&view=diff
==============================================================================
--- incubator/olio/workload/php/trunk/deploy/run.xml (original)
+++ incubator/olio/workload/php/trunk/deploy/run.xml Tue Sep  8 22:21:59 2009
@@ -89,6 +89,7 @@
             <fh:config>
                 <cmdPath>/usr/apache2/2.2/bin/apachectl</cmdPath>
                 <logsDir>/var/apache2/2.2/logs</logsDir>
+                <tmpDir>/tmp</tmpDir>
              </fh:config>
         </fh:service>
     </webServer>



Re: svn commit: r812713 - /incubator/olio/workload/php/trunk/deploy/run.xml

Posted by Sheetal Patil <Sh...@Sun.COM>.
Shanti,

Yes, 'phpSessionDir' sounds more appropriate. Thanks, I will modify it.
The current code clears /tmp/sess* and /tmp/php*.

Regards,
Sheetal


On 09/09/09 08:28, Shanti Subramanyam - PAE wrote:
> Sheetal,
>  I assume you are using this property to find the php session files ? 
> If so, wouldn't it be more appropriate to name this "phpSessionDir' or 
> some such ?
> I haven't looked at the logic being used to clear these files - 
> earlier it was coded to remove everthing called /tmp/*sess* or 
> something similar. I suggest that this be changed to simply remove all 
> files recursively under this directory. The reason is that at greater 
> scales that we are now running, the session files are now stored in a 
> directory heirarchy so we need to do something like "rm -rf 
> $phpSessionDir/*"
>
> Shanti
>
> On 09/08/09 15:22, sheetal@apache.org wrote:
>> Author: sheetal
>> Date: Tue Sep  8 22:21:59 2009
>> New Revision: 812713
>>
>> URL: http://svn.apache.org/viewvc?rev=812713&view=rev
>> Log:
>> OLIO#84 for php-driver, added tmpDir property in ApacheHttpdService
>>
>> Modified:
>>     incubator/olio/workload/php/trunk/deploy/run.xml
>>
>> Modified: incubator/olio/workload/php/trunk/deploy/run.xml
>> URL: 
>> http://svn.apache.org/viewvc/incubator/olio/workload/php/trunk/deploy/run.xml?rev=812713&r1=812712&r2=812713&view=diff 
>>
>> ============================================================================== 
>>
>> --- incubator/olio/workload/php/trunk/deploy/run.xml (original)
>> +++ incubator/olio/workload/php/trunk/deploy/run.xml Tue Sep  8 
>> 22:21:59 2009
>> @@ -89,6 +89,7 @@
>>              <fh:config>
>>                  <cmdPath>/usr/apache2/2.2/bin/apachectl</cmdPath>
>>                  <logsDir>/var/apache2/2.2/logs</logsDir>
>> +                <tmpDir>/tmp</tmpDir>
>>               </fh:config>
>>          </fh:service>
>>      </webServer>
>>
>>


Re: svn commit: r812713 - /incubator/olio/workload/php/trunk/deploy/run.xml

Posted by Shanti Subramanyam - PAE <Sh...@Sun.COM>.
Sheetal,
  I assume you are using this property to find the php session files ? 
If so, wouldn't it be more appropriate to name this "phpSessionDir' or 
some such ?
I haven't looked at the logic being used to clear these files - earlier 
it was coded to remove everthing called /tmp/*sess* or something 
similar. I suggest that this be changed to simply remove all files 
recursively under this directory. The reason is that at greater scales 
that we are now running, the session files are now stored in a directory 
heirarchy so we need to do something like "rm -rf $phpSessionDir/*"

Shanti

On 09/08/09 15:22, sheetal@apache.org wrote:
> Author: sheetal
> Date: Tue Sep  8 22:21:59 2009
> New Revision: 812713
> 
> URL: http://svn.apache.org/viewvc?rev=812713&view=rev
> Log:
> OLIO#84 for php-driver, added tmpDir property in ApacheHttpdService
> 
> Modified:
>     incubator/olio/workload/php/trunk/deploy/run.xml
> 
> Modified: incubator/olio/workload/php/trunk/deploy/run.xml
> URL: http://svn.apache.org/viewvc/incubator/olio/workload/php/trunk/deploy/run.xml?rev=812713&r1=812712&r2=812713&view=diff
> ==============================================================================
> --- incubator/olio/workload/php/trunk/deploy/run.xml (original)
> +++ incubator/olio/workload/php/trunk/deploy/run.xml Tue Sep  8 22:21:59 2009
> @@ -89,6 +89,7 @@
>              <fh:config>
>                  <cmdPath>/usr/apache2/2.2/bin/apachectl</cmdPath>
>                  <logsDir>/var/apache2/2.2/logs</logsDir>
> +                <tmpDir>/tmp</tmpDir>
>               </fh:config>
>          </fh:service>
>      </webServer>
> 
>