Starman problemby Logicus
|on Feb 12, 2012 at 20:42 UTC||Need Help??|
Logicus has asked for the
wisdom of the Perl Monks concerning the following question:
Is anyone familiar with the internals of Starman?
I seem to be having this annoying little intermittent problem which crops up from time to time.
Basically for no apparent reason, with no discernible specific frequency or timing, I get a small spike up to about 20% CPU utilisation, which then drops off again. Then sometimes the server will slow to a crawl requiring that I restart plack, whereupon it works perfectly again for an undefined length of time before repeating the same glitch.
At all times when it's running correctly it seems to be working fantastically fast and responsive and never drops a page or renders wrongly and remains working fine for hundreds and hundreds of hits before this glitch comes up again.
I've tried searching google for starman bugs but it appears no one else is having any problems with it so I'm wondering what my code is doing wrong to cause the problem in starman.
Any hints what I should look for would be appreciated, any one trolling me like before might well get trolled right back... depends if I can be bothered or not.
P.s, after the last time this problem occurred about 2 hours ago, I restarted plack as usual, the sites are working fine and fast, but my CPU usage chart is showing it's jammed at 18% utilisation +/- 0.5%, when normally it runs between 0.5% and 2% depending how many users are online on my site concurrently.