Have you tried breaking down your code into subroutines and testing each one? Also, do you need to use speedycgi? If you divide up what you're trying to do and troubleshoot each part, it makes it easier (less to deal with, i.e. if you use variables local to the subroutines) and you won't be hogging as much CPU in doing so. If you could, please let us know a bit more about what you're trying to do.
| [reply] |
Hi bowei,
I tried creating a singleton database handle and I must be doing something wrong. The Application was hanging and the Speedy_backend instance created at this time was running for hours. I removed my attempt at singleton object and added fctnl mentioned in the Speedy docs and everything is fine.
Thanks for your suggestion. It helped me approach the issue properly.
Thanks
Prakash
| [reply] |