Symfony2: intermittent high response time / slow completion SessionHandlerProxy :: read ()

I see very strange behavior emanating from the Symfony2 Session Manager component. In particular, the SessionHandlerProxy :: read () function in my production environment is sometimes very slow.

Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::read

I use Apache2 on Amazon EC2 running Ubuntu with the default Symfony2 session repository (not Redis, or something similar), although I'm wondering if I should be. I have NewRelic installed to track my transactions that report the following:

Slow response time

Slow responses are intermittent, and I did not notice any noticeable correlation between requests / min and slow session read time. I'm at a standstill, any ideas what I can try?

+4
1

- . , redis ( PHP, ).

, SessionHandlerProxy:: read() , .

- , php. , , , . , google fu skills, $session- > save(), , intern session_write_close() ( ).

, !

Symfony API : ()

( 5 ).

+1

All Articles