RE: Frequent crashes in multithreaded webserver sincenew WSDLcaching code in ext/soap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# rm -rf /tmp/wsdl-*
 
Dmitry.

-----Original Message-----
From: Bill.McCuistion@QBOpen.com [mailto:Bill.McCuistion@QBOpen.com] 
Sent: Tuesday, April 18, 2006 11:08 PM
To: Dmitry Stogov
Cc: 'Adam Maccabee Trachtenberg'; 'Andrei Zmievski'; soap@lists.php.net;
'Uwe Schindler'
Subject: RE:  Frequent crashes in multithreaded webserver sincenew
WSDLcaching code in ext/soap



Hi Dmitry, George, et al. 

Yes, I'm aware of the ini setting for wsdl_cache_enabled.  I generally have
to disable it for development and hence leave it disabled for production for
fear of breaking something in the transition.  Not the ideal situation. 

I was hoping for a function or method along the lines of
"SoapFlushCacheWSDL() " 

The objective would be to not have to restart the Apache server to reset the
soap cache. 

Depending upon the outcome of the "where does the cache live" discussion,
you might need to adapt the function to the variations of the PHP5 soap
environment. 

Sincerely,

Bill.McCuistion@QBOpen.com
http://QBOpen.com ... Products, Services & Solutions for Businesses large &
small
Tel: 281-842-1426 // Cell: 832-217-0771 // AIM: QBOpen
~~~~~~~~~ (\_~~ (\_~~ (\_~~~~~~~~~~~~~ (\_~~ (\_~~ (\_~~~~~~~~ 



"Dmitry Stogov" <dmitry@zend.com> 


04/18/2006 02:57 PM 


To
<Bill.McCuistion@QBOpen.com>, "'Adam Maccabee Trachtenberg'"
<adam@trachtenberg.com> 

cc
"'Andrei Zmievski'" <andrei@gravitonic.com>, <soap@lists.php.net>, "'Uwe
Schindler'" <thetaphi@php.net> 

Subject
RE:  Frequent crashes in multithreaded webserver sincenew
WSDLcaching code in ext/soap

	




In 5.1.2 and below you can disable disk cache usage for current PHP script 
  
<?php 
ini_set("soap.wsdl_cache_enabled", 0); 
$ws = new SoapClient($wsdl); 
... 
?> 
  
Dmitry. 
-----Original Message-----
From: Bill.McCuistion@QBOpen.com [mailto:Bill.McCuistion@QBOpen.com] 
Sent: Tuesday, April 18, 2006 10:22 PM
To: Adam Maccabee Trachtenberg
Cc: Andrei Zmievski; Dmitry Stogov; soap@lists.php.net; Uwe Schindler
Subject: RE:  Frequent crashes in multithreaded webserver sincenew
WSDLcaching code in ext/soap


Hi Guys, 

While you all are talking about the wsdl cache, I'd like to see a PHP 5 SOAP
function that would allow me to "flush" the wsdl cache. 

This would allow me to use the same cache setting for production and
testing, and largely avoid the issues with a stale wsdl cache. 

Some of my PHP5 Soap Webservices generate their wsdl's dynamically based
upon the class definitions, and so it would be niche to have the class be
able to cause the wsdl cache flushed if it thought it would be needed. 

I don't know if it would be possible, but there might be some flag that
allowed it flush only a particular wsdl, or the whole cache, or maybe some
wsdl-domain.   

I'd be happy with a way to flush at least the whole cache and wait for the
scope'd flush later. 

Sincerely,

Bill.McCuistion@QBOpen.com
http://QBOpen.com ... Products, Services & Solutions for Businesses large &
small
Tel: 281-842-1426 // Cell: 832-217-0771 // AIM: QBOpen
~~~~~~~~~ (\_~~ (\_~~ (\_~~~~~~~~~~~~~ (\_~~ (\_~~ (\_~~~~~~~~ 


Adam Maccabee Trachtenberg <adam@trachtenberg.com> 


04/18/2006 02:20 PM 




To
Uwe Schindler <thetaphi@php.net> 

cc
Dmitry Stogov <dmitry@zend.com>, Andrei Zmievski <andrei@gravitonic.com>,
soap@lists.php.net 

Subject
RE:  Frequent crashes in multithreaded webserver sincenew
WSDLcaching code in ext/soap


	





On Tue, 18 Apr 2006, Uwe Schindler wrote:

> At 21:11 18.04.2006, Dmitry Stogov wrote:
> >Do you think the same directive for disk and memory cache TTL is ok?
> >Or we need two ones?
> >It is imortent only when both caches will be enabled together.
>
> I think its OK.

I agree. One TTL is good enough.

-adam

-- 
adam@trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux