I'm running 5.2.0h CE, and I've noticed that when one of my users logs in and has the homepage loaded this takes about 20% of my CPU.
Is this right?
If 5 users are logged in, almost 100% of my CPU is used.
Admittedly, the server i am running on has only a 2Ghz single core CPU, but this seems high to me for a php app.
The CPU load goes down if the user is sitting on a different page; the email page for example only seems to use about 7% of my CPU (per user).
I'd think that the CPU usage would spike when there is activity, but when the page is just sitting there and the user is not doing anything, it would go down to near 0? Is something polling at a high rate? Is this how all Ajax apps work? Can't it use an interrupt or something?
I'm concerned because I am running asterisk on the same box, and I don't want to see voice quality degradation. I've reconfigured asterisk with the high-priority option and even with all the voice channels active (5), asterisk uses only about 0.5% of the CPU. Load testing with all users logged into the home page (100% CPU usage), and all the voice channels active in asterisk doesn't show any excessive echo, latency or voice quality degradation, but I am still worried that something is not right here.
Can anyone else give me some insight into what is going on here and if its normal?
I can move asterisk to another server if necessary, but I'd rather not.
Thank you


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks