JDare / ClankBundle

A Symfony2 Bundle for use with Ratchet WebSocket Server
MIT License
131 stars 31 forks source link

RPC service and injected services #34

Closed z-aliakseyeu closed 9 years ago

z-aliakseyeu commented 9 years ago

Hello. Please, help with some issue. I have service for RPC calls with injected DoctrineRegistry and MongoDB Doctrine Registry (i think this is the reason, but not sure). So user calls to this service each 5 seconds. After ~ 1h working linux command top shows, that php loads almost all CPU. Can somebody explain what is the reason?

Thanks.