php-general Digest 3 Nov 2011 20:22:41 -0000 Issue 7551

Topics (messages 315583 through 315584):

Google Search Appliance and PHP
        315583 by: Gates, Jeff

session_start(), memcache taking too much resources
        315584 by: "Ing. Branislav Geržo"

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
I am a newbie in PHP.

I need to create a search using Google's Search Appliance for a site I'm 
designing but don't have the slightest idea on how to do it. Because I want to 
incorporate the site's design into the search results page I can't use the 
GSA's simple page layout wizard.

Here's what I need to be able to learn how to do:


 1.  Create a search form and send it to our GSA (this is pretty easy).
 2.  Create a processing page to parse the XML
 3.  Create a results page using the header and footer of my site.

Can anyone help me with simple explanation on how to do steps 2 and 3?

Thanks,

Jeff

--- End Message ---
--- Begin Message ---
Hi,

I am running high loaded website and I did some profiling, because
webservers got high load. PHP Version 5.3.8, running FreeBSD 8.2-STABLE,
on lighttpd 1.4.29, running php-fpm on 3 servers

xdebug is showing, that calling line "session_start()" is taking too
much time, which I am really surprised. So I think, something is wrong
with session handler. Please check screenshot:

http://oi42.tinypic.com/24czlu8.jpg

session.save_handler    memcache        
session.save_path
tcp://web1:11211?persistent=1&weight=1timeout=2&retry_interval=5,
tcp://web2:11211?persistent=1&weight=1&timeout=2&retry_interval=5

I am using pecl memcache 3.0.6

Please advice.

Thanks guys.



--- End Message ---

Reply via email to